# nexus-learning
**Repository Path**: 554343346/nexus-learning
## Basic Information
- **Project Name**: nexus-learning
- **Description**: nexus私服的使用,包括部署jar包到私服、使用私服的jar包
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2020-09-29
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## Nexus私服的使用
[私服的安装](https://duanjw.com/posts/72923058)
[私服的使用](https://duanjw.com/posts/2558663d)
### 部署jar包到私服
见`nexus-deploy`模块。
1. 在项目的pom.xml的project节点中添加内容
```pom
ciic-releases
releases
http://49.233.127.119:8666/repository/ciic-releases
true
ciic-snapshots
snapshots
http://49.233.127.119:8666/repository/ciic-snapshots
```
2. 在Maven的settings.xml的servers节点中配置用户名密码
Idea自带的Maven:`vi '/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/conf/settings.xml'`
```pom
ciic-snapshots
admin
xxx
ciic-releases
admin
xxx
```
### 使用私服的jar包
见`nexus-down`模块。
1. 在项目的pom.xml的project节点中添加内容
```pom
ciic-group
ciic-group
http://49.233.127.119:8666/repository/ciic-group/
```