Hi @hades0202
Cloud Manager now supports building projects with both Java 8 and Java 11. By default, projects are built using Java 8.
Customers who want to use Java 11 in their projects can do so using the Apache Maven Toolchains Plugin by adding the below <plugin> entry in the pom.xml
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<version>11</version>
<vendor>oracle</vendor>
</jdk>
</toolchains>
</configuration>
</plugin>
Please see the article from Adobe:
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/onboarding/getting-access/create-application-project/build-environment-details.html?lang=en
Hope this helps!
Thanks