Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
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.
Issue Links
| This issue is duplicated by: | ||||
| MNG-3385 | PluginManagement does not work for report-plugins |
|
|
|
| This issue relates to: | ||||
| MSITE-523 | Configuring build and reporting goals (under reportPlugins) requires duplication |
|
|
|
| MNG-2578 | Make it possible to set default versions for reporting-plugins (i.e. plugins under <reporting>) |
|
|
|
| This issue is related to: | ||||
| MSITE-444 | reporting section should allow additional dependencies in plugins as well |
|
|
|
| MSITE-516 | reportPlugins should/could inherit more information from pluginManagement |
|
|
|
This might be related to MNG-1855 but it has been raised for checkstyle-plugin module. It's true for other plugins as well.