sgoertzen / sonar-break-maven-plugin

Fail your maven build if sonar detects issues with the code
MIT License
10 stars 15 forks source link

sonar-break is querying deprecated Sonar 6.3 url #48

Open songokudbz opened 7 years ago

songokudbz commented 7 years ago

My sonar version is 6.3 (build 19869).

It seems when I run the following code: mvn -X sonar:sonar sonar-break:sonar-break -Dsonar.host.url=<SONAR_URL> -Dsonar.login=<TOKEN> I get this error [ERROR] Failed to execute goal com.github.sgoertzen:sonar-break-maven-plugin:1.2.5:sonar-break (default-cli) on project <PROJECT_NAME>: Error while running sonar break: Timed out while waiting for Sonar. Waited 300 seconds. This time can be extended using the "waitForProcessingSeconds" configuration parameter. -> [Help 1] because the sonar-break-maven-plugin version 1.2.5 queries the the ..../api/resources/index link which is deprecated since sonar 5.4. Can you fix this pls?

sgoertzen commented 7 years ago

Just updated the integration tests to use Sonar 6.3 and confirmed the issue. Will hopefully have time to fix the issue within the next week. I do take pull requests if you need it sooner. :)

nico-de commented 6 years ago

We're having the same issue. Any update on this? Thanks.

robertorocha3 commented 6 years ago

Same issue here with Sonar 6.5. Any update on this?

sgoertzen commented 6 years ago

Still haven't had time to update the project. I did some initial work on it last year but had troubles finding relevant APIs after they changed everything. Still hoping to get back to it soon and get it fixed.