You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2015/11/08 16:42:11 UTC

[jira] [Commented] (MNG-5824) Support MAVEN_ARGS environment variable as a way of supplying default command line arguments

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

Karl Heinz Marbaise commented on MNG-5824:
------------------------------------------

So first why do you need an other environment variable beside MAVEN_OPTS (which is a problem)...If you only need that for adding options you don't like to repeat better use {{.mvn/maven.config}} which exactly is for such purposes...and will put the to the correct location in your project...

> Support MAVEN_ARGS environment variable as a way of supplying default command line arguments
> --------------------------------------------------------------------------------------------
>
>                 Key: MNG-5824
>                 URL: https://issues.apache.org/jira/browse/MNG-5824
>             Project: Maven
>          Issue Type: New Feature
>          Components: Command Line
>    Affects Versions: 3.3.3
>            Reporter: Brian St.Clair
>
> I would like to be able to specify default Maven command line arguments using the MAVEN_ARGS environment variable, similarly to how I can use MAVEN_OPTS to specify default JVM args.



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