[ https://jira.codehaus.org/browse/MNG-4853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=279712#comment-279712 ]
Ian Brandt commented on MNG-4853: --------------------------------- I've verified that {{\-Dsettings.security=path/to/security-settings.xml}} works, though {{\-ss,--security-settings <arg>}} would be nice, especially if documented in {{mvn --help}}. > Make location of settings-security.xml configurable > --------------------------------------------------- > > Key: MNG-4853 > URL: https://jira.codehaus.org/browse/MNG-4853 > Project: Maven 2 & 3 > Issue Type: Improvement > Components: Command Line > Reporter: Alexander Syedin > Priority: Minor > > Are there any reasons why we can't specify name and location of the > settings-security.xml file exactly in the same we do with settings.xml? > It would be nice to be able to specify it from command line, like: > {code:none} > mvn -ss path/to/security-settings.xml > {code} > This is essential in some environments, where user don't have control over > home directory (like continuous integration farm, where each project may have > it's own settings, but not settings-security.xml). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira