Details
Description
'm trying to set up reporting plugin inheritance and not having any luck. I'm using Maven 2.0.9 on Java 1.6.0_07. Here is my problem:
parent/pom.xml has
<reporting> <plugins> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <silent>true</silent> <links> <link>parentLink</link> </links> </configuration> </plugin> </plugins> </reporting>
child/pom.xml has
<reporting> <plugins> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <links combine.children="append"> <link>childLink</link> </links> </configuration> </plugin> </plugins> </reporting>
After installing the parent, mvn help:effective-pom for the child yeilds:
<reporting> <outputDirectory>target/site</outputDirectory> <plugins> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <links> <link>childLink</link> </links> </configuration> </plugin> </plugins> </reporting>
I expected it to look like:
<reporting> <outputDirectory>target/site</outputDirectory> <plugins> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <silent>true</silent> <links> <link>parentLink</link> <link>childLink</link> </links> </configuration> </plugin> </plugins> </reporting>
I'd be happy to make a test case for this if someone would point me in the right direction.
Attachments
Attachments
Issue Links
- is duplicated by
-
MJAVADOC-285 "combine.children='append'" not being honored in <reporting/>
- Closed
- relates to
-
MNG-693 Reporting stanza is not inherited from parent
- Closed