Hi,

I think this is more a question for the maven users list, or even the
sonarqube one.
Anyway, I'm not totally sure, but I don't think sonar supports using Maven
1.x (which is deprecated since 2007, and even Maven 2.x has been
end-of-lifed since).

Cheers

2015-06-22 9:29 GMT+02:00 <[email protected]>:

> Hi,
>
> I am using maven version 1.0.2 to build a java project in jenkins 1.532.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*
> <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,
> Inder
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins 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/jenkinsci-users/86769c32-1fde-41ed-b6bd-8d5b4c2fd50d%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/86769c32-1fde-41ed-b6bd-8d5b4c2fd50d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins 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/jenkinsci-users/CANWgJS59SmnJvTD-Urg4k8xfk-m_PYudEnFYROpKtAtqThU2Ww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to