You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schulte (JIRA)" <ji...@codehaus.org> on 2011/08/13 15:38:42 UTC

[jira] Updated: (MNG-5155) 'inherited' flag of report sets ignored.

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

Christian Schulte updated MNG-5155:
-----------------------------------

    Attachment: MNG-5155.zip

Example project demonstrating the issue. Executing 'mvn help:effective-pom' the report set with id 'aggregate' is inherited to the 'module-a' model.

> 'inherited' flag of report sets ignored.
> ----------------------------------------
>
>                 Key: MNG-5155
>                 URL: https://jira.codehaus.org/browse/MNG-5155
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.0.3
>            Reporter: Christian Schulte
>         Attachments: MNG-5155.zip
>
>
> Defining a report plugin in a parent pom like
> {code:xml}
> <reporting>
>   <plugins>
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-javadoc-plugin</artifactId>
>       <reportSets>
>         <reportSet>
>           <id>javadoc</id>
>           <reports>
>             <report>javadoc</report>
>             <report>test-javadoc</report>
>           </reports>
>         </reportSet>
>         <reportSet>
>           <id>aggregate</id>
>           <inherited>false</inherited>
>           <reports>
>             <report>aggregate</report>
>             <report>test-aggregate</report>
>           </reports>
>         </reportSet>
>       </reportSets>
>     </plugin>
>   </plugins>
> </reporting>
> {code}
> the report set with id 'aggregate' will appear in the effective model of child modules although the 'inherited' flag is set to false.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira