[ http://jira.codehaus.org/browse/MSITE-11?page=comments#action_53795 ] 

Indrajit Raychaudhuri commented on MSITE-11:
--------------------------------------------

Wonderful!

So the <reportingManagement/> idea in [#action_53690] _actually_ makes sense to 
me now and appears clean enough too.

This also appears to be a candidate for docu. somewhere (maybe in maven-model) 
specifying the distinction between <build><pluginManagement/></build> and 
<reportingManagement/> and what should go where (as part of best-practice).


> PluginManagement config is not used by plugins enabled in the site generation 
> phase
> -----------------------------------------------------------------------------------
>
>          Key: MSITE-11
>          URL: http://jira.codehaus.org/browse/MSITE-11
>      Project: Maven 2.x Site Plugin
>         Type: Bug

>  Environment: maven-site-plugin 2.0-beta-3-SNAPSHOT
>     Reporter: Indrajit Raychaudhuri

>
>
> 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 contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to