[ 
https://issues.apache.org/jira/browse/MNG-6805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Heinz Marbaise resolved MNG-6805.
--------------------------------------
    Resolution: Not A Problem

> The parameters 'fileSets' for goal org.jacoco:jacoco-maven-plugin:0.8.4:merge 
> are missing or invalid 
> -----------------------------------------------------------------------------------------------------
>
>                 Key: MNG-6805
>                 URL: https://issues.apache.org/jira/browse/MNG-6805
>             Project: Maven
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 3.6.0
>         Environment: Production
>            Reporter: Umashankar
>            Priority: Major
>              Labels: fileset, jacoco
>
> We are using the FileManagement to search the file for Jacoco Merge MOJO to 
> execute .
> But we are facing the below error . 
> [main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal 
> org.jacoco:jacoco-maven-plugin:0.8.4:merge (default-cli) on project 
> s2b-common: The parameters 'fileSets' for goal 
> org.jacoco:jacoco-maven-plugin:0.8.4:merge are missing or invalid -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.jacoco:jacoco-maven-plugin:0.8.4:merge (default-cli) on project 
> s2b-common: The parameters 'fileSets' for goal 
> org.jacoco:jacoco-maven-plugin:0.8.4:merge are missing or invalid
> We tried various option but not sure what paramater is missing/invalid . We 
> have tried the same way of format provided in the below link . 
> [https://www.jacoco.org/jacoco/trunk/coverage/jacoco-maven-plugin/org.jacoco.maven/MergeMojo.java.html]
> <execution><execution> <id>merge-results</id> <phase>verify</phase> 
> <goals><goal>merge</goal></goals> <configuration> <fileSets> <fileSet 
> implementation="org.apache.maven.shared.model.fileset.FileSet" 
> filtered="true" packaged="true" encoding="UTF-8"> 
> <outputDirectory>/</outputDirectory> 
> <directory>${project.build.directory}</directory> 
> <includes><include>*.exec</include></includes> 
> <excludes><exclude>**/*.txt</exclude></excludes> </fileSet>          
> </fileSets> <!-- <destFile>${project.build.directory}/jacoco.exec</destFile> 
> --> </configuration> </execution>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to