Hello Dezider,
jacoco-maven-plugin just sets a property argLine, which is automatically picked up by surefire and failsafe unless you did reconfigure this property yourself in your pom.
Then you set this in surefire:
<argLine>${argLine} -Xmx512m</argLine>
Note when you set jacoco.skip=true, the plugin will return an empty string, so this should not break anything.
Regards Mirko
--
Sent from my mobile
--
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I am having trouble in getting the coverage for my robot test cases using jacoco coverage engine. I am able to integrate the jacoco agent and get the jacoco reports but when I run my robot test cases I am not getting the coverage.
Here is my configuration in POM:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.15</version>
<executions>
<execution>
<id>integration-tests</id>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<argLine>${failsafeArgLine}</argLine>
<skipTests>${skip.integration.tests}</skipTests>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.robotframework</groupId>
<artifactId>robotframework-maven-plugin</artifactId>
<version>${robot.plugin.version}</version>
<executions>
<execution>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<configuration>
<testCasesDirectory>${project.basedir}/src/test/resources/scenarios</testCasesDirectory>
</configuration>
</plugin>
Thanks
Greg