Hi,
I am trying to instrument Maven project using jacoco offline
instrumentation. I added below mentioned dependency and plugin to my
pom.xml.
When I run mvn install command, it does not seem to instrument the classes.
Is there a way to know whether it instrumented the class?
It would be great if someone can help me with this.
*Log :*
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
org.jacoco.examples.maven.java ---
[WARNING] File encoding has not been set, using platform encoding UTF-8,
i.e. build is platform dependent!
[INFO] Compiling 1 source file to
jacoco-maven-examples-master/org.jacoco.examples.maven.java/target/classes
[INFO]
[INFO] --- jacoco-maven-plugin:0.6.4.201312101107:instrument
(default-instrument) @ org.jacoco.examples.maven.java ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
@ org.jacoco.examples.maven.java ---
*Dependency :*
<dependency>
<groupId>org.jacoco</groupId>
<artifactId>org.jacoco.agent</artifactId>
<classifier>runtime</classifier>
<version>0.6.4.201312101107</version>
<scope>test</scope>
</dependency>
*Plug in :*
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
</configuration>
<executions>
<execution>
<id>default-instrument</id>
<goals>
<goal>instrument</goal>
</goals>
</execution>
</executions>
</plugin>
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.