[ http://jira.codehaus.org/browse/MNG-1857?page=comments#action_53701 ] 

Indrajit Raychaudhuri commented on MNG-1857:
--------------------------------------------

Is there a way to make site reporting honor plugin config in <build/>?

We can have a <reportingManagement/> element to config reporting as such.
But then we would land up in a situation where certain configurations have to 
be repeated in <pluginManagement/> as well as <reportingManagement/>.

The solution would serve the purpose but won't be as elegent :)


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

>   Components: maven-site-plugin
>     Versions: 2.0.2
>  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