[BUILD-207] Classes generated with APT are considered "duplicate" by compiler Created: 15/Apr/15  Updated: 07/May/15  Resolved: 15/Apr/15

Status: Closed
Project: Build
Component/s: Poms
Affects Version/s: None
Fix Version/s: POMs 31

Type: Bug Priority: Neutral
Reporter: Magnolia International Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to BUILD-211 When running Clover, compiler still g... Closed
Template:
Acceptance criteria:
Empty

 Description   

Presumably because of MCOMPILER-157, if one runs mvn clean compile && mvn compile, the second compilation fails, claiming the generated classes are duplicated.

The problem is also apparent when generating sites, because some report plugins fork a build and try to recompile the classes.

This wasn't the case with maven-compiler-plugin 3.1, but it is with 3.2 and 3.3

Setting useIncrementalCompilation seems to be a viable workaround for now.


Generated at Sun Feb 11 23:39:47 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.