![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
maven
星空战争
这个作者很懒,什么也没留下!
展开
-
maven配置多环境
maven配置多环境项目顶层配置环境<profiles> <profile> <!-- 开发环境 --> <id>dev</id> <properties> <env>dev</env> <activeByDefault>true</activeByDefault>原创 2022-03-11 14:19:14 · 1566 阅读 · 0 评论 -
maven构建拉取最新快照
maven构建拉取最新快照<repositories> <repository> <id>my-nexus</id> <url>http://localhost:8080/nexus/content/groups/public/</url> <snapshots> <enabled>true</enabled>原创 2022-03-11 14:17:17 · 1110 阅读 · 0 评论 -
maven deploy配置
maven deploy配置项目配置发布私服地址(一般如果项目只需要发布到一个私服可以配置到项目顶层pom文件中)<!-- 发布配置 --><distributionManagement> <repository> <id>releases</id> <url>http://localhost:8080/nexus/content/repositories/releases</url&原创 2022-03-11 14:15:04 · 3595 阅读 · 0 评论 -
maven
1、本地仓库相当于缓存,工程第一次会从远程仓库(互联网)去下载jar 包,将jar包存在本地仓库(在程序员的电脑上)。第二次不需要从远程仓库去下载。先从本地仓库找,如果找不到才会去远程仓库找。2、中央仓库就是远程仓库,仓库中jar由专业团队(maven团队)统一维护。中央仓库的地址:http://repo1.maven.org/maven2/3、远程仓库在公司...原创 2017-06-17 15:11:30 · 354 阅读 · 0 评论