Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-443

add a reportingManagement section

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      maven-site-plugin 2.0-beta-3-SNAPSHOT

      Description

      Consider the following POM:

      <!-- ... ... -->
      <!-- ... ... -->
      <build>
          <pluginManagement>
              <plugin>
                  <groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-javadoc-plugin</artifactId>
                  <configuration>
                  <author>false</author>
                  </configuration>
              </plugin>
          </pluginManagement>
      </build>
      <!-- ... ... -->
      <!-- ... ... -->
      <reporting>
          <plugins>
              <plugin>
                  <groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-javadoc-plugin</artifactId>
              </plugin>
          </plugins>
      </reporting>
      <!-- ... ... -->
      

      mvn site:site doesn't honor the javadoc configuration specified in the <pluginManagement/> section.
      However, mvn javadoc:javadoc honors them.

      This is true not just for javadoc but other plugins like checkstyle as well.

      I guess, the <reporting/> section doesn't use the <pluginManagement/> section at all.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                indrajitr Indrajit Raychaudhuri
              • Votes:
                86 Vote for this issue
                Watchers:
                75 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: