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

Manfred Moser commented on MNG-5851:
------------------------------------

Correct. I am not sure if a patch to support M2_SETTINGS would be approved. We 
just recently removed the need for M2_HOME ..

Anyway.. you might have better luck with something that allows settings in the 
projet specific .mvn folder or so. Not sure to be honest. 

> environment variable to configure settings.xml location
> -------------------------------------------------------
>
>                 Key: MNG-5851
>                 URL: https://issues.apache.org/jira/browse/MNG-5851
>             Project: Maven
>          Issue Type: New Feature
>            Reporter: Caleb Cushing
>
> Wercker which is a continuous integration/deployment saas, and has a platform 
> built on docker.
> what I'd like to be able to do is specify M2_SETTINGS="./settings.xml" so 
> that I could put my settings into my repo without extending the official 
> docker image. This way I could configure Wercker to be able to do releases to 
> a nexus server. Inside the settings.xml I could define other variables like 
> server/username/password so that wercker could fill them in at runtime.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to