Skip to content

Instantly share code, notes, and snippets.

@yarinkos
Last active September 28, 2016 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yarinkos/4100ff1d7729fe0ac644aa1a033eb6fc to your computer and use it in GitHub Desktop.
Save yarinkos/4100ff1d7729fe0ac644aa1a033eb6fc to your computer and use it in GitHub Desktop.
deploy to nexus with setting.xml
mvn -s settings.xml deploy:deploy-file -Durl=http://nexus3:8081/repository/thirdparty/
-DrepositoryId=nexus -Dfile=file.jar -DgroupId=groupId -DartifactId=artifactId -Dversion=version
@yarinkos
Copy link
Author

yarinkos commented Sep 28, 2016

use this setting xml
"


nexus
user
user123


"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment