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

maven-compiler-plugin does not recompile a module if a dependency module has been updated & recompiled

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.8.1
    • Labels:
      None

      Description

      We have two modules A and B, where A depends on B. When running an incremental build, we observe that if the sources of A has not changed, but sources of B has been changed, module B gets recompiled as expected, but then module A is considered up-to-date and not recompiled. If there are any breaking changes in module B, we would expect A to fail compilation but it does not happen when running an incremental build. We only see A recompile after a clean. 

        Attachments

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              sabolac Ahmet Bolac
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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