Selector Scripts

Starting with plugin version 1.5, a custom script can be used to skip individual projects based on whatever criteria expressed in the script as illustrated in the following example. Assume the following directory structure:

+- pom.xml
+- src/
   +- it/
      +- settings.xml
      +- conditional-it/
         +- pom.xml
         +- check-assumptions.bsh
         +- src/

The plugin configuration for this example would look like this:


If the check-assumptions.bsh script returns true or does not return a value, then the project will be executed.

If the script returns any value other than true, then the project will not be executed.

If the script throws an exception, then the project will be marked as being in ERROR.