Hello to all,
I recently strugled with some problem with maven build configuration.
I have configuration with 2 step. The first step is multi-module maven build (clean install goal) with enabled "incremental building" feature.
The second step is a call of "org.codehaus.mojo:tomcat-maven-plugin:1.1:redeploy" plugin on one of the war maven module (not multi-module).
The first step is successfully executed but after publishing artifacts execution TeamCity performs "Purging installed artifacts". This goal deleted
recently builded artifacts from "/root/.m2/repository". The second step failed because of missing some artifacts that was previously cleared by step 1.
How can I prevent "Purging installed artifacts"?