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.