martes, 17 de octubre de 2017

Deploy to Nexus

With the following snippet you can deploy anything to Nexus. mvn deploy:deploy-file -DgroupId=com.somecompany -DartifactId=project -Dversion=1.0.0 -DgeneratePom=false -Dpackaging=jar -DrepositoryId=nexus -Durl=http://localhost:8081/nexus/content/repositories/releases -DpomFile=pom.xml -Dfile=target/project-1.0.0.jar

No hay comentarios:

Publicar un comentario