Sonarcloud scan is not working

- remove MaxPermSize arg for the jvm since jdk17 doesn't support it anymore

Issue-ID: AAI-4027
Change-Id: I8ecddf887894e89d260ff3697d3b0619892b174f
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
diff --git a/jjb/aai/aai-aai-common.yaml b/jjb/aai/aai-aai-common.yaml
index 4dbf22f..09d66bc 100644
--- a/jjb/aai/aai-aai-common.yaml
+++ b/jjb/aai/aai-aai-common.yaml
@@ -36,7 +36,6 @@
     sonarcloud: true
     sonarcloud-project-organization: "{sonarcloud_project_organization}"
     sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"
-    sonarcloud-java-version: openjdk11
     sonar-mvn-goal: "{sonar_mvn_goal}"
     build-node: ubuntu1804-builder-4c-4g
     project: "aai/aai-common"
@@ -45,7 +44,7 @@
     mvn-params: ""
     mvn-settings: "aai-aai-common-settings"
     mvn-goals: "clean install"
-    mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
+    mvn-opts: "-Xmx1024m -XX:MaxMetaspaceSize=256m"
     mvn-version: "mvn35"
     java-version: openjdk11