[Building Sakai] Sakai Maven Archetype
Steve Swinsburg
steve.swinsburg at gmail.com
Mon Jul 4 05:23:32 PDT 2011
Hi Nico,
What version of Maven are you using?
Also, can you run with the -e and then -X switches to get full errors.
cheers,
Steve
On 04/07/2011, at 9:17 PM, Coetzee, Nico wrote:
> This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full details.
>
> Hi Steve
>
> I'm still getting the same error
> mvn archetype:generate -DarchetypeGroupId=org.sakaiproject.maven-archetype -DarchetypeArtifactId=sakai-wicket-maven-archetype -DarchetypeVersion=1.0 -DarchetypeRepository=https://source.sakaiproject.org/maven2/
> [INFO] Scanning for projects...
> [ERROR] The build could not read 2 projects -> [Help 1]
> [ERROR]
> [ERROR] The project org.sakaiproject:sakai-siteassociation-hbm:2.8.0 (/users/coetzeen/data/prodqa/sakai_2-8-0/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.8.0 (/users/coetzeen/data/prodqa/sakai_2-8-0/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
>
>
>
>
> On 04 Jul 2011, at 12:36 PM, Steve Swinsburg wrote:
>
> Hi,
>
> See my post from earlier today. The command has changed and the old one will no longer work. The new command is:
>
> mvn archetype:generate -DarchetypeGroupId=org.sakaiproject.maven-archetype -DarchetypeArtifactId=sakai-wicket-maven-archetype -DarchetypeVersion=1.0 -DarchetypeRepository=https://source.sakaiproject.org/maven2/
>
> cheers,
> Steve
>
> On 04/07/2011, at 6:01 PM, Coetzee, Nico wrote:
>
>> This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full details.
>>
>> Hi
>>
>> I'm trying this on 2.8.0 and 2.7.1 and it give me the following errors:
>>
>> 2.8.0
>>
>> mvn archetype:generate -DarchtypeGroupID=org.sakaiproject.maven-acrhetype -DarchetypeArtifactId=sakai-maven-archetype -DarchetypeVersion=1.0 -DarchetypeRepository=https://source.sakaiproject.org/maven2/
>> [INFO] Scanning for projects...
>> Downloading: http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/purepoms/sakai-standard-tool/2.8-SNAPSHOT/maven-metadata.xml
>> Downloading: http://projectlombok.org/mavenrepo/org/sakaiproject/purepoms/sakai-standard-tool/2.8-SNAPSHOT/maven-metadata.xml
>> Downloaded: http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/purepoms/sakai-standard-tool/2.8-SNAPSHOT/maven-metadata.xml (333 B at 0.2 KB/sec)
>> Downloading: http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/kernel/1.2.0-SNAPSHOT/maven-metadata.xml
>> Downloading: http://projectlombok.org/mavenrepo/org/sakaiproject/kernel/1.2.0-SNAPSHOT/maven-metadata.xml
>> Downloaded: http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/kernel/1.2.0-SNAPSHOT/maven-metadata.xml (312 B at 0.3 KB/sec)
>> [ERROR] The build could not read 2 projects -> [Help 1]
>> [ERROR]
>> [ERROR] The project org.sakaiproject:sakai-siteassociation-hbm:2.8.0 (/users/coetzeen/data/prodqa/sakai_2-8-0/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.8.0 (/users/coetzeen/data/prodqa/sakai_2-8-0/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
>>
>>
>> 2.7.1
>> mvn archetype:generate -DarchetypeGroupId=org.sakaiproject.maven-archetype -DarchetypeArtifactId=sakai-maven-archetype -DarchetypeVersion=1.0 -DarchetypeRepository=https://source.sakaiproject.org/maven2/
>> [INFO] Scanning for projects...
>> [ERROR] The build could not read 3 projects -> [Help 1]
>> [ERROR]
>> [ERROR] The project org.sakaiproject:sakai-reports-api:2.7-SNAPSHOT (/users/coetzeen/data/prodqa/sakai-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 (/users/coetzeen/data/prodqa/sakai-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 (/users/coetzeen/data/prodqa/sakai-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
>>
>>
>>
>>
>> On 01 Jul 2011, at 1:41 PM, Bryan Holladay wrote:
>>
>> Very slick... Thanks Steve & anyone else who may have worked on it!
>>
>> I got my first wicket tool working in 1 day b/c of this ;)
>>
>> Thanks,
>> Bryan
>>
>> On Jun 29, 2011, at 9:16 PM, Steve Swinsburg wrote:
>>
>>> I am very proud to announce that the Sakai Maven Archetype 1.0 is now available!
>>>
>>> This is a new way to get up and running with a complete Sakai tool (webapp, API, components). The tool is based on Wicket 1.4.17 which integrates nicely with Sakai. This first release is a basic tool, only a couple of pages that don’t do a lot, but it does demonstrate how to get a Sakai tool styled, internationalised and registered, setup your own APIs, wire them up with Spring and inject them via annotations. It could easily be used as a base for a real tool.
>>>
>>> To getup and running, simply type:
>>>
>>> mvn archetype:generate -DarchetypeGroupId=org.sakaiproject.maven-archetype -DarchetypeArtifactId=sakai-maven-archetype -DarchetypeVersion=1.0 -DarchetypeRepository=https://source.sakaiproject.org/maven2/
>>>
>>> And follow the prompts to set up your project.
>>>
>>> Future versions will include a help bundle that registers with the Sakai help system, assemblies for indie releases and Spring JDBC for some backend work.
>>>
>>> cheers,
>>> Steve
>>> _______________________________________________
>>> 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"
>>
>> _______________________________________________
>> 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"
>>
>>
>> Nico Coetzee
>> Designer Developer
>> ICT
>> Unisa Main Campus
>> Preller Street
>> Pretoria
>> Tel: +27 (012) 429-4661
>> Fax : 0862756913
>>
>> <Unisa-email-signature_UNGC.gif><image002.gif><ATT00001..txt>
>
>
>
> Nico Coetzee
> Designer Developer
> ICT
> Unisa Main Campus
> Preller Street
> Pretoria
> Tel: +27 (012) 429-4661
> Fax : 0862756913
>
> <Unisa-email-signature_UNGC.gif><image002.gif>
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110704/a224c5a4/attachment.html
More information about the sakai-dev
mailing list