Hello!

Can somebody please advice, is it possible to skip execution of certain
plugins, which are only needed when performing the tests?

For instance, we need to prepare the correct SQL database for our tests, we
are using sql-maven-plugin to create the database and insert the required data
into it. 

What we found is the test database is being created even in case if
-Dmaven.test.skip option was provided, and this is a bit confusing, since we
don't want to drop/create/fill database if we want to build a package w/o
testing (yes, I know that's the bad idea, but sometimes we need go go this
way).

The plugin is bound to the prepare-test-resources phase, and looks like it is
invoked all the time, no matter whether the tests are to be invoked or not.

Thank you in advance!

-- 
Eugene N Dzhurinsky

Attachment: pgpryZEKps6pf.pgp
Description: PGP signature

Reply via email to