Hi,

I'd like to skip the tests for my build if no database is available.
When a database is available, the developer puts in an active profile in his settings.xml with property:
  <database.available>true</database.available>

Can I configure the surefire plugin's like this:

<skip>${${maven.test.skip} || !${database.available}}</skip>
so skip the tests if maven.test.skip is on or if the database is not available.

This way even developers with a database can skip them by using the all known command "-Dmaven.test.skip"

--
With kind regards,
Geoffrey De Smet


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to