Update UMich build to run with maven 3

Description

We need to verify that Maven 3 works with all core and contrib tools in the UM 2.9 build, and migrate build scripts and build server to use Maven 3.

Environment

None

Test Plan

None

Attachments

9

Activity

Kent Fitzgerald January 30, 2013 at 3:56 AM

Updated all poms to support compilation and deploy in mvn 3.0.4

Kent Fitzgerald January 10, 2013 at 6:17 AM

Ambrosia (new branch):
https://source.sakaiproject.org/contrib//umich/etudes/ambrosia/branches/2.1.8
Committed revision 82404.

Providers (same branch):
https://source.sakaiproject.org/svn/msub/umich.edu/ctools/ctools-providers/branches/2.9.x-from-2.7.x
Committed revision 118208.

CTools-reference (same branch):
https://source.sakaiproject.org/svn/msub/umich.edu/ctools/ctools-reference/branches/2.9.x
Committed revision 118209.

etudes-util (same branch):
https://source.sakaiproject.org/contrib//umich/PATCHED/etudes-util/branches/CTools-2.9.0/
Committed revision 82405.

itunes-u (commit to trunk, merge to 1.0.x branch):
https://source.sakaiproject.org/contrib/itunesu/trunk/itunesu-tool/
Committed revision 82408.
https://source.sakaiproject.org/contrib/itunesu/branches/1.0.x/itunesu-tool/
Committed revision 82406.

mycourses (same branch):
https://source.sakaiproject.org/svn/msub/umich.edu/ctools/mycourses/branches/2.9.x
Committed revision 118210.

sakai-jsp-adapter:
(waiting for possible new tag from Aaron Z)

taskstatus (commit to trunk, create new 0.2.5 tag)
https://source.sakaiproject.org/svn/msub/umich.edu/ctools/taskstatus/trunk/
Committed revision 118214.
https://source.sakaiproject.org/svn/msub/umich.edu/ctools/taskstatus/tags/0.2.5
Committed revision 118212.

test-center (same branch):
https://source.sakaiproject.org/contrib/umich/PATCHED/test-center/branches/CTools-2.9.0
Committed revision 82407.

Kent Fitzgerald January 3, 2013 at 5:11 AM

In addition, sakai-jsp-adaptor required pom changes in order to deploy successfully, despite it's successful compilation. Diffs required for successful compilation and deployment for all modules will be attached here today.

Kent Fitzgerald January 2, 2013 at 5:40 AM

The errors below are seen when building with maven 3.0.4. Initial investigation with the taskstatus module seems to indicate that maven 3.0.4 does not handle scenarios where relativePath points to a parent pom at an intermediate level, rather than the top level pom of the module itself.

i.e. /taskstatus/tss-client/impl/pom.xml has relativePath of ../pom.xml. A pom.xml file does exist at that relative path, but it is not the parent pom of the entire module. That exists at ../../pom.xml. If that change is made, the module compiles.

[ERROR] The project edu.umich.ctools:ctools-providers-impl:2.9.0 (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/ctools-providers/component/impl/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find edu.umich.ctools:ctools-providers-base:pom:2.9.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 13 -> [Help 2]
[ERROR]
[ERROR] The project edu.umich.ctools:ctools-providers-pack:2.9.0 (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/ctools-providers/components/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find edu.umich.ctools:ctools-providers-base:pom:2.9.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 11 -> [Help 2]
[ERROR]
[ERROR] The project edu.umich.ctools:ctools-umiac-base:2.9.0 (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/ctools-providers/umiac/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find edu.umich.ctools:ctools-providers-base:pom:2.9.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 6, column 11 -> [Help 2]
[ERROR]
[ERROR] The project org.sakaiproject:ctlib:2.9.0B (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/ctools-reference/library/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.sakaiproject:ctools-reference-base:pom:2.9.0B in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 11 -> [Help 2]
[ERROR]
[ERROR] The project org.sakaiproject.taskstream:TaskStream-Client-Impl:0.2.4 (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/taskstatus/tss-client/impl/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.sakaiproject.taskstream:TaskStream:pom:0.2.4 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 7, column 11 -> [Help 2]
[ERROR]
[ERROR] The project org.sakaiproject.taskstream:taskstatus:0.2.4 (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/taskstatus/tss-sakai/tool/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.sakaiproject.taskstream:TaskStream:pom:0.2.4 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 3, column 11 -> [Help 2]
[ERROR]
[ERROR] The project org.etudes:etudes-util-api:${etudes.util.version} (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/etudes-util/etudes-util-api/api/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.etudes:etudes-util-base:pom:pom in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 29, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.etudes:etudes-util-util:${etudes.util.version} (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/etudes-util/etudes-util/util/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.etudes:etudes-util-base:pom:pom in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 29, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.etudes:etudes-ambrosia-api:${ambrosia.version} (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/ambrosia/ambrosia-api/api/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.etudes:etudes-ambrosia-base:pom:pom in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 29, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.etudes:etudes-ambrosia-util:${ambrosia.version} (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/ambrosia/ambrosia-util/util/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.etudes:etudes-ambrosia-base:pom:pom in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 29, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.etudes:etudes-ambrosia-impl:${ambrosia.version} (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/ambrosia/ambrosia-impl/impl/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.etudes:etudes-ambrosia-base:pom:pom in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 29, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.etudes:etudes-ambrosia-pack:${ambrosia.version} (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/ambrosia/ambrosia-impl/pack/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.etudes:etudes-ambrosia-base:pom:pom in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 29, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.etudes:ambrosia_library:${ambrosia.version} (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/ambrosia/ambrosia-library/lib/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.etudes:etudes-ambrosia-base:pom:pom in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 29, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.etudes:etudes-mneme-api:${mneme.version} (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/test-center/mneme-api/api/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.etudes:etudes-mneme-base:pom:pom in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 29, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.etudes:etudes-mneme-impl:${mneme.version} (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/test-center/mneme-impl/impl/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.etudes:etudes-mneme-base:pom:pom in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 32, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.etudes:etudes-mneme-pack:${mneme.version} (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/test-center/mneme-impl/pack/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.etudes:etudes-mneme-base:pom:pom in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 29, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.etudes:etudes-mneme-tool:${mneme.version} (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/test-center/mneme-tool/tool/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.etudes:etudes-mneme-base:pom:pom in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 29, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.etudes:etudes-mneme-test-tool:${mneme.version} (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/test-center/mneme-test/test-tool/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.etudes:etudes-mneme-base:pom:pom in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 29, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.sakaiproject:sakai-mycourses-api:1.0-SNAPSHOT (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/mycourses/mycourses-api/api/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.sakaiproject:mycourses-base:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.sakaiproject:sakai-mycourses-impl:1.0-SNAPSHOT (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/mycourses/mycourses-impl/impl/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.sakaiproject:mycourses-base:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.sakaiproject:sakai-mycourses-pack:1.0-SNAPSHOT (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/mycourses/mycourses-impl/pack/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.sakaiproject:mycourses-base:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.sakaiproject:sakai-mycourses-tool:1.0-SNAPSHOT (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/mycourses/mycourses-tool/tool/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.sakaiproject:mycourses-base:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.sakaiproject:itunesu-base:1.0-SNAPSHOT (/Users/kentfitz/ctools/incrementalbuilds/ctools-2.9.0B/itunesu-tool/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.sakaiproject:base:pom:2.9.0B in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 11 -> [Help 2]

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created December 24, 2012 at 7:45 AM
Updated January 30, 2013 at 10:19 AM
Resolved January 30, 2013 at 3:56 AM