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

MojoAnnotationsScanner should ignore special classes

    XMLWordPrintableJSON

Details

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

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

              Dates

                Created:
                Updated:
                Resolved: