- 命令如下:
mvn deploy:deploy-file -DgroupId=com.xxx -DartifactId=yyy -Dversion=1.1 -Dpackaging=jar -Dfile=/Users/yinchendong/Downloads/sdk2.0/lib/xxx-SNAPSHOT.jar -Durl=http://ip:8081/repository/3rdpart/ -DrepositoryId=nexus
- 引用如下
<dependency>
<groupId>com.xxx</groupId>
<artifactId>yyy</artifactId>
<version>1.0</version>
</dependency>