maven
女Bug王
希望和大家分享、交流,共同进步
展开
-
版本锁定 dependencyManagement与<dependencies> 的区别
比如当前有一个itcastutil在pom.xml中引入如下配置信息distributionManagement:发布管理器 releases http://localhost:8081/nexus/content/repositories/releases/原创 2017-10-18 12:56:28 · 1181 阅读 · 0 评论 -
配置镜像以及从私服下载jar包
配置镜像我们需要在maven的配置文件settings.xml中配置镜像,让maven找私服,而不是直接到中央仓库下载。打开maven的配置文件settings.xml,添加如下配置:配置的是组 ,当前的组中有 nexus * http://localhost:8081/nexus/content/groups/p原创 2017-10-18 12:57:20 · 1354 阅读 · 0 评论 -
排除依赖
jar包冲突排除低版本的jar包如何来排除依赖呢?添加下面红色字体的部分。作用是排除struts中依赖的javassist的jar dependency> groupId>org.apache.strutsgroupId> artifactId>struts2-coreartifactId> versio原创 2017-10-18 12:58:21 · 291 阅读 · 0 评论