blob: 3497cacba12eb722125b995080ad97edc1be8d17 [file] [log] [blame]
Jan Supol12a05732018-04-25 17:50:03 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4 Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
5
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v. 2.0, which is available at
8 http://www.eclipse.org/legal/epl-2.0.
9
10 This Source Code may also be made available under the following Secondary
11 Licenses when the conditions for such availability set forth in the
12 Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
13 version 2 with the GNU Classpath Exception, which is available at
14 https://www.gnu.org/software/classpath/license.html.
15
16 SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
17
18-->
19
20<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/maven-v4_0_0.xsd">
21 <modelVersion>4.0.0</modelVersion>
22
23 <parent>
24 <groupId>org.glassfish.jersey.containers</groupId>
25 <artifactId>project</artifactId>
jersey-bote81feb42019-01-25 16:18:12 +000026 <version>2.29-SNAPSHOT</version>
Jan Supol12a05732018-04-25 17:50:03 +020027 </parent>
28
29 <artifactId>jersey-container-jdk-http</artifactId>
30 <packaging>jar</packaging>
31 <name>jersey-container-jdk-http</name>
32
33 <description>JDK Http Container</description>
34
35 <dependencies>
36 <dependency>
37 <groupId>com.google.guava</groupId>
38 <artifactId>guava</artifactId>
39 <scope>test</scope>
40 </dependency>
41 </dependencies>
42
43 <build>
44 <plugins>
45 <plugin>
46 <groupId>com.sun.istack</groupId>
jansupol100db132018-12-10 15:14:46 +010047 <artifactId>istack-commons-maven-plugin</artifactId>
Jan Supol12a05732018-04-25 17:50:03 +020048 <inherited>true</inherited>
49 </plugin>
50
51 <plugin>
52 <groupId>org.codehaus.mojo</groupId>
53 <artifactId>build-helper-maven-plugin</artifactId>
54 <inherited>true</inherited>
55 </plugin>
56
57 <plugin>
58 <groupId>org.apache.felix</groupId>
59 <artifactId>maven-bundle-plugin</artifactId>
60 <inherited>true</inherited>
61 </plugin>
62
63 <plugin>
64 <groupId>org.apache.maven.plugins</groupId>
65 <artifactId>maven-surefire-plugin</artifactId>
66 </plugin>
67 </plugins>
68
69 <resources>
70 <resource>
71 <directory>${basedir}/src/main/java</directory>
72 <includes>
73 <include>META-INF/**/*</include>
74 </includes>
75 </resource>
76 <resource>
77 <directory>${basedir}/src/main/resources</directory>
78 <filtering>true</filtering>
79 </resource>
80 </resources>
81 </build>
82
83 <profiles>
84 <profile>
85 <id>windows</id>
86 <activation>
87 <os>
88 <family>windows</family>
89 </os>
90 </activation>
91 <build>
92 <plugins>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-surefire-plugin</artifactId>
96 <configuration>
97 <!-- Exclude unit tests regarding JDK HTTP Server because of failing a server shutdown in a class
98 with several tests. "java.net.BindException: Address already in use: bind"
99 bug reported on https://bugs.openjdk.java.net/browse/JDK-8015692 -->
100 <excludes>
101 <exclude>org/glassfish/jersey/jdkhttp/BasicJdkHttpServerTest.java</exclude>
102 <exclude>org/glassfish/jersey/jdkhttp/JdkHttpPackageTest.java</exclude>
103 <exclude>org/glassfish/jersey/jdkhttp/JdkHttpsServerTest.java</exclude>
104 <exclude>org/glassfish/jersey/jdkhttp/LifecycleListenerTest.java</exclude>
105 </excludes>
106 </configuration>
107 </plugin>
108 </plugins>
109 </build>
110 </profile>
111 </profiles>
112
113</project>