[Building Sakai] error running mvn clean install sakai:deploy on 2.7.1

Patrick Coleman patcoleman at me.com
Wed Dec 22 09:30:11 PST 2010


Hi,
I'm trying to deploy Sakai 2.7.1 but getting some error when I run..

mvn clean install sakai:deploy

The errors are as follows, anyone know what the problem is? Thanks.


[INFO] Scanning for projects...
Downloading:
http://repo1.maven.org/maven2/org/sakaiproject/content/content/2.7.1/content-2.7.1.pom
Downloading:
http://repo1.maven.org/maven2/org/sakaiproject/base/2.7.1/base-2.7.1.pom
[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: Could not find artifact
org.sakaiproject.content:content:pom:2.7.1 in central
(http://repo1.maven.org/maven2) 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.1
(/Volumes/Data1/SakaiUpgrade2.1.1/sakai-src-2.7.1/content/content-impl-providers/pack/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]   
[ERROR]   The project org.sakaiproject.content:sakai-content-tool:2.7.1
(/Volumes/Data1/SakaiUpgrade2.1.1/sakai-src-2.7.1/content/content-tool/tool/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 13 -> [Help
2]
[ERROR]   
[ERROR]   The project org.sakaiproject:warehouse-base:2.7.1
(/Volumes/Data1/SakaiUpgrade2.1.1/sakai-src-2.7.1/warehouse/pom.xml) has 1
error
[ERROR]     Non-resolvable parent POM: Could not find artifact
org.sakaiproject:base:pom:2.7.1 in central (http://repo1.maven.org/maven2)
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.1
(/Volumes/Data1/SakaiUpgrade2.1.1/sakai-src-2.7.1/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.sitemanage:sakai-site-manage-group-section-role-helper:2.7.1
(/Volumes/Data1/SakaiUpgrade2.1.1/sakai-src-2.7.1/site-manage/site-manage-group-section-role-helper/tool/pom.xml)
has 1 error
[ERROR]     Malformed POM
/Volumes/Data1/SakaiUpgrade2.1.1/sakai-src-2.7.1/site-manage/site-manage-group-section-role-helper/tool/pom.xml:
expected START_TAG or END_TAG not TEXT (position: TEXT seen
...<resources/>\n  </build>]\n    <r... @76:7)  @
/Volumes/Data1/SakaiUpgrade2.1.1/sakai-src-2.7.1/site-manage/site-manage-group-section-role-helper/tool/pom.xml,
line 76, column 7 -> [Help 3]
[ERROR]   
[ERROR]   The project org.sakaiproject:sakai-siteassociation-hbm:2.7.1
(/Volumes/Data1/SakaiUpgrade2.1.1/sakai-src-2.7.1/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.1
(/Volumes/Data1/SakaiUpgrade2.1.1/sakai-src-2.7.1/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
[ERROR] [Help 3]
http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException

-- 
View this message in context: http://old.nabble.com/error-running-mvn-clean-install-sakai%3Adeploy-on-2.7.1-tp30515973p30515973.html
Sent from the Sakai - Development mailing list archive at Nabble.com.



More information about the sakai-dev mailing list