设计改变世界-CSDN
设计改变世界
【Axure RP】【powerdesigner】 【.net】 【c#】 【sql】 【javascript】 【php】 【asp】 【flex】 【java】 【android】http://blog.csdn.net/guochunyang

方法一:设置idear的maven运行参数

或:

 

加:archetypeCatalog=internal

如果ctrl+alt+s进设置,只能对当前项目新建Module其作用:

 

方法二:在新建maven项目时候设置archetypeCatalog=internal,这种方式每次都需要设置,而且spring boot项目没这个设置,推荐第一种方法。

 

其他方法:

命令方式:

mvn archetype:generate \
    -DgroupId=com.mycom.helloworld \
    -DartifactId=helloworld \
    -DarchetypeArtifactId=maven-archetype-quickstart \
    -DinteractiveMode=false \
    -DarchetypeCatalog=http://maven.aliyun.com/nexus/content/groups/public/

作者:TW李鹏
链接:https://www.jianshu.com/p/d95d0b1b6975
來源:简书

设置使用本地catalog文件:IDEA中设置archetype的使用方式为local

-DarchetypeCatalog=local

详细请参考:

https://www.cnblogs.com/del88/p/6286887.html 方法3: 用local

posted on 2018-03-23 11:45  果然如此  阅读(7788)  评论(0编辑  收藏  举报

【一号店】