Enable vid docker build jobs to use java-1.8 97/74497/3
authorPaul Vaduva <Paul.Vaduva@enea.com>
Tue, 11 Dec 2018 12:52:36 +0000 (13:52 +0100)
committerPaul Vaduva <Paul.Vaduva@enea.com>
Mon, 17 Dec 2018 08:39:48 +0000 (09:39 +0100)
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.

Change-Id: I3d9394ec698ca5ab5674e60ca5fcd9802f2ab04d
Issue-ID: VID-366
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 93f4f77..de4b766 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                <groupId>org.apache.maven.plugins</groupId>\r
                                <artifactId>maven-surefire-plugin</artifactId>\r
                                <version>2.17</version>\r
+                               <configuration>\r
+                                   <useSystemClassLoader>false</useSystemClassLoader>\r
+                               </configuration>\r
                        </plugin>\r
 \r
                        <plugin>\r