标签:自动发布 验证 .gz gem $path .net 版本 ftp工具 apache
http://mirrors.cnnic.cn/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
vi /etc/profile 在最后添加 export MAVEN_HOME=/usr/local/src/apache-maven-3.0.5 export PATH=$PATH:$MAVEN_HOME/bin
source /etc/profile
mvn --version
wget https://sonatype-download.global.ssl.fastly.net/repository/repositoryManager/oss/nexus-2.14.8-01-bundle.tar.gz
admin/admin123
Repositories/Releases/Configuration/Deployment Policy
Allow Redeploy
<distributionManagement> <repository> <id>releases</id><!--这个ID需要与你的release仓库的Repository ID一致--> <url>http://192.168.1.11:8081/nexus/content/repositories/releases</url> </repository> <snapshotRepository> <id>snapshots</id><!--这个ID需要与你的snapshots仓库的Repository ID一致--> <url>http://192.168.1.11:8081/nexus/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement>
<servers> <server> <id>releases</id> <username>admin</username> <password>admin123</password> </server> <server> <id>snapshots</id> <username>admin</username> <password>admin123</password> </server> </servers>
标签:自动发布 验证 .gz gem $path .net 版本 ftp工具 apache
原文地址:https://www.cnblogs.com/dundis/p/8952866.html