POM snippet for plugin usage via pluginManagement is missing <plugins> container
--------------------------------------------------------------------------------
Key: MPLUGIN-83
URL: http://jira.codehaus.org/browse/MPLUGIN-83
Project: Maven 2.x Plugin Tools
Issue Type: Bug
Components: Plugin Plugin
Reporter: Benjamin Bentmann
Priority: Trivial
Attachments: pluginmanagement.patch
Currently, plugin-info.html says:
{noformat}
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugin>
<groupId>org.codehaus.mojo<groupId>
<artifactId>dummy-maven-plugin<artifactId>
<version>1.0<version>
</plugin>
...
</pluginManagement>
{noformat}
but should be
{noformat}
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo<groupId>
<artifactId>dummy-maven-plugin<artifactId>
<version>1.0<version>
</plugin>
...
<plugins>
</pluginManagement>
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira