[ 
https://issues.apache.org/jira/browse/MNG-8390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905079#comment-17905079
 ] 

Tamas Cservenak commented on MNG-8390:
--------------------------------------

In maven3 you can use {{-Dsettings.security=/some/path}}

> Alternative path for the user settings-security.xml file
> --------------------------------------------------------
>
>                 Key: MNG-8390
>                 URL: https://issues.apache.org/jira/browse/MNG-8390
>             Project: Maven
>          Issue Type: New Feature
>    Affects Versions: 3.9.9
>            Reporter: Manuel s
>            Priority: Minor
>              Labels: features
>
> Maybe could be possible to set a different path for the settings-security.xml 
> file too. Something similar to the current settings.xml as when i write in a 
> consoleĀ 
> {code:java}
> mvn -s $PATH_TO_SETTINGS.XML{code}
> or
> {code:java}
> mvn --settings $PATH_TO_SETTINGS.XML
> {code}
> *Suggestion*
> a new parameter in the console should be possible to override the default 
> PATH (${user.home}/.m2/settings-security.xml) for the settings-security.xml 
> file.
> For instance something like:
> {code:java}
> mvn -ss $PATH_TO_SETTINGS_SECURITY.XML{code}
> or
> {code:java}
> mvn --settings-security $PATH_TO_SETTINGS_SECURITY.XML
> {code}
> *Requirements*
> The help information for the cli should be updated with the new 
> params/options too



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to