summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Vaduva <Paul.Vaduva@enea.com>2018-12-18 12:57:09 +0100
committerPaul Vaduva <Paul.Vaduva@enea.com>2018-12-18 12:57:09 +0100
commit0b65d4053eb41fd4747c5718ffd1cbd5d46fc455 (patch)
tree00deefba161077863132e73fb6a015c2dfbcc5af
parent935d23208fae31bfb96d9ff7777c816bdaa87989 (diff)
Enable vid docker build jobs to use java-1.8
Overcome security features in java-1.8 that prevent the forked java VM’s to use relative paths for loading the classes. This fix was the simplest for arm64 docker build jobs, and the least affecting the x86 build’s. We need to modify all the definitions of surefire. Change-Id: I0c10598c1c3a8765e1f1b509288a694b60df7389 Issue-ID: VID-366 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
-rwxr-xr-xepsdk-app-onap/pom.xml4
-rwxr-xr-xvid-app-common/pom.xml1
-rw-r--r--vid-automation/pom.xml1
3 files changed, 6 insertions, 0 deletions
diff --git a/epsdk-app-onap/pom.xml b/epsdk-app-onap/pom.xml
index 85731d1b9..b46c0fe81 100755
--- a/epsdk-app-onap/pom.xml
+++ b/epsdk-app-onap/pom.xml
@@ -143,6 +143,7 @@
<systemPropertyVariables>
<container.classpath>classpath:</container.classpath>
</systemPropertyVariables>
+ <useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
@@ -210,6 +211,9 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
+ <configuration>
+ <useSystemClassLoader>false</useSystemClassLoader>
+ </configuration>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
diff --git a/vid-app-common/pom.xml b/vid-app-common/pom.xml
index 658bf71d5..d687568dc 100755
--- a/vid-app-common/pom.xml
+++ b/vid-app-common/pom.xml
@@ -173,6 +173,7 @@
<systemPropertyVariables>
<container.classpath>classpath:</container.classpath>
</systemPropertyVariables>
+ <useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
diff --git a/vid-automation/pom.xml b/vid-automation/pom.xml
index 75d48a4b5..f8bd6460b 100644
--- a/vid-automation/pom.xml
+++ b/vid-automation/pom.xml
@@ -224,6 +224,7 @@
<argLine>
-javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
</argLine>
+ <useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
</plugins>