[MNG-5155] 'inherited' flag of report sets ignored: added unit test

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1163244 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Herve Boutemy 2011-08-30 14:56:39 +00:00
parent 99994254c7
commit a70bfbd89b
2 changed files with 40 additions and 0 deletions

View File

@ -58,4 +58,21 @@ under the License.
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<artifactId>MNG-5115</artifactId>
<reportSets>
<reportSet>
<id>default-inherited</id>
<reports>
<report>to-be-inherited</report>
</reports>
</reportSet>
<!-- reportSet with inherited=false is not here -->
</reportSets>
</plugin>
</plugins>
</reporting>
</project>

View File

@ -54,4 +54,27 @@ under the License.
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<artifactId>MNG-5115</artifactId>
<reportSets>
<reportSet>
<id>default-inherited</id>
<reports>
<report>to-be-inherited</report>
</reports>
</reportSet>
<reportSet>
<id>inherited-false</id>
<inherited>false</inherited>
<reports>
<report>not-to-be-inherited</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>