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
-
Number of attachments :
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.
This might be related to MNG-1855 but it has been raised for checkstyle-plugin module. It's true for other plugins as well.