maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Mills (JIRA)" <>
Subject [jira] Commented: (MNG-3660) "combine.children='append'" not being honored in <reporting/>
Date Wed, 09 Dec 2009 22:13:55 GMT


Jeff Mills commented on MNG-3660:

This looks a lot like MNG-3811

> "combine.children='append'" not being honored in <reporting/>
> -------------------------------------------------------------
>                 Key: MNG-3660
>                 URL:
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation, Plugins and Lifecycle, POM
>    Affects Versions: 2.0.9
>            Reporter: Brian Lalor
>             Fix For: 2.2.x
>         Attachments: maven_config_bug.tgz
> I'm trying to combine multiple maven-javadoc-plugin configuration stanzas such that child
modules can append {{<link/>}} elements to those specified by the parent.  This supposedly
can be done by adding the attribute "{{combine.children='append'}}" to the {{<links/>}}
element in the child module's {{<configuration/>}} element, like so:
> {code:xml}
>     <reporting>
>         <plugins>
>             <plugin>
>                 <artifactId>maven-javadoc-plugin</artifactId>
>                 <configuration>
>                     <links combine.children="append">
>                         <link></link>
>                     </links>
>                 </configuration>
>             </plugin>
>         </plugins>
>     </reporting>
> {code}
> What actually happens is that the child module's configuration reflects only the single
{{<link/>}}, and not any {{<link/>}} elements also defined in the parent.  The
output of {{mvn help:effective-pom}} bears this out.  Putting the plugin configuration into
the {{<build/>}} element instead of {{<reporting/>}} shows the correct combination
occurring (except that the report is obviously not configured that way...).
> The attached tarball contains a barebones multi-module project that shows this bug, as
well as the output of {{help:effective-pom}} in separate files.  I've also included the output
of {{mvn -X help:effective-pom}} in the file {{build.log}}.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message