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: [email protected]
For additional commands, e-mail: [email protected]
