No, you must not do that. One way to handle this is to do real releases that you hand over to testing/QA. So when they say ok to a build, that's the build you give to operations (or rather, they should pull it from the repo).
If you don't mind spending money, there is staging support in Nexus Pro which adds QA features that you could take advantage of for this. /Anders On Tue, Sep 14, 2010 at 11:59, Prashant Bhate < [email protected]> wrote: > Hi, > > Is there any way in maven to deploy Artifact that is build with SNAPSHOT > version to Release version ( = remove '-SNAPSHOT' ) without any rebuild ? > > There is argument between operations and testing team. where in Testing > team tests with SNAPSHOT version, and after several bugfixes and SNAPSHOT > rebuilds when it is actually operation ready, build team does a Release > build [with SNAPSHOT removed] and hands it over to Operations. However > Operation team is not ready to accept the Release build as it is not actual > tested binary. So idea is to copy Final SNAPSHOT version from snapshot > repository to release repository by just pruning SNAPSHOT in versions in > pom.xml > > Please suggest if there is any better way than this? > Thanks in advance > > Regards, > Prashant Bhate >
