You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2016/07/19 18:41:20 UTC
[jira] [Created] (MPLUGIN-304) MojoAnnotationsScanner should ignore
special classes
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)