Mariusz Smykuła created MNG-6235:
------------------------------------
Summary: 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)