Any clear step by step example of how to use the maven-release-plugin with the Jazz SCM provider?
I have been trying to evaluate the value of maven release plugin along with the Jazz SCM provider. As post
https://jazz.net/forum/questions/136583/how-do-i-run-maven-releaseperform-with-rtc
indicates, resources:
http://maven.apache.org/scm/maven-scm-providers/maven-scm-provider-jazz/ and
https://jazz.net/forum/questions/39653/maven-scm-plugin-for-rtc?sort=votes&page=10 as well as others are confusing and at best incomplete. I have been having a rather difficult time with this. The command:
mvn -B -Dresume=false -DworkingDirectory=/directory release:prepare release:perform
hangs and nor does it alter the working directory. Jazz indicates the working directory is defined as the location I have executed maven.
So the question. Is there a fully explained example of how to use the Maven release plugin including pom file, set up, settings file, set my step command lines, eclipse support if possible etc. ?? Otherwise I am not sure how anyone can use this in its currently documented form.
There are a lot of unanswered posts like
https://jazz.net/forum/questions/164161/hi-i-am-using-rtc-401-and-i-am-trying-to-use-the-scm-jazz-provider-in-my-maven-release-plugin-but-some-how-its-not-taking-my-scm-url-for-connection
so hopefully this one will get answered.
Thanks
7 answers
Comments
Comments
Comments
Comments
https://jazz.net/forum/questions/35231/maven-multi-module-projects-in-eclipse
I tried the suggestion in the first link. Modifying release.properties completedPhase to scm-tag and rerunning the command with -Dresume=true works but the unanswered question of having to change this manually is unanswered int he post. Is this a bug or an enhancement?
Nick Edgar's reply in the second link was 05/03/2010 so the answer might be dated. The maven-release-plugin has supported flat structures since version 2.5. Perhaps the implementation for RTC has not caught up?