Re: ClearCase UCM baseline release before bumping version
I have found a way to use maven to create both a release baseline (non-SNAPSHOT) and a new development baseline. It isn't pretty and I'd still like to know if there's a simpler way. Here are the steps I followed to release version and 1.0.1 and start work on 1.0.2-SNAPSHOT: 1) Create a ClearCase UCM activity in an up to date development view with no checkouts. 2) Run mvn release:prepare specifying the same release version number for both release and new development (1.0.1). The second round of commits will fail, but that's okay. 3) Undo checkouts, deliver release POMs and baseline (do NOT run release:clean). 4) Run mvn release:rollback to restore the original development version (1.0.1-SNAPSHOT). 5) Run mvn release:prepare specifying the release version (1.0.1) and the desired new development version (1.0.2-SNAPSHOT). Be sure to select a new tag label. 6) Deliver new development POMs, baseline and recommend the baseline for new development. It seems to me that scm:tag should be able to deliver and baseline the ClearCase project when using ClearCase UCM. Perhaps this could be an option. janee wrote: Is there a way to configure release:prepare to deliver and baseline the release POMs after it commits and tags them and before it bumps the POMs to the new development version and commits them? I am using ClearCase LT UCM on Windows. -- View this message in context: http://www.nabble.com/ClearCase-UCM-baseline-release-before-bumping-version-tp15312730s177p15338144.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configure SCM for both ClearCase LT and UCM?
The solution appears to be to set up your clearcase-settings.xml with an entry like: clearcase-settings clearcaseTypeUCM/clearcaseType clearcaseLTtrue/clearcaseLT viewstoreD:\aa/viewstore /clearcase-settings where viewstore indicates the path to the directory containing your snapshot views. The clearcaseLT tag isn't documented, but is mentioned in: http://jira.codehaus.org/browse/SCM-135 http://jira.codehaus.org/browse/SCM-135 janee wrote: The ClearCase SCM provider accepts a clearcaseType of either UCM or LT. How do I configure it for both ClearCase LT and UCM? -- View this message in context: http://www.nabble.com/Configure-SCM-for-both-ClearCase-LT-and-UCM--tp15299898s177p15312674.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ClearCase UCM baseline release before bumping version
Is there a way to configure release:prepare to deliver and baseline the release POMs after it commits and tags them and before it bumps the POMs to the new development version and commits them? I am using ClearCase LT UCM on Windows. -- View this message in context: http://www.nabble.com/ClearCase-UCM-baseline-release-before-bumping-version-tp15312730s177p15312730.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Configure SCM for both ClearCase LT and UCM?
The ClearCase SCM provider accepts a clearcaseType of either UCM or LT. How do I configure it for both ClearCase LT and UCM? -- View this message in context: http://www.nabble.com/Configure-SCM-for-both-ClearCase-LT-and-UCM--tp15299898s177p15299898.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]