Hi All,

I am using maven plugin for Jacoco. I've mentioned the goals as 'dump' and 
'report' in my jacoco profile in pom.xml. But problem is some times it is 
showing result as expected (e.g. 60%, 65%). but some times it is showing 0%. 
I've read in some topics that if the classes files of execution time should 
match at report generation. but how to achieve it in maven?

my profile is as follows: 
<profile>
<id>JaCoCo</id>
                       <activation>
                                <activeByDefault>false</activeByDefault>
                        </activation>
                        <build>
                                <plugins>
                                        <plugin>
                                                <groupId>org.jacoco</groupId>
                                                
<artifactId>jacoco-maven-plugin</artifactId>
                                                
<version>0.6.4.201312101107</version>
                                                <configuration>
                                                        
<address>localhost</address>
                                                        <port>6300</port>
                                                        <reset>false</reset>
                                                </configuration>
                                                <executions>
                                                        <execution>
                                                                
<id>dump-remote-data</id>
                                                                <goals>
                                                                        
<goal>dump</goal>
                                                                </goals>
                                                        </execution>
                                                        <execution>
                                                                <id>report</id>
                                                                <goals>
                                                                        
<goal>report</goal>
                                                                </goals>
                                                        </execution>
                                                </executions>
                                        </plugin>
                                </plugins>
                        </build>
                </profile>

-- 
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/d/optout.

Reply via email to