How do I run Maven release:perform with RTC?
Bruno EugĂȘnio (11●3●5)
| asked Dec 17 '13, 1:00 p.m.
edited Dec 28 '13, 10:12 a.m. by Geoffrey Clemm (30.1k●3●30●35)
Hi all,
Some projects of my company are migrating from SVN to RTC and some of them use the maven release prepare and release perform from maven release plugin.
And I can not understand how I can configure the integration clearly because documentation here (http://maven.apache.org/scm/maven-scm-providers/maven-scm-provider-jazz/) and here (https://jazz.net/forum/questions/39653/maven-scm-plugin-for-rtc?sort=votes&page=10) are confusing.
Is there someone using this scenario using RTC V 4.0.3 + Maven with release-perform?
Does anybody know a useful (IBM or not) manual/tutorial to set up this?
Thanks!
|
One answer
1. mvn release:clean
3. scm login -r https://clm.jkebanking.net:9443/ccm -u clmadmin -P clmadmin scm login -r https://localhost:9443/ccm -u jb -P password 4. mvn -B release:prepare -DautoVersionSubmodules=true -DreleaseVersion=1.1.6 -DdevelopmentVersion=2.1.1-SNAPSHOT mvn -B release:prepare -DautoVersionSubmodules=true -DreleaseVersion=1.1.8 -DdevelopmentVersion=2.1.4-SNAPSHOT mvn -B release:prepare -DautoVersionSubmodules=true -DreleaseVersion=1.1.13 -DdevelopmentVersion=2.1.24-SNAPSHOT 5. scm create snapshot --repository-uri https://clm.jkebanking.net:9443/ccm --username clmadmin --password clmadmin --name NameOfSnapshot --description "[maven-scm] copy for tag " API_WS scm create snapshot --repository-uri https://localhost:9443/ccm --username jb --password password --name Snapshot_jb_04 --description "no desc" API_WS 5-2. mvn deploy 6. Modify release.properties like below. completedPhase=scm-commit-release -> completedPhase=scm-tag 7. Redume release:prepare command. mvn -B -Dresume=true release:prepare 8. Run release:perform >mvn -DworkingDirectory=/tmp/maven release:perform 9. Deliver from the repository workspace (API_WS) to the stream. Unfortunately, you have to deliver each project one by one because of the flatted structure. > cd Pom and scm deliver --overwrite-uncommitted cd Parent and scm deliver --overwrite-uncommitted cd Child and scm deliver --overwrite-uncommitted |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.