实习笔记之nexus maven私服搭建
来源:互联网 发布:wp 利用 知乎 编辑:程序博客网 时间:2024/06/09 13:57
1.下载 并安装nexus
2.运行私服nexus-2.14.4-03\bin\jsw\选择系统\:
3.运行网址并登录:http://127.0.0.1:8081/nexus
4.打开自动down包:
5.打开保存的仓库组
6配置maven setting.xml:
<server> <id>nexus-releases</id> <username>admin</username> <password>admin123</password> </server> <server> <id>nexus-snapshots</id> <username>admin</username> <password>admin123</password> </server> <mirror> <id>nexus-releases</id> <mirrorOf>*</mirrorOf> <url>http://localhost:8081/nexus/content/groups/public</url> </mirror> <mirror> <id>nexus-snapshots</id> <mirrorOf>*</mirrorOf> <url>http://localhost:8081/nexus/content/repositories/snapshots/</url> </mirror> <activeProfiles><!--激活了才生效--> <activeProfile>nexusProfile</activeProfile> </activeProfiles>**7.配置pom.xml 博客编辑器有问题**<distributionManagement> <repository> <id>nexus-releases</id> <name>nexus</name> <url>http://192.168.1.184:8081/nexus/content/groups/public/</url> </repository> <snapshotRepository> <id>nexus-snapshots</id> <name>snapshots</name> <url>http://192.168.1.184:8081/nexus/content/repositories/snapshots/</url> </snapshotRepository></distributionManagement> <repositories> <repository> <id>nexus</id> <name>nexus</name> <url>http://192.168.1.184:8081/nexus/content/groups/public/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories>
然后就能用了。组员直接down:pom.xml就好了,能打包,有需要联系309947442
阅读全文
1 0
- 实习笔记之nexus maven私服搭建
- Maven学习之搭建私服Nexus
- maven学习笔记5--maven使用Nexus搭建私服
- Maven+Nexus私服搭建
- maven搭建私服nexus
- Maven Nexus私服搭建
- maven nexus 搭建私服
- maven nexus私服搭建
- maven nexus私服搭建
- Maven+Nexus私服搭建
- Maven 搭建私服(nexus)
- Maven私服搭建(nexus)
- Maven学习笔记二:Nexus私服搭建
- maven的私服搭建 Maven Nexus
- Maven之搭建本地私服(nexus)仓库
- maven 之 nexus 私服搭建学习总结
- maven私服之nexus
- MAVEN学习笔记之私服Nexus(2)
- CF#420 Div.2 B. Okabe and Banana Trees(数学)
- ng个人学习小结
- Java 多态
- ACM Dijkstra 最短路
- View、Window、WindowManager与WMS之间的关系
- 实习笔记之nexus maven私服搭建
- DOM中获取元素的方法
- java-文件操作RandomAccessFile
- Organopolysilazane
- 笨方法学Python 习题 38: 列表的操作
- 高通滤波与低通滤波的简单理解
- HDFS使用API操作文件权限
- 使用java的过滤器filter备忘(HttpServletResponseWrapper)
- hive的数据倾斜解决策略