Getting error while executing sonar:sonar goal on maven project
Tried using sonar-maven-plugin
version 2.7.1
and 5.0
Error :
Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar (default-cli) on project XXX:
Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar failed: Unable to load the mojo 'sonar'
in the plugin 'org.codehaus.mojo:sonar-maven-plugin:2.7.1'.
A required class is missing: Lorg/apache/maven/rtinfo/RuntimeInformation;
The issue is resolved. I used combination of Sonar 5.2, Eclipse Luna 4.4.2 (SR2) and Maven-eclipse-plugin 1.6 (download.eclipse.org/technology/m2e/releases/1.6). recent version of eclipse allowed me to install m2e 1.6 and recent sonar version allowed me to execute sonar plugin without proxy error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With