Re: How to skip testResources execution when tests are skipped

2009-11-25 Thread Nick Stolwijk
Skipping based on the skipTests parameter is a plugin issue. As far as I can see there is no way to skip the execution outside the plugin. I also didn't find an issue requesting this, so if you want to see this, please file an issue. Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus

Re: How to skip testResources execution when tests are skipped

2009-11-25 Thread Anders Hammar
Also, I really don't think that setting the skipTests param in the configuration for the surefire plugin would affect the compiler plugin. At least not without the compiler plugin reading the configuration of the surefire plugin. I don't have enough plugin experience to say if that's even

Re: How to skip testResources execution when tests are skipped

2009-11-25 Thread Stephen Connolly
skipTests will compile the tests but not run them there is a second property -Dmaven.test.skip=true which is picked up by the compiler plugin and completely ignores the tests. The feature request for the resources plugin would be to honour the maven.test.skip property. 2009/11/25 Anders

How to skip testResources execution when tests are skipped

2009-11-24 Thread maik . ebert
Hello everyone, is it possible to remove the maven-resource-plugin with its testResources mojo execution from the lifecycle when tests are skipped? The maven-compiler-plugin respects the skipTests parameter and does not compile the test classes, but the maven-resource-plugin does still process

Re: How to skip testResources execution when tests are skipped

2009-11-24 Thread Aleksey Didik
Hello, as to me, the best way for integration tests organization is using 'pom' packaging for it module. In this case you could manually switch on only necessary plugins like compiling only tests, copy resources or not, and etc.. My it-module pom: project

Re: How to skip testResources execution when tests are skipped

2009-11-24 Thread Aleksey Didik
Sorry, looks like I don't understand your question. The shame. Aleksey. maik.eb...@icw.de пишет: Hello everyone, is it possible to remove the maven-resource-plugin with its testResources mojo execution from the lifecycle when tests are skipped? The maven-compiler-plugin respects the