You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2012/09/16 17:06:23 UTC

[jira] (MSITE-443) add a reportingManagement section

     [ https://jira.codehaus.org/browse/MSITE-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed MSITE-443.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

this is fixed in Maven 3 + maven-site-plugin-3

see [explanations|http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Version_Resolution]
                
> add a reportingManagement section
> ---------------------------------
>
>                 Key: MSITE-443
>                 URL: https://jira.codehaus.org/browse/MSITE-443
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>         Environment: maven-site-plugin 2.0-beta-3-SNAPSHOT
>            Reporter: Indrajit Raychaudhuri
>             Fix For: 3.0
>
>
> Consider the following POM:
> {code:xml}
> <!-- ... ... -->
> <!-- ... ... -->
> <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>
> <!-- ... ... -->
> {code}
> {{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 message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira