Goal “sonar:sonar” does not exist in this project

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Goal “sonar:sonar” does not exist in this project

inkaur
This post has NOT been accepted by the mailing list yet.
Hi,

I am using maven version 1.0.2 to build a java project in jenkins.I am trying to configure sonar report for this project.I am using Sonar version 4.0 .I get below error when i fire the build:

[Project_Sonar] $ /MyPath/maven-1.0.2/bin/maven -f /MyPath/workspace/Project_Sonar/maven.xml -e -B sonar:sonar -Dsonar.jdbc.driver=org.postgresql.Driver -Dsonar.jdbc.url=jdbc:postgresql://sonardb.example.com:5534/sonar ******** ******** -Dsonar.host.url=http://example.com:8093/sonar ******** ******** -Dmaven.repo.local=/Mypath/workspace/Project_Sonar/.repository
BUILD FAILED Goal "sonar:sonar" does not exist in this project.

Can anyone help?

Regards,
Inderpreet Kaur

Loading...