Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-83

POM snippet for plugin usage via pluginManagement is missing <plugins> container

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.4
    • Plugin Plugin
    • None
    • Patch

    Description

      Currently, plugin-info.html says:

      <!-- 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>
      

      but should be

      <!-- 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>
      

      Attachments

        1. pluginmanagement.patch
          2 kB
          Benjamin Bentmann

        Activity

          People

            siveton Siveton Vincent
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: