I am working on some old old code to fix the Junits, While doing this I am facing a problem.
Previously in pom.xml there was a plugin configuration like below
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode combine.self="override">pertest</forkMode>
</configuration>
</plugin>
with above configuration i can able to see the jacoco coverage file in /target/site folder after mvn test
built successfully
But to fix some junits i had add one argLine to above configuration like below
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode combine.self="override">pertest</forkMode>
<argLine>-Djava.security.egd=file:/dev/./urandom</argLine>
</configuration>
</plugin>
After adding this i am not seeing any coverage file in target directory after mvn test
. Can anybody tell why?