[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: |
|
||||||||
| 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. |