Unable to get Analysis result after integration with Bitbucket

Hi Team,
I have successfully integrated Sonar Cloud with Bitbucket, Also opted Paid plan of “100k Lines of code”.
I have also imported repositories from bitbucket, However I am unable to perform “Configure Analysis”.
Following error message is received while triggering Bitbucket Pipeline:
• [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project digitplus: Compilation failure.

Moreover I was also able to trigger pipeline in one repository, still Sonar is suggesting "Your default branch has not been analyzed yet.”

Please help and provide solution.

Hey there.

This doesn’t look like a Sonar failure, rather something with your compilation. Does it work if you remove sonar:sonar from your Maven goals?

Your main branch won’t be analyzed until changes are merged into your main branch – I have a feeling you’ve only analyzed a pull request / branch so far.

Hi Team,

My free trial has expired, but POC is not yet completed.
I want to check if Sonar Cloud integration with existing Bitbucket Version control system could help my organization in identifying code & security defects and thus helping in maintaining a top-notch code base.
Hence, please grant another 14-day free trial & guide as well in analyzing 1nos repository as a POC.
Thanking in advance.

Regards,
Ankit Kansal