[
https://issues.apache.org/jira/browse/MPLUGIN-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327787#comment-16327787
]
Hervé Boutemy edited comment on MPLUGIN-297 at 5/20/18 9:49 AM:
----------------------------------------------------------------
simply removing plugins section does not looks a good idea
Perhaps messages can be improved to explain about pluginManagement vs plugins =
"To define the plugin version in your parent POM" vs "To use the plugin goals
in your POM or parent POM": 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}}
was (Author: hboutemy):
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)