trivago/cucable-plugin

How to set systemPropertyVariables?

sgrillon14 opened this issue · 1 comments

I want use your plugin instead of maven-surefire-plugin.

I need add system properties variables (options and resourcespath in this sample)

<plugin>
    <groupId>com.trivago.rta</groupId>
    <artifactId>cucable-plugin</artifactId>
    <version>1.5.2</version>
    <executions>
        <execution>
            <id>generate-test-resources</id>
            <phase>generate-test-resources</phase>
            <goals>
                <goal>parallel</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <systemPropertyVariables>
            <options>A</options>
            <resourcespath>src/test/resources</resourcespath>
        </systemPropertyVariables>
        <sourceRunnerTemplateFile>src/test/java/some/template/CucableJavaTemplate.java</sourceRunnerTemplateFile>
        <generatedFeatureDirectory>${generated.feature.directory}</generatedFeatureDirectory>
        <generatedRunnerDirectory>${generated.runner.directory}</generatedRunnerDirectory>
        <includeScenarioTags>@loginLogout</includeScenarioTags>
    </configuration>
</plugin>

I add systemPropertyVariables in maven-failsafe-plugin