Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-205

maven-compiler-plugin: incremental compilation broken

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      When we do clean -> compile -> compile, all Java sources are re-compiled for second compilation steps:

      [framework]$ mvn clean
      ...
      [framework]$ mvn compile
      ...
      [INFO] --- maven-compiler-plugin:3.1:compile (precompile-sources-for-cdk) @ richfaces-framework ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 915 source files to /mnt/workspace/workspaces/richfaces/richfaces5/framework/target/classes
      ...
      [framework]$ mvn compile
      ...
      [INFO] --- maven-compiler-plugin:3.1:compile (precompile-sources-for-cdk) @ richfaces-framework ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 915 source files to /mnt/workspace/workspaces/richfaces/richfaces5/framework/target/classes
      ...
      

      The source code of the affected project: https://github.com/richfaces/richfaces5/tree/077dcfc0a46d03d7ba9a7ac3e701a4adfb834c71

        Attachments

        1. hello.tgz
          1 kB
          Osman ─░ZBAT
        2. ignore-package-info.patch
          1 kB
          Damjan Jovanovic
        3. no-class-in-java-file.zip
          4 kB
          Vincent Latombe
        4. only-recompile-changed.patch
          0.7 kB
          Damjan Jovanovic

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lfryc Lukas Fryc

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m

                  Issue deployment