[cle-release-team] Maven inconsistencies

Steve Swinsburg steve.swinsburg at gmail.com
Tue Apr 30 14:32:24 PDT 2013


That sitestats tag was done via Jenkins so I'm not sure what's up with that either. 

Sent from my iPhone

On 01/05/2013, at 4:55, Matthew Jones <matthew at longsight.com> wrote:

> Everything is released by the maven release plugin. It only updates the versions of poms that maven processes.
> 
> maven release:prepare, maven:release:preform.
> 
> Many of these inconsistencies noticed are because the modules aren't actually part of any pom base pom or are included via alternate profiles. I don't know why, but in the most case it's because they're not actually required for tool operation. They most likely either are there as some example or need to be cleaned up.
> 
> - That would include everything that's in those ddl directories for sitestats, shortenedurl, lessonbuilder, common. Those are just examples on how to extract the DDL from hibernate.
> - The cm-authz-synchronizer is example code
> - entitybroker deployer isn't called by the parent pom, it should just be deleted
> - Search test 1.5 isn't updated because the poms have it building with the 1.6 directory. We probably should remove the 1.5 stuff
> - scheduler-configurable-job-test-component-shared (or the other job scheduler) isn't called, I don't know what this does
> - portlet-tool was removed from the master pom as well (commented) just never removed from the svn
> 
>         <!-- Mercury portal retired as of 2.8, see http://jira.sakaiproject.org/browse/SAK-19001 -->
>         <!-- <module>portal-mercury/mercury</module> --> 
>         <!-- <module>portal-portlet-tool/tool</module> -->
> 
> - Steve Swinsburg made the sitestats 2.3.4 tag, so I don't know what's with that subdirectory. 
> - I don't update any local properties in tools (like lessonbuilder) so yea those should probably all be removed or a profile added for the release process to use.
> 
> So really, you could file a jira and svn rm most of this stuff from subversion. I'd leave the ddl directories and cm-authz-synchronizer. Probably also the extra stuff in scheduler. 
> 
> The only real problem I see is with Lessons possibly including the wrong versions during deployment. 
> 
> 
> 
> On Tue, Apr 30, 2013 at 2:25 PM, Beth Kirschner <bkirschn at umich.edu> wrote:
>> Hi release team,
>> 
>> One of our pioneering developers (Kent Fitzgerald, who generates our internal builds), did an audit of our Sakai 2.9.1 code base and found several inconsistencies in the maven pom.xml files. I can create a set of JIRAs, but thought I'd first raise these for discussion first. I'm not sure if there's a script that updates some of these when we migrate to a new release or if this is done manually?
>> 
>> - Beth
>> 
>> 
>> * Common        - The module version in common/pom.xml is 1.2.1. But in common/ddl/pom.xml all references to org.sakaiproject.common are specified with a version 1.2-SNAPSHOT.
>> 
>> * edu-services/cm-service/cm-authz-synchronizer/pom.xml:7:        <version>2.7.0-SNAPSHOT</version>
>>   This file has a parent version of 2.7.0-SNAPSHOT, but the module version is 1.2.1.
>> 
>> * edu-services/cm-service/cm-impl/integration-test/pom.xml:7:        <version>1.0-SNAPSHOT</version>
>>   This file has a parent version of 1.0-SNAPSHOT, but the module version is 1.2.1.
>> 
>> * entitybroker/deployer/pom.xml:20:        <version>1.5-SNAPSHOT</version>
>>   This file has a parent version of 1.5-SNAPSHOT but the module version is 1.5.1
>> 
>> * jobscheduler/scheduler-configurable-job-test-component/pom.xml:9:        <version>2.9-SNAPSHOT</version>
>>   Version of module is 2.9.1 but the files reference a snapshot.
>> 
>> * jobscheduler/scheduler-configurable-job-test-component-shared/pom.xml:9:        <version>2.9-SNAPSHOT</version>
>>   Version of module is 2.9.1 but the files reference a snapshot.
>> 
>> * Lessonbuilder - main pom.xml has commented out versions which perhap should probably be removed (lines 38-41)
>> 
>> * lessonbuilder/hbm/src/ddl/pom.xml:13:        <version>1.4.1-SNAPSHOT</version>
>>   Parent version references 1.4.1-SNAPSHOT, but module is defined as 1.4.1
>> 
>> * lessonbuilder/pom.xml:71:         <sakai.basiclti.version>2.0-SNAPSHOT</sakai.basiclti.version>
>>   Should this line be removed (or commented out) and just pull the current version from master/pom.xml?
>> 
>> * lessonbuilder/tool/src/ddl.hold/pom.xml:8:        <version>1.3-SNAPSHOT</version>
>>   parent version of this pom is set as 1.3-SNAPSHOT, but the version of the module is 1.4.1
>> 
>> * portal/portal-portlet-tool/tool/pom.xml:10:        <version>2.9-SNAPSHOT</version>
>> 
>> * search/search-test/test-1.5/pom.xml:7:    <version>1.3.0-SNAPSHOT</version>
>>   parent version is set to 1.3.0-SNAPSHOT but the module version is 1.4.1
>> 
>> * shortenedurl/ddl/pom.xml:15: <version>1.1-SNAPSHOT</version>
>>   Tag is versioned as 1.1.1 but this file refers to parent 1.1-SNAPSHOT
>> 
>> * sitestats (2.3.4) -- https://source.sakaiproject.org/svn/sitestats/tags/sitestats-2.3.4/sitestats-2.3.x/
>>   This looks like a mistake with the 2.3.4 tag of sitestats (notice sitestats-2.3.x sub-directory)?
>> 
>> * sitestats/sitestats-impl-hib/src/ddl/pom.xml:17:    <version>2.2-SNAPSHOT</version><!-- sitestats.version -->
>>   Module version is 2.3.4 but these poms have a parent version of 2.2-SNAPSHOT specified
>> 
>> 
>> _______________________________________________
>> cle-release-team mailing list
>> cle-release-team at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
> 
> _______________________________________________
> cle-release-team mailing list
> cle-release-team at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/cle-release-team/attachments/20130501/2a320f05/attachment-0006.html 


More information about the cle-release-team mailing list