Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.1.0-M1
-
Fix Version/s: 2.1.0-M1
-
Component/s: Plugins and Lifecycle
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
if you use java5 generics or java 1.4 assertions, and you have the compiler plugin configured with source and target parameters inside a plugin entry in the pluginManagement section of the POM, this configuration is not used when building from a forked lifecycle spawned from a report. The classic example here is the javadoc reports, which trigger the compilation of sources (for some reason).
ok, the reason this is triggering compilation is because javadoc:test-aggregate forks to generate-test-sources, which is later than the compile lifecycle phase.