[
https://issues.apache.org/jira/browse/MNG-6077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Heinz Marbaise updated MNG-6077:
-------------------------------------
Description:
If you use the {{.mvn/maven.config}} and define for example {{-T 3}} in it you
will always use it if you run Maven. There is no possibility to change this
except to change the {{.mvn/maven.config}} file. The expected behaviour would
be simply to define options on command line like:
{code}
mvn -T 1 clean package
{code}
and those options from command line should have precedence over them in the
{{.mvn/maven.config}} file.
With the change in MNG-6076 you can overwrite properties from command lie.
was:
If you use the {{.mvn/maven.config}} and define for example {{-T 3}} in it you
will always use it if you run Maven. There is no possibility to change this
except to change the {{.mvn/maven.config}} file. The expected behaviour would
be simply to define options on command line like:
{code}
mvn -T 1 clean package
{code}
and those options from command line should have precedence over them in the
{{.mvn/maven.config}} file.
> Options given in maven.config can not be overwritten via command line
> ---------------------------------------------------------------------
>
> Key: MNG-6077
> URL: https://issues.apache.org/jira/browse/MNG-6077
> Project: Maven
> Issue Type: Improvement
> Components: Command Line
> Affects Versions: 3.3.9
> Reporter: Karl Heinz Marbaise
> Priority: Minor
>
> If you use the {{.mvn/maven.config}} and define for example {{-T 3}} in it
> you will always use it if you run Maven. There is no possibility to change
> this except to change the {{.mvn/maven.config}} file. The expected behaviour
> would be simply to define options on command line like:
> {code}
> mvn -T 1 clean package
> {code}
> and those options from command line should have precedence over them in the
> {{.mvn/maven.config}} file.
> With the change in MNG-6076 you can overwrite properties from command lie.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)