You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/09/06 22:45:07 UTC

[jira] [Closed] (MRELEASE-544) prepare-with-pom : inherited plugins configuration are lost in release-pom.xml

     [ https://issues.apache.org/jira/browse/MRELEASE-544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MRELEASE-544.
-----------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still applies, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.

> prepare-with-pom : inherited plugins configuration are lost in release-pom.xml
> ------------------------------------------------------------------------------
>
>                 Key: MRELEASE-544
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-544
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: prepare-with-pom
>    Affects Versions: 2.0
>         Environment: Maven 2.2.1
>            Reporter: Thomas Sauzedde
>         Attachments: sample-projects.tgz
>
>
> Like in the provided sample projects, I have the following scenario : 3 modules (sibling) with the following inheritage graph :
> grandfather  <=== father <=== child
> - grandfather (pom module) has
>     * a dependencyManagement block with some exclusions
>     * a pluginManagement block
> - father (pom module) adds a plugins block to configure the compiler plugin
> - child is a basic (empty) jar module
> when mvn release:prepare-with-pom is performed on "child" the checked-in (svn) release-pom.xml has all the dependencies resolved BUT all the inherited plugins configuration is lost :-(
> To reproduce this with the provided sample projects : 
> - perform a mvn:install on grandfather & father
> - import "child" in your svn repo
> - change the scm block on "child" in order to checkout/in from your svn
> - perform a mvn release:prepare-with-pom (on child)
> You will see that in your tagged release-pom.xml the plugins configuration is lost.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)