Uploaded image for project: 'Build'
  1. Build
  2. BUILD-207

Classes generated with APT are considered "duplicate" by compiler

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • POMs 31
    • None
    • Poms
    • None

    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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                gjoseph Magnolia International
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: