Integration of Groovy into Maven

Integration of Groovy into Maven.TIPRemember to specify archetypeVersion, otherwise mvn will prompt

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

?

?

?