If you use failsafe-maven-plugin to run your integration tests then -DskipITs
will skip only the integration tests (i.e. failsafe tests only) -DskipTests will skip the surefire and failsafe tests while -Dmaven.test.skip=true will skip compiling the tests as well as running them (surefire or failsafe) On the other hand, if you use, e.g. maven-invoker-plugin to run your integration tests, then you need to look into how that plugin is configured -Stephen 2009/6/4 Anders Hammar <and...@hammar.net> > Hi, > > My understanding was that -Dmaven.test.skip=true tells the surefile > plugin to skip the tests. What phase that the plugin is bound to is a > different story. So, if you have the surefire plugin bound to the > integration phase (it's not by default), you can turn the tests of by > that flag. > Have you tested and it doesn't work? I normally keep the integration > tests in a separate module and therefore haven't had the need to be > able to turn them off. > > /Anders > > On Thu, Jun 4, 2009 at 07:17, Farrukh Najmi > <farr...@wellfleetsoftware.com> wrote: > > Hi Guys, > > > > I see that specifying -Dmaven.test.skip=true skips units tests vut does > not > > skip integration tests. > > Is there a way to specify an option to skip integration tests? If not, is > > there an open issue to request > > a way to do this? Thanks for your help. > > > > -- > > Regards, > > Farrukh > > > > Web: http://www.wellfleetsoftware.com > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >