BIGTOP-3107: Patch from upstream correcting the Maven surefire break from newer Java SDK 425/head
authorArnaud Launay <asl-github@launay.org>
Mon, 3 Dec 2018 11:00:48 +0000 (12:00 +0100)
committerArnaud Launay <asl-github@launay.org>
Mon, 3 Dec 2018 11:00:48 +0000 (12:00 +0100)
bigtop-packages/src/common/qfs/patch1-maven-surefire.diff [new file with mode: 0644]

diff --git a/bigtop-packages/src/common/qfs/patch1-maven-surefire.diff b/bigtop-packages/src/common/qfs/patch1-maven-surefire.diff
new file mode 100644 (file)
index 0000000..1dd9400
--- /dev/null
@@ -0,0 +1,29 @@
+From 7af25985e802eafec2307307e1703f9191b49b9f Mon Sep 17 00:00:00 2001
+From: Mike Ovsiannikov <movsiannikov@quantcast.com>
+Date: Thu, 1 Nov 2018 17:50:30 -0700
+Subject: [PATCH] Java build: work around new oracle SDK problem by setting use
+ system class loader property for sure fire plugin.
+
+---
+ src/java/pom.xml | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/src/java/pom.xml b/src/java/pom.xml
+index ca4a7f4e..ae28ff72 100644
+--- a/src/java/pom.xml
++++ b/src/java/pom.xml
+@@ -42,6 +42,14 @@ permissions and limitations under the License.
+         <artifactId>maven-compiler-plugin</artifactId>
+         <version>2.3</version>
+       </plugin>
++    <plugin>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-surefire-plugin</artifactId>
++        <version>2.22.1</version>
++        <configuration>
++            <useSystemClassLoader>false</useSystemClassLoader>
++        </configuration>
++    </plugin>
+     </plugins>
+   </build>