Any idea why the maven-deploy-plugin does not offer a login/password command line option? (or am i blind?)

StackOverflow https://stackoverflow.com/questions/12111107

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 ?

Était-ce utile?

La solution

You can put the username and password in the URL:

http://username:password@hostname:port/path
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top