You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mariusz Smykuła (JIRA)" <ji...@apache.org> on 2017/05/18 07:38:04 UTC

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

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

Mariusz Smykuła commented on MNG-6235:
--------------------------------------

Ok, this bug is related to maven wrapper, from standalone maven this works 

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