mvn deploy:deploy-file -Durl=http://192.168.0.4:8081/nexus/content/repositories/thirdparty -DrepositoryId=thirdparty -Dfile=jmxspi.jar -DgroupId=oracle.as -DartifactId=jmxspi -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true
一定要在settting.xml配置认证。 <server> <id>thirdparty</id> <username>admin</username> <password>admin123</password> </server>
时间: 2024-12-24 06:51:30