Hi,

please find an example in our tests:

https://github.com/jacoco/jacoco/blob/master/jacoco-maven-plugin.test/it/it-includes-excludes/pom.xml

Regards,
-marc

On 13.10.16 17:49, chris.neh...@gmail.com wrote:
Hello,

As described in http://www.eclemma.org/jacoco/trunk/doc/report-aggregate-mojo.html, 
I'm trying to use the <dataFileIncludes> parameter  in jacoco:report-aggregate:

     <build>
         <plugins>
             <plugin>
                 <groupId>org.jacoco</groupId>
                 <artifactId>jacoco-maven-plugin</artifactId>
                 <version>0.7.7.201606060606</version>
                 <executions>
                     <execution>
                         <id>report-aggregate</id>
                         <phase>verify</phase>
                         <goals>
                             <goal>report-aggregate</goal>
                         </goals>
                         <configuration>
                             <dataFileIncludes>**/*.exec</dataFileIncludes>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
         </plugins>
     </build>

Maven replies:
"[ERROR] Failed to execute goal 
org.jacoco:jacoco-maven-plugin:0.7.7.201606060606:report-aggregate (report-aggregate) 
on project virtualization-jacoco-aggregate: Unable to parse configuration of mojo 
org.jacoco:jacoco-maven-plugin:0.7.7.201606060606:report-aggregate for parameter 
dataFileIncludes: Cannot assign configuration entry 'dataFileIncludes' with value 
'**/*.exec' of type java.lang.String to property of type java.util.List -> [Help 1]

Please, can someone explain what's the right syntax to use this parameter?
Thanks.

Chris


--
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 jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/22619dba-01e1-f92a-939e-085b1ed5fc10%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to