nexus自学笔记
来源:互联网 发布:航天税务软件下载 编辑:程序博客网 时间:2024/06/05 00:16
用户根目录/.m2/ 下的maven默认配置文件
settings.xml
<settings> <mirrors> <mirror> <!--This sends everything else to /public --> <id>nexus</id> <mirrorOf>*</mirrorOf> <url>http://127.0.0.1:8081/repository/maven-public/</url> </mirror> </mirrors> <profiles> <profile> <id>nexus</id> <!--Enable snapshots for the built in central repo to direct --> <!--all requests to nexus via the mirror --> <repositories> <repository> <id>central</id> <url>http://central</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>central</id> <url>http://central</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> <activeProfiles> <!--make the profile active all the time --> <activeProfile>nexus</activeProfile> </activeProfiles> <servers> <server> <id>nexus</id> <username>username</username> <password>password</password> </server> </servers></settings>
pom.xml中的片段
<distributionManagement> <repository> <id>nexus</id> <name>Releases</name> <url>http://127.0.0.1:8081/repository/maven-releases</url> </repository> <snapshotRepository> <id>nexus</id> <name>Snapshot</name> <url>http://127.0.0.1:8081/repository/maven-snapshots</url> </snapshotRepository> </distributionManagement>
阅读全文
0 0
- nexus自学笔记
- nexus笔记
- 自学笔记
- nexus开源版安装笔记
- Nexus笔记(1)
- maven笔记-Nexus配置
- 【笔记】Nexus的使用
- Nexus学习笔记一
- Nexus 私服 学习笔记
- (三)Maven学习笔记----Nexus
- Nexus私服使用笔记:
- 【笔记】Nexus思维导图
- Linux C++ 自学笔记
- 离散数学自学笔记(1)
- java自学笔记
- C++自学笔记(一)
- JSP自学笔记
- ibatis的自学笔记
- c++ Primer Plus学习记录(一) 复合类型
- android studio的安装与环境配置
- 表单input中disabled提交后得不到值的解决办法
- Android中colorAccent,colorPrimary,colorPrimaryDark颜色指的谁?
- FreeRDP
- nexus自学笔记
- jQuery
- Quartus Ⅱ 15.1 将Verilog模块程序封装
- Axure8.0基础教程(11-20)AxureRP8基础操作
- hive中metastore三种存储方式
- list_add_tail 双向链表实现分析
- 浏览器对象(1)
- latex footnote numbering
- 循环遍历输出数组