Integrating RTC, Build Forge and Maven
I'm looking for some advice on how to properly configure RTC BF and Maven. There are multiple ways of setting this up and I want to make sure nothing is being overlooked.
RTC is used for version control/builds/ci and is integrated with Build Forge to manage all builds. The integration is done through the JazzSCM adaptor, so build requests come from RTC build definitions.
Maven is the standard for all build & dependency configurations and is directly tied to artifact repositories.
Maven projects are stored in RTC components: projects aren't nested but there could be 2+ projects in one RTC component.
The goals for this integration are the following:
1. The ability execute specific Maven projects at build time.
2. The ability to only build changed projects (similar to what "build only if there are changes accepted" provides for components)
3. Build results should report/list all the project level artifact details that were impacted during the build. Logs provide some of this at a component level, but ultimately I would like to see all the [maven] artifacts associated for a specific build request.
Goal 3 is about providing reports on build results: being able to answer the questions 'What [maven projects] went into this build?', 'What [maven projects] changed from the previous build?'. Goals 1 & 2 are there in order to support goal 3.
As mentioned, there are multiple ways of configuring this... one could use the JazzSCM adaptor or invoke the scm cli. Maven goals can be used with the jazz scm plug-in, or you could just do without.
Some guidance or direction on how to achieve this would be extremely useful.
|
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Oct 08 '12, 10:14 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
David,
this might be a good starter: https://www.ibm.com/developerworks/mydeveloperworks/blogs/32f9d388-7f35-4598-a08a-7cd6c0bd3841/entry/a_jazz_based_maven_build_with_ibm_rational_team_concert_v4_using_jazz_hub27 There is also some documentation on how to set up RTC build with maven in the integrations section, I believe. I also found some hits in the libary that you might want to look at. https://jazz.net/search_results.jsp?q=UNSUPPORTED#page=0&type=type%3DDocument-LibraryItem&q=Maven I have helped to set it up a few times, but I have no real experience with BuildForge. Build publishing is described in the help. You can publish links and content. Here is a description that goes a bit beyond that: https://jazz.net/library/article/797 |
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.