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 2018/03/16 22:38:06 UTC
[jira] [Closed] (MRELEASE-241) Need a tagByProject that works like
commitByProject
[ https://issues.apache.org/jira/browse/MRELEASE-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MRELEASE-241.
-----------------------------------
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.
> Need a tagByProject that works like commitByProject
> ---------------------------------------------------
>
> Key: MRELEASE-241
> URL: https://issues.apache.org/jira/browse/MRELEASE-241
> Project: Maven Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.0-beta-6
> Reporter: javajedi
> Priority: Major
> Attachments: AbstractReleasePhase.java, maven-release-2.0-beta-7-cfs.patch, maven-release-2.0-beta-7-cfs.zip, releaseExample.tar.gz
>
>
> We have kind of an odd project layout because some of our developers only use Eclipse for CVS, which doesn't handle shared poms that are not part of an actual project very well. As a result, we have a project structure that looks something like this:
> {noformat}
> |-- a
> | `-- z
> | |-- pom.xml
> | `-- src
> | `-- main
> | `-- java
> | `-- Test.java
> `-- poms
> |-- a
> | `-- pom.xml
> `-- pom.xml
> {noformat}
> Where {{poms/pom.xml}} is the top-level shared pom, {{poms/a/pom.xml}} is its child, and {{a/z/pom.xml}} is a child of {{poms/a/pom.xml}}.
> We have never got the release:prepare goal to work successfully on this project. I discovered the commitByProject configuration property, which got us a lot further when I set it to true. However, now there is a problem with the CVS tag that it creates, because it runs "cvs tag" in the working directory, and only once, instead of once for each project. We need that tagging to work the same as the committing, where it executes the tag command once for each pom. I'm attaching a sample project that demonstrates the problem when you run "mvn release:prepare" on it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)