Markus Spann created MNG-5220:
---------------------------------
Summary: Missing ability to override or append to
developers/contributors sections in POM
Key: MNG-5220
URL: https://jira.codehaus.org/browse/MNG-5220
Project: Maven 2 & 3
Issue Type: Bug
Components: POM
Affects Versions: 3.0.3
Environment: mvn -version ==> Apache Maven 3.0.3 (r1075438; 2011-02-28
18:31:09+0100)
java -version ==>
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.10) (6b20-1.9.10-0ubuntu1~10.04.2)
OpenJDK Server VM (build 19.0-b09, mixed mode)
cat /proc/version ==> Linux version 2.6.32-36-generic (buildd@zirconium) (gcc
version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #79-Ubuntu SMP Tue Nov 8 22:29:26 UTC
2011
Reporter: Markus Spann
Priority: Minor
The following applies to developers (dev) and contributors (contrib) elements
in Maven POMs:
A dependant POM inherits both sections from its parent.
If the child POM specifies its own section having at least one entry, the
parent's information is overridden.
If the child POM specifies an empty section (e.g. <contributors/>), still the
parent's information is included in the effective POM.
The addition of append and override support for these sections would be
desirable.
Attributes to control inheritance behavior exists for list-type plugin
configurations (combine.children, combine.self).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira