mvn archetyoe:generate -DarchetypeCatalog=internal

时间:2015-04-29 19:05:41   收藏:0   阅读:1653
  1. 可以使用 $mvn archetype:generate -DarchetypeCatalog=internal  
  2. archetypeCatalog表示插件使用的archetype元数据,默认值为remote,local,即中央仓库archetype元数据(http://repo1.maven.org/maven2/archetype-catalog.xml)加上插件内置元数据的和  
  3. 由于中央仓库的archetype太多,导致这个列表太长  
  4. 因此自己指定仅用内置元数据(20个左右,好像),就可以解决你的烦恼了

原文:http://www.cnblogs.com/welhzh/p/4466361.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!