This is an automated email from the ASF dual-hosted git repository. reta pushed a commit to branch 3.4.x-fixes in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 93f8458b4dd9cb1ceaa3f2d5af6464abd1c2132f Author: Andriy Redko <[email protected]> AuthorDate: Sun May 7 10:30:01 2023 -0400 CXF-8606: Introduce HTTP/2 Transport: client-side support (fixing jetty-alpn-java-server dependency) (cherry picked from commit c0561a43eff7d97db117b73b93f5de0bc99ed716) --- systests/transport-hc5/pom.xml | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/systests/transport-hc5/pom.xml b/systests/transport-hc5/pom.xml index ea3f231cda..f4e22446a9 100644 --- a/systests/transport-hc5/pom.xml +++ b/systests/transport-hc5/pom.xml @@ -107,12 +107,6 @@ <artifactId>jetty-alpn-server</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.eclipse.jetty</groupId> - <artifactId>jetty-alpn-java-server</artifactId> - <version>${cxf.jetty9.version}</version> - <scope>test</scope> - </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> @@ -186,4 +180,35 @@ <scope>test</scope> </dependency> </dependencies> + + <profiles> + <profile> + <id>jdk8</id> + <activation> + <jdk>1.8</jdk> + </activation> + <dependencies> + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-alpn-openjdk8-server</artifactId> + <version>${cxf.jetty9.version}</version> + <scope>test</scope> + </dependency> + </dependencies> + </profile> + <profile> + <id>jdk9+</id> + <activation> + <jdk>[9,)</jdk> + </activation> + <dependencies> + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-alpn-java-server</artifactId> + <version>${cxf.jetty9.version}</version> + <scope>test</scope> + </dependency> + </dependencies> + </profile> + </profiles> </project>
