maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor Baker (JIRA)" <j...@codehaus.org>
Subject [jira] (MNG-5276) CLI property doesn't override profile property
Date Sat, 14 Apr 2012 07:23:02 GMT

    [ https://jira.codehaus.org/browse/MNG-5276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296459#comment-296459
] 

Trevor Baker commented on MNG-5276:
-----------------------------------

The maven antrun plugin gets the command-line myprop property value (override), but the effective
pom's myprop property is the profile's property value (profile-prop). Was expecting the myprop
values to be the same (override).
                
> CLI property doesn't override profile property
> ----------------------------------------------
>
>                 Key: MNG-5276
>                 URL: https://jira.codehaus.org/browse/MNG-5276
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.0.4
>         Environment: n/a
>            Reporter: Trevor Baker
>         Attachments: pom.xml
>
>
> Run:
> mvn initialize help:effective-pom -Dmyprop=override
> on the attached pom.
> Expected:
> {code:xml}
>   <properties>
>     <myprop>override</myprop>
>     <myprop2>override</myprop2>
>   </properties>
> {code}
> Actual:
> {code:xml}
>   <properties>
>     <myprop>profile-prop</myprop>
>     <myprop2>override</myprop2>
>   </properties>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message