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

Code Coverage Extension in Maven Builds

RTC ver 3.0.1.4
RAD v 8.0.4
I have CI builds running using the RTC Build Toolkit on a remote Build machine and now wish to include code coverage checking and reporting as part of the Build.
My Build scripts are maven but the examples i've seen in the help text all relate to using ANT for this. does anyone have knowledge ot experience of Integrating this on maven builds or can point me at relevant documentation on this.

Thanks

0 votes


Accepted answer

Permanent link

Hi David,

Please have a look at the following links :

http://phkrief.wordpress.com/2010/09/24/when-maven-meets-rational-team-concert/

https://jazz.net/wiki/bin/view/Main/MavenBuild

It boils down to the following :

If you want to make your build script “Jazz aware” you will need to (1) import the maven-antrun-plugin used to call ANT scripts from a Maven script and (2) insert Build Toolkit ANT calls appropriately in the pom.xml files.

Hope this helps.

Cheers,

Luc

David Beange selected this answer as the correct answer

0 votes

Comments

Hi Luc

Good to hear from you again. Thanks for your answer i'll now look further at the maven-antrun plugin.

Thanks

David

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
× 10,943

Question asked: Feb 19 '13, 10:14 a.m.

Question was seen: 3,970 times

Last updated: Feb 20 '13, 7:55 a.m.

Confirmation Cancel Confirm