sfeir-open-source / sonar-clover

It provides the ability to feed SonarQube with code coverage data coming from Atlassian Clover
Apache License 2.0
15 stars 25 forks source link

No plugin descriptor found at META-INF/maven/plugin.xml #41

Closed fmcarvalho closed 4 years ago

fmcarvalho commented 4 years ago

Describe the bug

After the installation locally of release 4.1 when we run: mvn org.sfeir:sonar-clover-plugin:4.1:sonar

I got: No plugin descriptor found at META-INF/maven/plugin.xml

To Reproduce Steps to reproduce the behavior:

  1. Install locally through mvn install:install-file -Dfile=sonar-clover-plugin-4.1.jar -DgroupId=org.sfeir -DartifactId=sonar-clover-plugin -Dversion=4.1 -Dpackaging=jar -DgeneratePom=true
  2. Run mvn org.sfeir:sonar-clover-plugin:4.1:sonar
  3. See error [ERROR] Failed to parse plugin descriptor for org.sfeir:sonar-clover-plugin:4.1 (C:\Users\migue\.m2\repository\org\sfeir\sonar-clover-plugin\4.1\sonar-clover-plugin-4.1.jar): No plugin descriptor found at META-INF/maven/plugin.xml

Expected behavior

[ERROR] Failed to execute ...(default-cli): Goal requires

Desktop (please complete the following information):

Tony-Proum commented 4 years ago

Hi @fmcarvalho this plugin is not the maven one but the sonarqube plugin, it allows your coverage report to be digest by sonarqube e.g in order to see how the coverage evolves, you can install it using sonarqube marketplace: image

Also, I think that the plugin you are searching for is located here : https://github.com/openclover/clover-maven-plugin