You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Dhruv <go...@gmail.com> on 2014/06/27 11:02:38 UTC
Maven Jaoco with Surefire Plugin
Hi,
I am trying to incorporate Maven Jacoco Plugin with Surefire plugin and it
has been successfully implemented for other projects but for one project it
is giving a strange behaviour.
When I remove argline from surefire it gave me permgen error and when I add
it maven doesnot create jacoco.exe.
here is my code snippet I have tried changing various argline options and
tried many permutations.It would be great if you could help with the
configuration.
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.6.3.201306030806</version>
<executions>
<execution>
<id>pre-unit-test</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<destFile>${project.basedir}/target/jacoco-ut.exec</destFile>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.16</version>
<configuration>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<workingDirectory>/</workingDirectory>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
Thanks
Dhruv
--
View this message in context: http://maven.40175.n5.nabble.com/Maven-Jaoco-with-Surefire-Plugin-tp5797884.html
Sent from the Maven Developers mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org