Any idea why the maven-deploy-plugin does not offer a login/password command line option? (or am i blind?)
-
28-06-2021 - |
Question
I'm trying to create a script to 'mavenize' a set of libraries. In order to make them available directly from an artifactory repository, i wanted the script to run the deploy command for each of my libs. But i cannot seem to find the login+password command lines options; is the settings.xml file the only option to specify them ?
Solution
You can put the username and password in the URL:
http://username:password@hostname:port/path
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow