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

Brian St.Clair commented on MNG-5824:
-------------------------------------

And an update to the doc in mvnDebug:

diff --git a/apache-maven/src/bin/mvnDebug b/apache-maven/src/bin/mvnDebug
index 73905fd..1a20de4 100755
--- a/apache-maven/src/bin/mvnDebug
+++ b/apache-maven/src/bin/mvnDebug
@@ -31,6 +31,8 @@
 #   MAVEN_OPTS - parameters passed to the Java VM when running Maven
 #     e.g. to debug Maven itself, use
 #       set MAVEN_OPTS=-Xdebug 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+#   MAVEN_ARGS - parameters passed to Maven. Useful for settings defaults
+#     e.g. MAVEN_ARGS="--settings $HOME/settings.xml"
 #   MAVEN_SKIP_RC - flag to disable loading of mavenrc files
 # ----------------------------------------------------------------------------
 


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

Reply via email to