nexus-3本地下载jar的settipng.xml配置
打开maven安装目录下的setting.xml
<servers> <server> <id>nexus</id> <username>admin</username> <password>admin123</password> </server> <server> <id>nexus-releases</id> <username>admin</username> <password>admin123</password> </server> <server> <id>nexus-snapshots</id> <username>admin</username> <password>admin123</password> </server>
</servers> <mirrors>
<mirror> <id>nexus</id> <mirrorOf>*</mirrorOf> <url>http://127.0.0.1:8081/repository/maven-public</url> </mirror>
</mirrors> <profiles>
<profile> <repositories> <repository> <id>nexus</id> <name>Team Nexus Repository</name> <url>http://nexus-release</url> <releases><enabled>true</enabled> </releases> <snapshots><enabled>true</enabled></snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>nexus</id> <name>Team Nexus Repository</name> <url>http://nexus-release</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> <activeProfiles> <activeProfile>nexus</activeProfile> </activeProfiles>
看完打开支付宝扫一扫领个红包吧!