用idea建立maven项目时用模板建立慢的解决方法
来源:互联网 发布:javascript 验证表单 编辑:程序博客网 时间:2024/06/14 21:32
首先去maven的conf文件夹中找到setting.xml文件,然后在相应的位置加入以下配置,因为在国内还是aliyun快很多,如下所示:
setting.xml中添加这些配置:
<mirrors>
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
</profiles>
<profile>
<id>aliyun</id>
<repositories>
<repository>
<id>nexus</id>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>admin</id>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>aliyun</activeProfile>
</activeProfiles>
从网上下载一个archetype-catalog.xml文件
覆盖C:\Users\uds\.m2\repository\org\apache\maven\archetype\archetype-catalog\3.0.1中的xml文件
此路径为个人本地仓库位置
然后建立项目就贼快!贼快!- 用idea建立maven项目时用模板建立慢的解决方法
- idea建立maven聚合项目
- Intellij IDEA建立Maven项目
- IDEA下建立Maven项目
- IntelliJ IDEA创建Maven web项目速度慢的解决方法
- Maven项目的建立
- 使用IDEA建立Maven管理的SpringMVC项目
- Maven的安装、建立项目
- idea中建立maven工程,建立maven模块,导入maven项目
- 建立maven项目时没有出现maven的标准结构
- (3)使用IntelliJ IDEA建立maven项目
- Idea 建立maven web项目SSM整合技术
- 用Idea配置Tomcat及建立web项目
- idea 建立多个有依赖关系的maven项目步骤及注意点
- 用Idea建立Struts2工程
- 建立Maven Android项目
- 建立Maven Android项目
- 自己动手建立maven项目
- ARC 074E RGB Sequence DP
- 计算机网络二
- JAVA IO化繁为简-装饰者模式
- 监督算法大比拼之BP、SVM、adaboost非线性多分类实验
- 安装walle以及composer中遇到的一些坑
- 用idea建立maven项目时用模板建立慢的解决方法
- java位运算符
- 两数组的交 和 两数组的交||
- 灰色预测模型
- 泛型基础----------泛型方法一
- Mysql学习总结(46)——8种常被忽视的SQL错误用法
- Oracle异常处理—ORA-12514:监听程序当前无法识别连接描述符中请求的服务
- 欧几里得扩展算法
- HTTP中常见的状态码