From 60d790cbf8015c6cf98743606fdffed3f77dd463 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Wed, 8 Apr 2015 15:10:43 -0700 Subject: [PATCH] Marking java8 specifics excluded when compiling with java7 --- jetty-server/pom.xml | 33 +++++++++++++++++++++++++++++++++ jetty-util/pom.xml | 25 +++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/jetty-server/pom.xml b/jetty-server/pom.xml index 6068b90d307..378f27ac18b 100644 --- a/jetty-server/pom.xml +++ b/jetty-server/pom.xml @@ -54,6 +54,39 @@ + + + java7-only-jetty-server + + false + 1.7 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + org/eclipse/jetty/server/ssl/SslConnectionFactoryTest.java + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + org/eclipse/jetty/server/ssl/SslConnectionFactoryTest.java + + + + + + + + org.eclipse.jetty.toolchain diff --git a/jetty-util/pom.xml b/jetty-util/pom.xml index 08fba94cec3..93704de4873 100644 --- a/jetty-util/pom.xml +++ b/jetty-util/pom.xml @@ -40,6 +40,31 @@ + + + java7-only-jetty-util + + false + 1.7 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + org/eclipse/jetty/util/ssl/ExtendedSslContextFactory.java + org/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager.java + + + + + + + + javax.servlet