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 19:28:20 UTC

[jira] [Closed] (MPLUGIN-304) MojoAnnotationsScanner should ignore special classes

     [ https://issues.apache.org/jira/browse/MPLUGIN-304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MPLUGIN-304.
----------------------------------
       Resolution: Fixed
         Assignee: Robert Scholte
    Fix Version/s: 3.5

Fixed in [r1753419|http://svn.apache.org/viewvc?rev=1753419&view=rev]

> 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
>            Assignee: Robert Scholte
>             Fix For: 3.5
>
>
> 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)