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
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
Accepted answer
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