Profile in POM does not modify dependencies
-------------------------------------------
Key: MNG-2597
URL: http://jira.codehaus.org/browse/MNG-2597
Project: Maven 2
Issue Type: Bug
Components: Profiles
Affects Versions: 2.0.4
Reporter: Steven Coco
Attachments: artifact.zip
When some plugin is declared in the main build with a given set of
dependencies, some profile which also declares that plugin in its build
section is not able to augment the dependencies: only the dependencies
specified in the main build declaration are used.
A test case is enclosed.
To see the bug: copy the contents of one of "broken-pom-1", "broken-pom-2",
or "working-pom" to the pom.xml file, and then Execute Maven on the POM's
default goal.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira