It's that exec-maven-plugin via the java option runs in-process, hence
issuing System.exit(0) is killing the the outside process.
Will post the pom tomorrow when i'm back at work.
Thanks
--
You received this message because you are subscribed to the Google Groups "Cukes" group.
To post to this group, send email to cu...@googlegroups.com.
To unsubscribe from this group, send email to cukes+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>Domestic Cucumber Step Tests</id>
<phase>test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<arguments>
<argument>-ea</argument>
<argument>-DtargetAppType=WebApp</argument>
<argument>-classpath</argument>
<classpath />
<argument>cucumber.hackedrunner.HackedRunner</argument>
<argument>classpath:</argument>
<argument>--glue</argument>
<argument>com.hotwire.test.steps</argument>
<argument>--format</argument>
<argument>gherkin.formatter.FixedPrettyFormatter</argument>
<argument>--format</argument>
<argument>cucumber.formatter.JUnitFormatter:target/surefire-reports/TEST-HTMLReportUS.xml</argument>
<argument>--format</argument>
<argument>cucumber.formatter.EnhancedHTMLFormatter:target/cucumber/HTMLReportUS</argument>
<argument>--format</argument>
<argument>json:target/cucumber_us.json</argument>
<argument>--monochrome</argument>
<argument>--tags</argument>
<argument>@US</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>Mobile Cucumber Step Tests</id>
<phase>test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<arguments>
<argument>-ea</argument>
<argument>-DtargetAppType=MobileWebApp</argument>
<argument>-classpath</argument>
<classpath />
<argument>cucumber.hackedrunner.HackedRunner</argument>
<argument>classpath:</argument>
<argument>--glue</argument>
<argument>com.hotwire.test.steps</argument>
<argument>--format</argument>
<argument>gherkin.formatter.FixedPrettyFormatter</argument>
<argument>--format</argument>
<argument>cucumber.formatter.JUnitFormatter:target/surefire-reports/TEST-HTMLReportMobile.xml</argument>
<argument>--format</argument>
<argument>cucumber.formatter.EnhancedHTMLFormatter:target/cucumber/HTMLReportMobile</argument>
<argument>--format</argument>
<argument>json:target/cucumber_mobile.json</argument>
<argument>--monochrome</argument>
<argument>--tags</argument>
<argument>@MOBILE</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>Row (Rest Of World) Cucumber Step Tests</id>
<phase>test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<arguments>
<argument>-ea</argument>
<argument>-DtargetAppType=RowWebApp</argument>
<argument>-Dapplication_url=http://www.qaci.hotwire.com/intl</argument>
<argument>-classpath</argument>
<classpath />
<argument>cucumber.hackedrunner.HackedRunner</argument>
<argument>classpath:</argument>
<argument>--glue</argument>
<argument>com.hotwire.test.steps</argument>
<argument>--format</argument>
<argument>gherkin.formatter.FixedPrettyFormatter</argument>
<argument>--format</argument>
<argument>cucumber.formatter.JUnitFormatter:target/surefire-reports/TEST-HTMLReportRow.xml</argument>
<argument>--format</argument>
<argument>cucumber.formatter.EnhancedHTMLFormatter:target/cucumber/HTMLReportRow</argument>
<argument>--format</argument>
<argument>json:target/cucumber_row.json</argument>
<argument>--monochrome</argument>
<argument>--tags</argument>
<argument>@ROW</argument>
</arguments>
</configuration>
</execution>
</executions>
<configuration>
<classpathScope>test</classpathScope>
<executable>java</executable>
<successCodes>
<successCode>2</successCode>
<successCode>1</successCode>
<successCode>0</successCode>
</successCodes>
</configuration>
</plugin>