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

Refactoring needed for isDependencyChanged / Using fileExtensions (AbstractCompilerMojo)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.1
    • Fix Version/s: 3.8.2
    • Labels:
      None

      Description

      The code in the class AbstractCompilerMojo has a method isDependencyChanged which uses the attribute fileExtensions which is being changed within the isDependencyChanged method. This attribute is also being used by the method hasNewFile which is a kind of confusing (a control via a global variable).
      Furthermore a change in isDependencyChanged where replacing ".class" with "class" results in a fail which is described here.

      It should be investigated how this code can be made more clear and maybe easier to understand.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                khmarbaise Karl Heinz Marbaise
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: