Hi, im using Sonar 1.1 plugin on Hudson 1.328
My maven build is fine, but the sonar:sonar goal is not working due to path problems.
This is fine:
Executing Maven: -B -f C:\Documents and Settings\wolfj09\.hudson\jobs\BerichtenAdministratie\workspace\hudson_beradmin\WDP_C_N\WDP_320_BerAdmin\0003_Bouw\src\beradmin\pom.xml clean install
and this is wrong:
hudson_beradmin] $ "C:\Program Files\XMAVEN\101\bin\mvn.bat" -e -B -f hudson_beradmin\WDP_C_N\WDP_320_BerAdmin\0003_Bouw\src\beradmin\pom.xml -Dsonar.host.url=
http://localhost:9000 sonar:sonar
What's missing is the absolute path in -f
result:
INFO] Cannot execute mojo: sonar. It requires a project with an existing pom.xml, but the build is not using one.