From 1518c88359977571668b2450f40e1122f09d1506 Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Wed, 18 Feb 2015 12:20:31 +0000
Subject: [PATCH] OPENDJ-1815: Make the build JDK8 compliant

---
 opendj-server-legacy/pom.xml |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/opendj-server-legacy/pom.xml b/opendj-server-legacy/pom.xml
index 5a86f23..c1ff112 100644
--- a/opendj-server-legacy/pom.xml
+++ b/opendj-server-legacy/pom.xml
@@ -247,6 +247,29 @@
 
     <plugins>
 
+	<plugin>
+		<!-- Ensure that our usage of the jaxb2-maven-plugin is JDK 8 compatible -->
+		<groupId>org.codehaus.mojo</groupId>
+		<artifactId>properties-maven-plugin</artifactId>
+		<version>1.0-alpha-2</version>
+		<configuration>
+			<properties>
+				<property>
+					<name>javax.xml.accessExternalSchema</name>
+					<value>all</value>
+				</property>
+			</properties>
+		</configuration>
+		<executions>
+			<execution>
+				<id>set-additional-system-properties</id>
+				<goals>
+					<goal>set-system-properties</goal>
+				</goals>
+			</execution>
+		</executions>
+	</plugin>
+
       <!-- Clean classes generated outside the build directory -->
       <plugin>
         <artifactId>maven-clean-plugin</artifactId>

--
Gitblit v1.10.0