You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2018/01/16 20:57:04 UTC

[jira] [Commented] (MPLUGIN-297) plugin-info.html should contain a better Usage section

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

Hervé Boutemy commented on MPLUGIN-297:
---------------------------------------

simply removing plugins section does not looks a good idea

Perhaps messages can be improved to explain about pluginManagement vs plugins: don't hesitate to provide PR

[https://github.com/apache/maven-plugin-tools/blob/master/maven-plugin-plugin/src/main/resources/plugin-report.properties]

keys are {{report.plugin.usage.pluginManagement}} and {{report.plugin.usage.plugins}}

> plugin-info.html should contain a better Usage section
> ------------------------------------------------------
>
>                 Key: MPLUGIN-297
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-297
>             Project: Maven Plugin Tools
>          Issue Type: Improvement
>          Components: Plugin Plugin
>    Affects Versions: 3.4
>            Reporter: Konrad Windszus
>            Priority: Major
>             Fix For: 3.6
>
>         Attachments: MPLUGIN-297-maven-plugin-tools.patch
>
>
> The usage section in the page "plugin-info.html" being generated by the {{report}} goal of the {{maven-plugin-plugin}} contains the version information of the plugin in both sections {{pluginManagement}} as well as {{plugins}}. I think it is best practice to only give out the version in the {{pluginManagement}}. Therefore please remove the version from  the {{plugins}} section.
> One example for that can be seen in https://maven.apache.org/plugins/maven-compiler-plugin/plugin-info.html.



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