maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Demande (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-1931) add a reportingManagement section
Date Fri, 13 Nov 2009 10:57:56 GMT

    [ http://jira.codehaus.org/browse/MNG-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198218#action_198218
] 

Thomas Demande commented on MNG-1931:
-------------------------------------

Quite painful in combination with MJAVADOC-268, where it's needed to be able to force a version.

> add a reportingManagement section
> ---------------------------------
>
>                 Key: MNG-1931
>                 URL: http://jira.codehaus.org/browse/MNG-1931
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Design, Patterns & Best Practices, POM
>         Environment: maven-site-plugin 2.0-beta-3-SNAPSHOT
>            Reporter: Indrajit Raychaudhuri
>             Fix For: 3.x
>
>
> 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

        

Mime
View raw message