- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
=> sonarqube Data Center Edition Version 8.9.7 (build 52159), sonar-maven-plugin ver. 3.10.0.2594 - what are you trying to achieve
=> we are trying to do Incremental sonar scan for maven incremental builds in teamcity - what have you tried so far to achieve this
=> we have used sonar:sonar goal of sonar-maven-plugin ver. 3.10.0.2594 within maven runner step of teamcity build with incremental building feature turned on, but we are getting below error. - error:
=> Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.10.0.2594:sonar (default-cli) on project xxx: Maven session does not declare a top level project
Hi,
Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:
8.9.7 → 9.9.2 → 10.2.1 (last step optional)
You may find these resources helpful:
If you have questions about upgrading, feel free to open a new thread for that here.
Note that as a Data Center Edition customer, you have access to our professional support engineers to help you with your upgrade (and any other questions).
Ann
Thanks for the response.
We are already scheduled to upgrade our instance to 9.9 LTS between 20th and 25th October.
- I want to ask that sonar server is where the report upload will happen. But here we’re getting error during sonar scan itself, on build agent machine - its complaining for “missing top level project”. How can we resolve it? Sonar maven plugin used is the latest one and maven sonar goal sonar:sonar is used.
- How can I get professional support? Do we have a tracking tool where I can raise a ticket?
Thanks.
Hi,
If you don’t have access to the support portal, you should contact your sales rep.
Ann
Can you please share the support portal URL?
Also, please let me know if incremental build is possible in sonar using sonar maven plugin?
Hi,
Please contact your sales rep.
Ann