You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by pranay agarwal <st...@gmail.com> on 2012/05/25 13:39:42 UTC
disabling update from svn in maven
Hi, i have added the code in my pom.xml to update from svn every time i
take a build (using scm and build-number plugins) so when i run mvn install
, it does so ..However is there any way to disable this update without
removing the entry in pom ?
Thanks.
Pranay
Re: disabling update from svn in maven
Posted by Wayne Fay <wa...@gmail.com>.
> Hi, i have added the code in my pom.xml to update from svn every time i
> take a build (using scm and build-number plugins) so when i run mvn install
> , it does so ..However is there any way to disable this update without
> removing the entry in pom ?
If you don't want to perform some part of your build process every
time you run a build, you might need to look into profiles. Having
said that, profiles can be very easily abused, so please use some
common sense when heading down this path.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org