[Closed] (MNG-6235) Properties from .mvn/maven.config cannot be overwritten from command line

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Closed] (MNG-6235) Properties from .mvn/maven.config cannot be overwritten from command line

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/MNG-6235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mariusz Smykuła closed MNG-6235.
--------------------------------
    Resolution: Invalid

> Properties from .mvn/maven.config cannot be overwritten from command line
> -------------------------------------------------------------------------
>
>                 Key: MNG-6235
>                 URL: https://issues.apache.org/jira/browse/MNG-6235
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 3.5.0
>            Reporter: Mariusz Smykuła
>
> Whole procedure is described in blog post: http://blog.soebes.de/blog/2017/04/02/maven-pom-files-without-a-version-in-it/
> I have setted version in {{.mvn/maven.config}}
> {code}
> -Drevision=1.0.0-SNAPSHOT
> {code}
> and when invoking build with command:
> {{mvn clean package -Drevision=2.0.0-SNAPSHOT}}
> version is still 1.0.0-SNAPSHOT, should be 2.0.0-SNAPSHOT.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)