You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sarah Haselbauer (JIRA)" <ji...@codehaus.org> on 2013/02/21 19:32:13 UTC
[jira] (MNG-5438) cli parameter to use a custom path
settings-security.xml
Sarah Haselbauer created MNG-5438:
-------------------------------------
Summary: cli parameter to use a custom path settings-security.xml
Key: MNG-5438
URL: https://jira.codehaus.org/browse/MNG-5438
Project: Maven 2 & 3
Issue Type: New Feature
Components: Command Line
Affects Versions: 3.0.4, 3.0.5
Reporter: Sarah Haselbauer
Attachments: apache-maven-3.0.4-ssec-bin.zip, maven-3.0.4-0001-added-ssec-as-cli-param-so-that-you-have-the-same-fl.patch, maven-latest-0001-added-ssec-as-cli-param-so-that-you-have-the-same-fl.patch
added -ssec as cli param, so that you have the same flexibility to place your settings-security.xml as you have to point to a custom settings.xml file
mvn -s /path/to/my/custom/settings.xml -ssec /path/to/my/custom/settings-security.xml
I attached to patches: one that can be run on the maven-3.0.4 tag and one that can be run on trunk (latest code state of today).
I also attached a maven-3.0.4-bin.zip (linux) so you can quickly try out the feature and test it yourself.
if you like the idea, I would welcome to have this feature merged into one of the next releases. I need it to write a puppet-maven module that allows to download artifacts from maven repositories with encrypted passwords in the puppet recipe.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira