Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Duplicate
-
Affects Version/s: 1.0.2
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:JDK 1.4 and 1.5
-
Number of attachments :
Description
Parent project with project.properties
maven.jar.override=on
maven.jar.clover-ant=1.3.3_01
Running "maven clover:html-report" in a subproject (tried with one level and two levels of inheritance) the override is not working, it's easy to see as clover prints its version.
Clover Version 1.3_01
When running from parent project or using multiproject from there it works ok.
Please tell me if you aren't able to reproduce it and I'll give more detail.
As a workaround -Dmaven.jar.override=on -Dmaven.jar.clover-ant=1.3.3_01 can be added to the command line.
Issue Links
| This issue duplicates: | ||||
| MAVEN-1533 | Project properties inherited to plugins |
|
|
|
hmmm....
project overrides are not meant to affect plugins, so thinking about it I'm not sure this should have worked in the first place
Looking at the clover plugin, you can use maven.clover.jar (note the order - its not an override) to set the path to the updated JAR.