You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Manfred Moser (JIRA)" <ji...@apache.org> on 2015/07/03 22:17:04 UTC

[jira] [Commented] (MNG-5851) environment variable to configure settings.xml location

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

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

You could just add the -s or -gs command line switches on your mvn invocations. As such there is no need to another environment variable.

> 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)