Building and deploying Maven project
I'm moving a maven project which previously used Clearcase and Buildforge for scm and build management to RTC.
I'm trying to understand the process for building and deploying a project when using RTC. The project has a build definition which calls a Maven goal which builds the project up to Nexus. What is the best practice for then pulling this content from Nexus and deploying to each of my environments?
- Should I use an additional build definition for each of the environments i want to deploy my application to and call immediately after the Maven deploy completes
- Should i manage deploy to environments using Buildforge once the Maven deploy completes
Or is there some other approach which is standard?
Thanks.