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

Caleb Cushing commented on MNG-5851:
------------------------------------

basically if I say -s is good enough then I'll have to write and maintain 
something specifically for wercker that does in pseudocode

{code}
if ( ./settings.xml ) {
 append  -s ./settings.xml
}
{code}

if I ever switch from wercker I might have to write it again.

  

> 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