Remove MaxPermSize jvm arg
- starting from jdk 8 the arg has been deprecated
- this fixes all broken sonar jobs [1]
[1] check the 'last analysis' on the [sonarcloud.io page](https://sonarcloud.io/organizations/onap/projects)
Issue-ID: AAI-4027
Change-Id: I5919db4501cd465d28589a467d9d33a47cab6a37
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
diff --git a/jjb/aai/aai-model-loader.yaml b/jjb/aai/aai-model-loader.yaml
index 61f9914..93a546f 100644
--- a/jjb/aai/aai-model-loader.yaml
+++ b/jjb/aai/aai-model-loader.yaml
@@ -50,7 +50,7 @@
branch: "master"
mvn-settings: "aai-model-loader-settings"
mvn-goals: "clean install"
- mvn-opts: "-Xmx1024m -XX:MaxPermSize=256m"
+ mvn-opts: "-Xmx1024m -XX:MaxMetaspaceSize=256m"
mvn-version: "mvn36"
java-version: openjdk11