Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How do I run Maven release:perform with RTC?

 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!  

0 votes



One answer

Permanent link
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

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,074

Question asked: Dec 17 '13, 1:00 p.m.

Question was seen: 7,053 times

Last updated: Dec 28 '13, 10:12 a.m.

Confirmation Cancel Confirm