From cb70d8904087fc1d8852179dc4afe949e849672e Mon Sep 17 00:00:00 2001 From: David Matejcek Date: Wed, 18 Nov 2020 12:24:46 +0100 Subject: [PATCH] Issue #2016 Possibility to run tests with different JSSE implementations - default is none (uses JDK's impl) - profile npn uses grizzly-npn-bootstrap - profile openjsse uses openjsse - versions can be overriden from command line (to compare results) Signed-off-by: David Matejcek --- modules/bundles/http/pom.xml | 3 +-- modules/http2/pom.xml | 44 +++++++++++++++++++++++++++++++----- pom.xml | 14 +++++++----- 3 files changed, 47 insertions(+), 14 deletions(-) diff --git a/modules/bundles/http/pom.xml b/modules/bundles/http/pom.xml index 50aefba1f8..2cfacf86df 100755 --- a/modules/bundles/http/pom.xml +++ b/modules/bundles/http/pom.xml @@ -52,14 +52,13 @@ org.glassfish.grizzly grizzly-npn-api - ${grizzly.alpn.version} + ${grizzly.npn.api.version} org.glassfish.grizzly grizzly-http-server-multipart - install diff --git a/modules/http2/pom.xml b/modules/http2/pom.xml index bba200786c..8282bfd511 100644 --- a/modules/http2/pom.xml +++ b/modules/http2/pom.xml @@ -30,6 +30,9 @@ grizzly-http2 grizzly-http2 + + + @@ -39,7 +42,7 @@ org.glassfish.grizzly grizzly-http-server - provided true @@ -47,10 +50,9 @@ org.glassfish.grizzly grizzly-npn-api - ${grizzly.alpn.version} + ${grizzly.npn.api.version} provided - org.mockito mockito-core @@ -107,9 +109,7 @@ maven-surefire-plugin - - -XX:+HeapDumpOnOutOfMemoryError - + -XX:+HeapDumpOnOutOfMemoryError ${bootClasspath} @@ -126,4 +126,36 @@ + + + + + openjsse + + -Xbootclasspath/p:${settings.localRepository}/org/openjsse/openjsse/${openjsse.version}/openjsse-${openjsse.version}.jar + + + + org.openjsse + openjsse + ${openjsse.version} + provided + + + + + npn + + -Xbootclasspath/p:${settings.localRepository}/org/glassfish/grizzly/grizzly-npn-bootstrap/${grizzly.npn.bootstrap.version}/grizzly-npn-bootstrap-${grizzly.npn.bootstrap.version}.jar + + + + org.glassfish.grizzly + grizzly-npn-api + ${grizzly.npn.bootstrap.version} + provided + + + + diff --git a/pom.xml b/pom.xml index fbf415b6b1..6c856db042 100644 --- a/pom.xml +++ b/pom.xml @@ -125,8 +125,10 @@ 4.2.1 2.4 4.0.0 + 1.9 + 1.9 + 1.1.4 4.2.0 - 1.9 @@ -218,7 +220,7 @@ - + true @@ -230,7 +232,7 @@ -Xlint:unchecked,deprecation,fallthrough,finally,cast,dep-ann,empty,overrides - + true org.apache.maven.plugins maven-jar-plugin @@ -246,7 +248,7 @@ - + true org.apache.maven.plugins maven-source-plugin @@ -259,7 +261,7 @@ - + org.apache.maven.plugins @@ -271,7 +273,7 @@ ${project.name} ${project.version} - + org.glassfish.copyright glassfish-copyright-maven-plugin