[
https://issues.apache.org/jira/browse/MNG-5857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylwester Lachiewicz updated MNG-5857:
--------------------------------------
Description: Because of the way the command line args are added at the
*start* of the list here:
[MavenCli#410|https://gitbox.apache.org/repos/asf?p=maven.git;a=blob;f=maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java;h=4d142ee4c9a7f4f1c6311fcc87aacb59ba14fc23;hb=HEAD#l410],
they get overwritten by the settings in .mvn/maven.config. I would have
thought this should be the other way round. (was: Because of the way the
command line args are added at the *start* of the list here:
https://git-wip-us.apache.org/repos/asf?p=maven.git;a=blob;f=maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java;h=034cb004a1f431089de5c66aab15ddbf5b784c30;hb=HEAD#l403,
they get overwritten by the settings in .mvn/maven.config. I would have
thought this should be the other way round.)
> Arguments from command line should override those in .mvn/maven.config
> ----------------------------------------------------------------------
>
> Key: MNG-5857
> URL: https://issues.apache.org/jira/browse/MNG-5857
> Project: Maven
> Issue Type: Bug
> Reporter: Dave Syer
> Priority: Major
> Fix For: 3.x / Backlog
>
>
> Because of the way the command line args are added at the *start* of the list
> here:
> [MavenCli#410|https://gitbox.apache.org/repos/asf?p=maven.git;a=blob;f=maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java;h=4d142ee4c9a7f4f1c6311fcc87aacb59ba14fc23;hb=HEAD#l410],
> they get overwritten by the settings in .mvn/maven.config. I would have
> thought this should be the other way round.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)