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 Hammar <and...@hammar.net>:
> 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
> possible. Out of a logical perspective I don't think it makes sense
> though...
>
> /Anders
>
> On Wed, Nov 25, 2009 at 13:25, Nick Stolwijk <nick.stolw...@gmail.com>wrote:
>
>> 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 Sluterweg 125
>> 2012 WS Haarlem
>> http://www.iprofs.nl
>>
>>
>>
>> On Tue, Nov 24, 2009 at 10:50 AM, Aleksey Didik
>> <di...@magenta-technology.ru> wrote:
>> > 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 skipTests parameter and does not
>> >> compile the test classes, but the maven-resource-plugin does still
>> process
>> >> the test resources. That's not necessary in my opinion.
>> >>
>> >> Is there a solution to my problem without patching the
>> >> maven-resource-plugin?
>> >>
>> >> Thanks,
>> >>
>> >> Maik Ebert | R&D ProfessionalGate
>> >> InterComponentWare AG | Industriestraße 41 | 69190 Walldorf (Baden) |
>> >> Germany Tel.: +49 (0) 6227 385 203 | Fax: +49 (0) 6227 385
>> >> maik.eb...@icw.de | www.icw.de | www.lifesensor.com
>> >>
>> >> InterComponentWare AG:  Vorstand: Dr. Lutz Kleinholz (Vors.), Dr. Georg
>> >> Ralle, Jörg Stadler / Aufsichtsratsvors.: Prof. Dr. Christof Hettich
>> >>  Firmensitz: 69190 Walldorf, Industriestraße 41 / AG Mannheim HRB 351761
>> /
>> >> USt.-IdNr.: DE 198388516
>> >
>> > ---------------------------------------------------------------------
>> > 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
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to