Robert Scholte created MPLUGIN-304:
--------------------------------------
Summary: MojoAnnotationsScanner should ignore special classes
Key: MPLUGIN-304
URL: https://issues.apache.org/jira/browse/MPLUGIN-304
Project: Maven Plugin Tools
Issue Type: Improvement
Components: maven-plugin-tools-annotations
Reporter: Robert Scholte
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)