|
From: Ambika K.S <k.a...@gm...> - 2017-01-05 22:47:32
|
I have a class in one project and i am writing the unit test for it in
another project how do i do the code coverage for the class using
cobertura?
i am adding the maven plugin as below:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>..*/src/main/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
|