Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-304

MojoAnnotationsScanner should ignore special classes

    XMLWordPrintableJSON

    Details

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

      Description

      When a jar contains a module-info.class the scanner breaks with an IllegalArgumentException. This file will never contain Mojo Annotations, so it should can be safely skipped.
      To be forward compatible we could actually skip all classfiles containing a '-', since such files are considered classes with a special purpose.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                rfscholte Robert Scholte
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: