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

Denis Cabasson commented on MNG-1931:
-------------------------------------

In relation with MNG-1855:

when using a report plugin needing a dependency (
checkstyle, set as in:
http://maven.apache.org/plugins/maven-checkstyle-plugin/tips.html, ont sure 
this example is working, but no time to test it, sorry.)

extra jars need to be added to classpath. It's not possible right now, cause 
report part has no dependencies child.

Maybe plan to add this to reportManagement?


> add a reportingManagement section
> ---------------------------------
>
>          Key: MNG-1931
>          URL: http://jira.codehaus.org/browse/MNG-1931
>      Project: Maven 2
>         Type: Bug

>   Components: POM, Design, Patterns & Best Practices
>  Environment: maven-site-plugin 2.0-beta-3-SNAPSHOT
>     Reporter: Indrajit Raychaudhuri
>      Fix For: 2.1

>
>
> 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

Reply via email to