I would like to dump jacoco exec file from different hostnames and merge it to a single file to generate report in a single maven command. Can you add a list of string type for accepting more than one host name so that i can pass multiple host names to dump goal to download the exec files from more than one hosts?
For example,
mvn -Djacoco.address=192.162.1.1,192.162.1.2 -Djacoco.port=9100 jacoco:dump jacoco:report
Above command wouldn't work because you can pass only one hostname which is a string type.
I'm not sure who implemented the jacoco maven plug-in. Let me know if you know the contact or if i'm not posting this to the right forum
Btw, jacoco is an excellant tool.
Thanks
ManMohan Veettil
--
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/t-s-WXDPNY8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.4.201502262128</version>
<configuration>
<destFile>${basedir}/target/coverage-reports/jacoco-it.exec</destFile>
<dataFile>${basedir}/target/coverage-reports/jacoco-it.exec</dataFile>
<outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
</configuration>
<executions>
<execution>
<id>dump</id>
<phase>post-integration-test</phase>
<goals>
<goal>dump</goal>
</goals>
<configuration>
<address>192.162.1.1,192.162.1.2,192.162.1.3</address>
<port>6300</port>
<dump>true</dump>
</configuration>
</execution>
<execution>
<id>default-report-integration</id>
<goals>
<goal>report-integration</goal>
</goals>
</execution>
</executions>
</plugin>
You have to add goal merge so that the dumped files are merged and then generate report on the merged file.