|  | <?xml version="1.0" encoding="UTF-8"?> | 
|  | <!-- | 
|  |  | 
|  | Copyright (c) 2010, 2024 Oracle and/or its affiliates. All rights reserved. | 
|  |  | 
|  | This program and the accompanying materials are made available under the | 
|  | terms of the Eclipse Distribution License v. 1.0, which is available at | 
|  | http://www.eclipse.org/org/documents/edl-v10.php. | 
|  |  | 
|  | SPDX-License-Identifier: BSD-3-Clause | 
|  |  | 
|  | --> | 
|  |  | 
|  | <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.examples</groupId> | 
|  | <artifactId>project</artifactId> | 
|  | <version>3.0.99-SNAPSHOT</version> | 
|  | </parent> | 
|  |  | 
|  | <artifactId>https-clientserver-grizzly</artifactId> | 
|  | <name>jersey-examples-https-clientserver-grizzly</name> | 
|  | <packaging>jar</packaging> | 
|  |  | 
|  | <description>Jersey HTTPS Client/Server example on Grizzly.</description> | 
|  |  | 
|  | <dependencies> | 
|  | <dependency> | 
|  | <groupId>jakarta.annotation</groupId> | 
|  | <artifactId>jakarta.annotation-api</artifactId> | 
|  | </dependency> | 
|  | <dependency> | 
|  | <groupId>org.glassfish.jersey.containers</groupId> | 
|  | <artifactId>jersey-container-grizzly2-servlet</artifactId> | 
|  | </dependency> | 
|  | <dependency> | 
|  | <groupId>org.glassfish.jersey.core</groupId> | 
|  | <artifactId>jersey-client</artifactId> | 
|  | </dependency> | 
|  | <dependency> | 
|  | <groupId>org.glassfish.jersey.connectors</groupId> | 
|  | <artifactId>jersey-grizzly-connector</artifactId> | 
|  | <version>${project.version}</version> | 
|  | </dependency> | 
|  | <dependency> | 
|  | <groupId>org.glassfish.jersey.inject</groupId> | 
|  | <artifactId>jersey-hk2</artifactId> | 
|  | </dependency> | 
|  | <dependency> | 
|  | <groupId>jakarta.xml.bind</groupId> | 
|  | <artifactId>jakarta.xml.bind-api</artifactId> | 
|  | </dependency> | 
|  | <dependency> | 
|  | <groupId>org.junit.jupiter</groupId> | 
|  | <artifactId>junit-jupiter</artifactId> | 
|  | <scope>test</scope> | 
|  | </dependency> | 
|  | </dependencies> | 
|  |  | 
|  | <build> | 
|  | <plugins> | 
|  | <plugin> | 
|  | <groupId>org.codehaus.mojo</groupId> | 
|  | <artifactId>exec-maven-plugin</artifactId> | 
|  | <configuration> | 
|  | <mainClass>org.glassfish.jersey.examples.httpsclientservergrizzly.Server</mainClass> | 
|  | </configuration> | 
|  | </plugin> | 
|  | </plugins> | 
|  | </build> | 
|  |  | 
|  | <profiles> | 
|  | <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> | 
|  | <dependencies> | 
|  | <dependency> | 
|  | <groupId>com.sun.xml.bind</groupId> | 
|  | <artifactId>jaxb-osgi</artifactId> | 
|  | <scope>runtime</scope> | 
|  | </dependency> | 
|  | </dependencies> | 
|  | </profile> | 
|  | <profile> | 
|  | <id>pre-release</id> | 
|  | <build> | 
|  | <plugins> | 
|  | <plugin> | 
|  | <groupId>org.apache.maven.plugins</groupId> | 
|  | <artifactId>maven-assembly-plugin</artifactId> | 
|  | </plugin> | 
|  | </plugins> | 
|  | </build> | 
|  | </profile> | 
|  | </profiles> | 
|  |  | 
|  | </project> |