[
https://jira.codehaus.org/browse/MRELEASE-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MRELEASE-438.
-----------------------------------
Resolution: Won't Fix
Please refer to
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.
> A parent pom's "build.pluginManagement" plugin configuration is stripped from
> released pom and can't be inherited.
> ------------------------------------------------------------------------------------------------------------------
>
> Key: MRELEASE-438
> URL: https://jira.codehaus.org/browse/MRELEASE-438
> Project: Maven Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.0-beta-8
> Environment: Windows XP SP3, JSDK 1.6.0_12
> Reporter: Robert Clark
> Attachments: parent-artifact-1.pom, parent-artifact-2.pom, pom.xml
>
>
> This behaviour is apparent in 2.0.10 and 2.1.0, but when I rolled back to
> 2.0.9 it worked as intended.
> Start with a parent pom of packaging "pom". In the <build> section, add a
> <pluginManagement> section containing anything (I tried a simple
> maven-antrun-plugin to echo something in verify phase, but anything will do).
> Ensure the project containing this pom is under source control. Perform a
> release:prepare and release:perform, NOT of snapshot versions. At this stage
> you can see the released pom doesn't have the pluginManagement section as it
> should.
> Create a child project whose parent is the released parent as above. Add the
> appropriate plugin identifier to the build section so that pluginManagement
> above is pulled in. Execute "mvn help:effective-pom" to see that no
> configuration is found.
> This bug doesn't become apparent until releasing, as SNAPSHOT poms don't have
> the pluginManagement stripped.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)