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

add a reportingManagement section

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: