It's all about the answers!

Ask a question

Use of Maven 2 and RTC


Adrian Daniels (6312120) | asked Mar 26 '09, 8:17 a.m.
Hi,
If as a project you decide to use Maven 2 to handle your builds,
package, site etc is there ever an appropriate situation where you would
use a mix of traditional Ant based builds and Maven at the same time ?

I am thinking that some teams would use traditional Ant and publish jars
in to Jazz SCM and optionally into the Maven repository for Maven based
teams to pick up.

Would you even bother to version control jars produced for the Maven
repository ?

Just trying to get my head around where go all Maven is appropriate or
where a mix may fit

Cheers,
Adrian

2 answers



permanent link
Ralph Schoon (63.1k33645) | answered Dec 08 '09, 5:47 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

you might want to consider attaching a hyperlink to the build in RTC that connects and points to your generated data in maven. This would allow full traceability from the build to the artifacts. Creating a release from the build would make it possible to file work items against this build and allow to know every role working in it to access the right data across RTC, Maven and other tools you might use.

Just some thoughts.

Ralph

permanent link
Shanthi Natarajan (1111) | answered Dec 07 '09, 10:46 a.m.
Hi Adrian,

I am in the same boat trying to assess moving to Maven2 and then using the Jazz build. We currently use maven 1.0.2. I haven't found any build tool offering clarity to release management as maven.
I would not understand .. why there is a need to publish jars to Jazz SCM.
We definitely version jars in the maven repository .. because the jars generated in the project (custom code) is deployed to maven repo and the deploys fetch the jars from the repo to an environment.

Hope this answers your queries to an extent ..
Cheers
Shanthi

Hi,
If as a project you decide to use Maven 2 to handle your builds,
package, site etc is there ever an appropriate situation where you would
use a mix of traditional Ant based builds and Maven at the same time ?

I am thinking that some teams would use traditional Ant and publish jars
in to Jazz SCM and optionally into the Maven repository for Maven based
teams to pick up.

Would you even bother to version control jars produced for the Maven
repository ?

Just trying to get my head around where go all Maven is appropriate or
where a mix may fit

Cheers,
Adrian

Your answer


Register or to post your answer.