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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.8.1
    • 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

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              sabolac Ahmet Bolac
              Votes:
              0 Vote for this issue
              Watchers:
              6 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