You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/02/19 17:18:00 UTC

[jira] [Commented] (MARCHETYPES-47) MyMojo contains unused import

    [ https://issues.apache.org/jira/browse/MARCHETYPES-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369339#comment-16369339 ] 

Hudson commented on MARCHETYPES-47:
-----------------------------------

SUCCESS: Integrated in Jenkins build maven-archetypes #122 (See [https://builds.apache.org/job/maven-archetypes/122/])
[MARCHETYPES-47] removed unused import (hboutemy: [http://svn.apache.org/viewvc/?view=rev&rev=1824781])
* (edit) maven-archetype-plugin/src/main/resources/archetype-resources/src/main/java/MyMojo.java


> MyMojo contains unused import
> -----------------------------
>
>                 Key: MARCHETYPES-47
>                 URL: https://issues.apache.org/jira/browse/MARCHETYPES-47
>             Project: Maven Archetype Bundles
>          Issue Type: Improvement
>          Components: Maven Plugin Archetype
>            Reporter: Andreas Kohn
>            Priority: Trivial
>             Fix For: 1.3
>
>         Attachments: mymojo-remove-unused-import.diff
>
>
> I just used the "plugin" archetype to create a new plugin, and noticed in the generated MyMojo.java that eclipse warned about an unused import of {{org.apache.maven.plugins.annotations.ResolutionScope}}.
> Patch to remove this import attached.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)