settings.xml
<servers>Execute this to upload
<server>
<id>releases</id>
<username>deployment</username>
<password>deployment</password>
</server>
</servers>
mvn -X deploy:deploy-file
-Durl=http:
//<nexus host>/nexus/content/repositories/releases
-DrepositoryId=releases
-DgroupId=com.example
-DartifactId=app
-Dversion=1.0.0
-Dpackaging=zip
-Dfile=app.1.0.0.zip
No comments:
Post a Comment