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

Patrick Coleman patcoleman at me.com
Wed Dec 22 10:06:26 PST 2010


Hi,

Actually I tried it with Maven 2 first and just tried 3 to see what would
happen but it's
the exact same with 2.

Pat.


David Horwitz wrote:
> 
>   Hi Patrick,
> 
> It looks like your using Maven 3 - Sakai hasn't been tested against 
> maven 3 and your likely to get these kind of errors. I would use the 
> latest maven 2 (2.2.1)
> 
> David
> 
> On 12/22/2010 07:30 PM, Patrick Coleman wrote:
>> 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
>>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
> 
> 

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



More information about the sakai-dev mailing list