[ http://jira.codehaus.org/browse/MRELEASE-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251255#action_251255 ]
Steffen Grunwald commented on MRELEASE-467: ------------------------------------------- I encountered a scenario similar to that of Stevo where neither Oliver's proposal nor ${project.version} fits. I created 2 testcases and a patch for the rewriting of plugin/dependencies elements. > Release preparation should update version of plugin dependencies > ---------------------------------------------------------------- > > Key: MRELEASE-467 > URL: http://jira.codehaus.org/browse/MRELEASE-467 > Project: Maven 2.x Release Plugin > Issue Type: New Feature > Components: prepare > Affects Versions: 2.0-beta-9 > Reporter: Stevo Slavic > Attachments: whizbang.zip > > > Currently plugin prepare release will update project dependencies, but not > project plugin dependencies. Please support updating version of plugin > dependencies as part of the prepare goal. > This would be useful if one has a multi-module project with one module > defining plugin with dependency to other project module, e.g. like in > suggested handling of sharing checkstyle configuration between modules of a > project (see > http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html > and attached eclipse project). There one build resources module contains > checkstyle configuration to be shared, while parent module inherited by all > other project modules (except one with the checkstyle configuration) defines > checkstyle plugin with added dependency to build resources module. Parent > module defines build resources module as it's module, and both are built at > the same time, likely all of them have same version. Currently version of > plugin dependency version doesn't get updated automatically by prepare 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