From bbcab32874711f856040a47ee8e45cfbf4b29846 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Tue, 15 Aug 2017 12:19:10 +0200 Subject: [PATCH] Ensure netty builds with java9 (build 9+181) Motivation: To be able to build with latest java9 release we need to adjust commons-lang version and maven-enforcer-plugin. Modifications: - Use commons-lang 2.6.0 - Use maven-enforcer-plugin 3.0.0.M1 when building with java9 Result: Netty builds again with latest java9 release --- pom.xml | 4 ++++ resolver-dns/pom.xml | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/pom.xml b/pom.xml index 94f709af05..c70b57720a 100644 --- a/pom.xml +++ b/pom.xml @@ -84,6 +84,8 @@ true true + + 3.0.0-M1 9 @@ -199,6 +201,7 @@ debug 2.6.2 5.1 + 1.4.1 ${env.JAVA_HOME} false false @@ -576,6 +579,7 @@ maven-enforcer-plugin + ${enforcer.plugin.version} enforce-tools diff --git a/resolver-dns/pom.xml b/resolver-dns/pom.xml index c2e3b8f79d..b1978628cb 100644 --- a/resolver-dns/pom.xml +++ b/resolver-dns/pom.xml @@ -48,6 +48,22 @@ org.apache.directory.server apacheds-protocol-dns test + + + + commons-lang + commons-lang + + + + + commons-lang + commons-lang + 2.6 + test