读书人

Integration of Groovy into Maven

发布时间: 2012-08-22 09:50:35 作者: rapoo

Integration of Groovy into Maven.

TIP

Remember to specify archetypeVersion, otherwise mvn will prompt you for the archetype. To use a specific version of an archetype specify -DarchetypeVersion=<VERSION>.


TIP

If the command above does not work, it is likely that you have an outdated version of the archetype plugin in your local repository. Add "-U" to the mvn call in order to force updates.

The Maven Archetype Plugin will ask a few questions about your new project:
NOTE

Please ignore any ReferenceException warnings about ${...}, they are harmless.

The above example would have created the following project structure:

TODO

TODO

Resources

Goal Documentationgroovy:generateStubsgroovy:compilegroovy:generateTestStubsgroovy:testCompile

?

http://gmaven.codehaus.org/Building+Groovy+Projects

?

?

?

读书人网 >编程

热点推荐