distributionManagment section in profiles do not override default one (maven 3
regression)
------------------------------------------------------------------------------------------
Key: MNG-4684
URL: http://jira.codehaus.org/browse/MNG-4684
Project: Maven 2 & 3
Issue Type: Bug
Components: Profiles
Affects Versions: 3.0-beta-1
Reporter: Matthieu Leclercq
Attachments: pom.xml
If a profile contains a distributionManagement section, it does not override
the default distributionManagment section when the profile is activated.
See attachment, if the "test-deploy" profile is activated, the deployment info
are not overridden. (this can be seen by using : mvn -Ptest-deploy
help:effective-pom)
This work well with maven 2.2.1
I also notice that if the POM does not contain a distributionManagement section
at top-level, then when the profile is activated the distributiuonManagment
section of the profile is correctly used.
--
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