*Unable to Generate the code coverage report. is my plugin config setup 
wrong? Can anyone help on this? *

*Error Message: *

[ERROR] Failed to execute goal 
org.jacoco:jacoco-maven-plugin:0.8.5:report-aggregate (report-aggregate) on 
project distribution: Unable to parse configuration of mojo 
org.jacoco:jacoco-maven-plugin:0.8.5:report-aggregate for parameter 
dataFileIncludes: Cannot assign configuration entry 'dataFileIncludes' with 
value '**/jacoco-unit.exec' of type java.lang.String to property of type 
java.util.List -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.


*pom.xml*

<plugin>
    <groupId>org.jacoco</groupId>
    <artifactId>jacoco-maven-plugin</artifactId>
    <version>0.8.2</version>
    <executions>
        <execution>
            <id>report-aggregate</id>
            <phase>prepare-package</phase>
            <goals>
                <goal>report-aggregate</goal>
            </goals>
            <configuration>
                <dataFileIncludes>**/jacoco-unit.exec</dataFileIncludes>
                
<outputDirectory>${project.reporting.outputDirectory}/jacoco-aggregate</outputDirectory>
            </configuration>
        </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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/e7af453d-a53c-4895-b1de-68fa433727dd%40googlegroups.com.

Reply via email to