[Building Sakai] "mvn clean install" warnings

Patrick Coleman patcoleman at me.com
Tue Oct 12 12:07:21 PDT 2010



When I run mvn clean install it finishes with "Success" but in the output I
get the following errors.

Can I ignore them?

I did try and run

 mvn clean install sakai:deploy -Dmaven.tomcat.home=/usr/local/tomcat

But got many errors like the second set below.

Thanks.

Pat.

[WARNING] 
[WARNING] Some problems were encountered while building the effective model
for org.sakaiproject:master:pom:2.7.1
[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] Scanning for projects...
[ERROR] The build could not read 8 projects -> [Help 1]
[ERROR]   
[ERROR]   The project org.sakaiproject.content:content-providers-impl:2.7.1
(/Volumes/Data1/SakaiUpgrade2.1.1/sakai-src-2.7.1/content/content-impl-providers/impl/pom.xml)
has 1 error
[ERROR]     Non-resolvable parent POM: Failure to find
org.sakaiproject.content:content:pom:2.7.1 in http://repo1.maven.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]   


-- 
View this message in context: http://old.nabble.com/%22mvn-clean-install%22-warnings-tp29946354p29946354.html
Sent from the Sakai - Development mailing list archive at Nabble.com.



More information about the sakai-dev mailing list