Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.0.4
-
Fix Version/s: None
-
Component/s: Inheritance and Interpolation
-
Labels:None
-
Environment:n/a
-
Complexity:Intermediate
-
Testcase included:yes
-
Number of attachments :
Description
Run:
mvn initialize help:effective-pom -Dmyprop=override
on the attached pom.
Expected:
<properties> <myprop>override</myprop> <myprop2>override</myprop2> </properties>
Actual:
<properties> <myprop>profile-prop</myprop> <myprop2>override</myprop2> </properties>
Activity
Anders Hammar
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Priority | Major [ 3 ] | Minor [ 4 ] |
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).