| <?xml version="1.0"?> | 
 | <!-- | 
 |  | 
 |     Copyright (c) 2011, 2024 Oracle and/or its affiliates. All rights reserved. | 
 |  | 
 |     This program and the accompanying materials are made available under the | 
 |     terms of the Eclipse Public License v. 2.0, which is available at | 
 |     http://www.eclipse.org/legal/epl-2.0. | 
 |  | 
 |     This Source Code may also be made available under the following Secondary | 
 |     Licenses when the conditions for such availability set forth in the | 
 |     Eclipse Public License v. 2.0 are satisfied: GNU General Public License, | 
 |     version 2 with the GNU Classpath Exception, which is available at | 
 |     https://www.gnu.org/software/classpath/license.html. | 
 |  | 
 |     SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 | 
 |  | 
 | --> | 
 |  | 
 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | 
 |     <modelVersion>4.0.0</modelVersion> | 
 |  | 
 |     <parent> | 
 |         <groupId>org.glassfish.jersey.connectors</groupId> | 
 |         <artifactId>project</artifactId> | 
 |         <version>3.0.99-SNAPSHOT</version> | 
 |     </parent> | 
 |  | 
 |     <artifactId>jersey-jdk-connector</artifactId> | 
 |     <packaging>jar</packaging> | 
 |     <name>jersey-connectors-jdk</name> | 
 |  | 
 |     <description>Jersey Client Transport via JDK connector</description> | 
 |  | 
 |     <properties> | 
 |         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | 
 |     </properties> | 
 |  | 
 |     <dependencies> | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.containers</groupId> | 
 |             <artifactId>jersey-container-grizzly2-http</artifactId> | 
 |             <version>${project.version}</version> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |  | 
 |         <dependency> | 
 |             <groupId>org.glassfish.jersey.test-framework.providers</groupId> | 
 |             <artifactId>jersey-test-framework-provider-grizzly2</artifactId> | 
 |             <version>${project.version}</version> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |  | 
 |         <dependency> | 
 |             <groupId>org.junit.jupiter</groupId> | 
 |             <artifactId>junit-jupiter</artifactId> | 
 |             <scope>test</scope> | 
 |         </dependency> | 
 |     </dependencies> | 
 |  | 
 |     <build> | 
 |         <plugins> | 
 |             <plugin> | 
 |                 <groupId>com.sun.istack</groupId> | 
 |                 <artifactId>istack-commons-maven-plugin</artifactId> | 
 |                 <inherited>true</inherited> | 
 |             </plugin> | 
 |             <plugin> | 
 |                 <groupId>org.codehaus.mojo</groupId> | 
 |                 <artifactId>build-helper-maven-plugin</artifactId> | 
 |                 <inherited>true</inherited> | 
 |             </plugin> | 
 |             <plugin> | 
 |                 <groupId>org.apache.maven.plugins</groupId> | 
 |                 <artifactId>maven-compiler-plugin</artifactId> | 
 |             </plugin> | 
 |             <plugin> | 
 |                 <groupId>org.apache.felix</groupId> | 
 |                 <artifactId>maven-bundle-plugin</artifactId> | 
 |                 <inherited>true</inherited> | 
 |             </plugin> | 
 |         </plugins> | 
 |     </build> | 
 |  | 
 |     <profiles> | 
 |         <profile> <!-- we still require JDK 1.8 TLS 1.3 limitations --> | 
 |             <id>jdk8</id> | 
 |             <activation> | 
 |                 <jdk>(,9)</jdk> | 
 |             </activation> | 
 |             <build> | 
 |                 <plugins> | 
 |                     <plugin> | 
 |                         <groupId>org.apache.maven.plugins</groupId> | 
 |                         <artifactId>maven-surefire-plugin</artifactId> | 
 |                         <configuration> | 
 |                             <reuseForks>false</reuseForks> | 
 |                             <excludes> | 
 |                                 <exclude>**/SslFilterTLS13Test.java</exclude> | 
 |                                 <exclude>**/SslFilterTLS13UrlStoresTest.java</exclude> | 
 |                             </excludes> | 
 |                         </configuration> | 
 |                     </plugin> | 
 |                 </plugins> | 
 |             </build> | 
 |         </profile> | 
 |         <profile> | 
 |             <id>jdk11+</id> | 
 |             <activation> | 
 |                 <jdk>[11,)</jdk> | 
 |             </activation> | 
 |             <properties> | 
 |                 <!-- https://bugs.openjdk.java.net/browse/JDK-8211426 --> | 
 |                 <surefire.security.argline>-Djdk.tls.server.protocols=TLSv1.2</surefire.security.argline> | 
 |             </properties> | 
 |         </profile> | 
 |         <profile> | 
 |             <id>disable_tls1and11</id> | 
 |             <!-- TLS 1 and TLS 1.1 are disabled for JDK 16 --> | 
 |             <activation> | 
 |                 <jdk>[16,)</jdk> | 
 |             </activation> | 
 |             <build> | 
 |                 <plugins> | 
 |                     <plugin> | 
 |                         <groupId>org.apache.maven.plugins</groupId> | 
 |                         <artifactId>maven-surefire-plugin</artifactId> | 
 |                         <configuration> | 
 |                             <reuseForks>false</reuseForks> | 
 |                             <excludes> | 
 |                                 <exclude>**/SslFilterTLS1Test.java</exclude> | 
 |                                 <exclude>**/SslFilterTLS11Test.java</exclude> | 
 |                             </excludes> | 
 |                         </configuration> | 
 |                     </plugin> | 
 |                 </plugins> | 
 |             </build> | 
 |         </profile> | 
 |     </profiles> | 
 |  | 
 | </project> |