# demo-test-maven-plugin
**Repository Path**: surfman666/demo-test-maven-plugin
## Basic Information
- **Project Name**: demo-test-maven-plugin
- **Description**: 通过该插件可以批量上传项目在本地的依赖库,完成私服的初始化。
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2022-08-05
- **Last Updated**: 2022-11-30
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# demo-test-maven-plugin
#### 介绍
目的是在搭建`Maven`私服后,可以通过该插件上传项目在本地的依赖库,完成私服的初始化。
暂未实现依赖管理器(dependencyManagement标签)中的pom文件信息,期待高手加入。
#### 使用方式
本地 `install` 该插件后,在目标项目引入插件,执行 `mvn demo-test:offline-deploy -e -X`
```xml
org.example
demo-test-maven-plugin
1.0-SNAPSHOT
```
#### 参考资料
##### mvn deploy
`git clone --branch maven-deploy-plugin-3.0.0 https://gitbox.apache.org/repos/asf/maven-deploy-plugin.git`
https://maven.apache.org/plugins/maven-deploy-plugin/index.html
##### mvn dependency:copy-dependencies
`git clone --branch maven-dependency-plugin-3.3.0 https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git`
https://maven.apache.org/plugins/maven-dependency-plugin/index.html