You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I use JDK 1.8 to compile the application source code. However, SonarCloud is looking for Java 11 to run the scan report.
If I use Java 11, it gives me a different error message.
I am just wondering if anyone using SonarCloud with Java 11 in Bamboo.
I don't think our application does support OpenJDK11 in order to run compile and sonarcloud together. Can you give some suggestions please ?
Hi there, I tried that created a new maven task with OpenJDK11 already. It gave me a different error as I think SonarCloud doesn't support OpenJDK11. See error message below.
29-Apr-2021 10:39:41 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
29-Apr-2021 10:39:43 [INFO] Scanning for projects...
29-Apr-2021 10:39:43 [ERROR] [ERROR] Some problems were encountered while processing the POMs:
29-Apr-2021 10:39:43 [ERROR] Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.2 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.5.0 at specified path /datavg/bamboo-capabilities/java/openjdk-11.0.2/../lib/tools.jar @
29-Apr-2021 10:39:43 [ERROR] Unknown packaging: mule @ line 8, column 13
29-Apr-2021 10:39:43 @
29-Apr-2021 10:39:43 [ERROR] The build could not read 1 project -> [Help 1]
29-Apr-2021 10:39:43 [ERROR]
29-Apr-2021 10:39:43 [ERROR] The project ie.zurichlife:s-zl-document:1.2.4-SNAPSHOT (/datavg/bamboo-home/xml-data/build-dir/91652100/RP-IT-JOB1/pom.xml) has 2 errors
29-Apr-2021 10:39:43 [ERROR] Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.2 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.5.0 at specified path /datavg/bamboo-capabilities/java/openjdk-11.0.2/../lib/tools.jar -> [Help 2]
29-Apr-2021 10:39:43 [ERROR] Unknown packaging: mule @ line 8, column 13
29-Apr-2021 10:39:43 [ERROR]
29-Apr-2021 10:39:43 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.