首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

Integration of Groovy into Maven

2012-08-22 
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

?

?

?

热点排行