[Using Sakai] sakai installation errors for 2.7.x source

Matthew Jones jonespm at umich.edu
Wed Feb 9 12:12:53 PST 2011


It looks like you're trying to build with maven 3. Currently Sakai CLE can't
be built with maven 3. [1] It's recommended in the install guide [2] to use
the latest version of maven 2 which is currently 2.2.1.

http://maven.apache.org/docs/2.2.1/release-notes.html.

Perhaps the install guide should expectedly say that Maven 3 is unsupported.

[1] https://jira.sakaiproject.org/browse/SAK-19331
[2]
https://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Source+Install+(2.7)

On Wed, Feb 9, 2011 at 3:03 PM, Chandrika Harathi <harathch at umdnj.edu>wrote:

>  I got today's sakai 2.7.x source.
>
> When I install master project, I got warning.
>
> When I install sakai, I got errors.
>
>
> Here are the warnings and errors. Please advise,
>
> Thanks,
>
>
>
> -sh-3.2$ pwd
> /sakaiapps/download/2.7.x
> -sh-3.2$ cd master
> -sh-3.2$ mvn clean install
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.sakaiproject:master:pom:2.7-SNAPSHOT
> [WARNING]
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'must be unique: javax.jcr:jcr:jar -> version 1.0 vs ${sakai.jcr.version}
> @ line 506, column 25
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 1044,
> column 21
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING] The expression ${version} is deprecated. Please use
> ${project.version} instead.
> [WARNING] 'reporting.plugins.plugin.version' for
> org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 921,
> column 21
> [WARNING] 'reporting.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 938,
> column 21
> [WARNING] 'reporting.plugins.plugin.version' for
> org.apache.maven.plugins:maven-pmd-plugin is missing. @ line 949, column 21
> [WARNING] 'reporting.plugins.plugin.version' for
> org.codehaus.mojo:changelog-maven-plugin is missing. @ line 972, column 21
> [WARNING] 'reporting.plugins.plugin.version' for
> org.codehaus.mojo:taglist-maven-plugin is missing. @ line 982, column 21
> [WARNING] 'reporting.plugins.plugin.version' for
> org.codehaus.mojo:jdepend-maven-plugin is missing. @ line 994, column 21
> [WARNING] 'reporting.plugins.plugin.version' for
> org.codehaus.mojo:jxr-maven-plugin is missing. @ line 999, column 21
> [WARNING] 'reporting.plugins.plugin.version' for
> net.sourceforge.maven-taglib:maven-taglib-plugin is missing. @ line
> 1009, column 21
> [WARNING] 'distributionManagement.repository.id' must not be 'local',
> this identifier is reserved for the local repository, using it for other
> repositories will corrupt your repository metadata. @ line 117, column 17
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING]
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Sakai Master 2.7-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ master ---
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ master ---
> [INFO] Installing /sakaiapps/download/2.7.x/master/pom.xml to*/home/tomcat/*.m2/repository/org/sakaiproject/master/2.7-SNAPSHOT/master-2.7-SNAPSHOT.pom
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 0.813s
> [INFO] Finished at: Wed Feb 09 14:24:50 EST 2011
> [INFO] Final Memory: 5M/490M
> [INFO]
> ------------------------------------------------------------------------
> -sh-3.2$
>
> -sh-3.2$ cd ..
> -sh-3.2$ mvn clean install sakai:deploy -Dmaven.tomcat.home=/opt/tomcat
> [INFO] Scanning for projects...
> [ERROR] The build could not read 7 projects -> [Help 1]
> [ERROR]
> [ERROR]   The project
> org.sakaiproject.content:content-providers-impl:2.7-SNAPSHOT
> (/sakaiapps/download/2.7.x/content/content-impl-providers/impl/pom.xml)
> has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.sakaiproject.content:content:pom:2.7-SNAPSHOT and
> 'parent.relativePath' points at wrong local POM @ line 4, column 11 ->
> [Help 2]
> [ERROR]
> [ERROR]   The project
> org.sakaiproject.content:content-providers-pack:2.7-SNAPSHOT
> (/sakaiapps/download/2.7.x/content/content-impl-providers/pack/pom.xml)
> has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.sakaiproject.content:content:pom:2.7-SNAPSHOT and
> 'parent.relativePath' points at wrong local POM @ line 4, column 11 ->
> [Help 2]
> [ERROR]
> [ERROR]   The project
> org.sakaiproject.content:sakai-content-tool:2.7-SNAPSHOT
> (/sakaiapps/download/2.7.x/content/content-tool/tool/pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.sakaiproject.content:content:pom:2.7-SNAPSHOT and
> 'parent.relativePath' points at wrong local POM @ line 4, column 13 ->
> [Help 2]
> [ERROR]
> [ERROR]   The project org.sakaiproject:warehouse-base:2.7-SNAPSHOT
> (/sakaiapps/download/2.7.x/warehouse/pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.sakaiproject:base:pom:2.7-SNAPSHOT and 'parent.relativePath' points
> at wrong local POM @ line 5, column 11 -> [Help 2]
> [ERROR]
> [ERROR]   The project org.sakaiproject:sakai-reports-api:2.7-SNAPSHOT
> (/sakaiapps/download/2.7.x/reports/reports-api/api/pom.xml) has 1 error
> [ERROR]
> 'build.plugins.plugin[org.codehaus.mojo:hibernate3-maven-plugin].dependencies.dependency.scope'
> for org.sakaiproject:sakai-util-id-hbm:jar must be one of [compile,
> runtime, system] but is 'test'. @ line 104, column 20
> [ERROR]
> [ERROR]   The project
> org.sakaiproject:sakai-siteassociation-hbm:2.7-SNAPSHOT
> (/sakaiapps/download/2.7.x/site-manage/site-association-hbm/hbm/pom.xml)
> has 1 error
> [ERROR]
> 'build.plugins.plugin[org.codehaus.mojo:hibernate3-maven-plugin].dependencies.dependency.scope'
> for org.sakaiproject:sakai-util-id-hbm:jar must be one of [compile,
> runtime, system] but is 'test'. @ line 80, column 20
> [ERROR]
> [ERROR]   The project org.sakaiproject:sakai-taggable-hbm:2.7-SNAPSHOT
> (/sakaiapps/download/2.7.x/taggable/taggable-hbm/hbm/pom.xml) has 1 error
> [ERROR]
> 'build.plugins.plugin[org.codehaus.mojo:hibernate3-maven-plugin].dependencies.dependency.scope'
> for org.sakaiproject:sakai-util-id-hbm:jar must be one of [compile,
> runtime, system] but is 'test'. @ line 82, column 20
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2]http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>
>
>
>
> --
> Chandrika Harathi
> Programmer Analyst II
> IST-AST
> 1 Worlds Fair Drive, Suite 3900, Somerset, NJ 08873
> Ph: (732) 743-2554
> Fax:(732) 745-4525
>
>
> CONFIDENTIALITY NOTICE: This email communication may contain private, confidential, or legally privileged information intended for the sole use of the designated and/or duly authorized recipient(s). If you are not the intended recipient or have received this email in error, please notify the sender immediately by email and permanently delete all copies of this email including all attachments without reading them. If you are the intended recipient, secure the contents in a manner that conforms to all applicable state and/or federal requirements related to privacy and confidentiality of such information.
>
>
>
>
> _______________________________________________
> sakai-user mailing list
> sakai-user at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-user
>
> TO UNSUBSCRIBE: send email to
> sakai-user-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-user/attachments/20110209/a2c744fc/attachment-0001.html 


More information about the sakai-user mailing list