blob: cff1474bb2bc0980a035b5ea5da4ef071eaf0a39 [file] [log] [blame]
Jan Supol12a05732018-04-25 17:50:03 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4 Copyright (c) 2015, 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 Distribution License v. 1.0, which is available at
8 http://www.eclipse.org/org/documents/edl-v10.php.
9
10 SPDX-License-Identifier: BSD-3-Clause
11
12-->
13
14<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">
15 <modelVersion>4.0.0</modelVersion>
16
17 <parent>
18 <groupId>org.glassfish.jersey.examples</groupId>
19 <artifactId>webapp-example-parent</artifactId>
20 <relativePath>../webapp-example-parent/pom.xml</relativePath>
jersey-bote81feb42019-01-25 16:18:12 +000021 <version>2.29-SNAPSHOT</version>
Jan Supol12a05732018-04-25 17:50:03 +020022 </parent>
23
24 <artifactId>java8-webapp</artifactId>
25 <packaging>war</packaging>
26 <name>jersey-examples-java8-webapp</name>
27
28 <description>Java 8 Types WebApp Example.</description>
29
30 <dependencies>
31 <dependency>
32 <groupId>org.glassfish.jersey.containers</groupId>
33 <artifactId>jersey-container-servlet</artifactId>
34 </dependency>
35 <dependency>
36 <groupId>org.glassfish.jersey.inject</groupId>
37 <artifactId>jersey-hk2</artifactId>
38 </dependency>
39 </dependencies>
40
41 <build>
42 <plugins>
43 <plugin>
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-compiler-plugin</artifactId>
46 <inherited>true</inherited>
47 <configuration>
48 <source>${java.version}</source>
49 <target>${java.version}</target>
50 <showWarnings>false</showWarnings>
51 <fork>false</fork>
52 </configuration>
53 </plugin>
54 <!-- Run the application using "mvn jetty:run" -->
55 <plugin>
56 <groupId>org.eclipse.jetty</groupId>
57 <artifactId>jetty-maven-plugin</artifactId>
58 <!-- TODO: Remove the version when JERSEY-2743 is resolved. -->
59 <version>9.2.6.v20141205</version>
60 <configuration>
61 <scanIntervalSeconds>5</scanIntervalSeconds>
62 <stopPort>9999</stopPort>
63 <stopKey>STOP</stopKey>
64 <webApp>
65 <contextPath>/</contextPath>
66 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
67 </webApp>
68 <systemProperties>
69 <systemProperty>
70 <name>jetty.port</name>
71 <value>${jersey.config.test.container.port}</value>
72 </systemProperty>
73 </systemProperties>
74 <war>${project.build.directory}/${project.build.finalName}.war</war>
75 </configuration>
76 </plugin>
77 </plugins>
78 </build>
79
80 <profiles>
81 <profile>
82 <id>release</id>
83 <build>
84 <plugins>
85 <plugin>
86 <groupId>org.codehaus.mojo</groupId>
87 <artifactId>xml-maven-plugin</artifactId>
88 </plugin>
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-assembly-plugin</artifactId>
92 </plugin>
93 </plugins>
94 </build>
95 </profile>
96 </profiles>
97
98 <properties>
99 <jersey.config.test.container.port>8080</jersey.config.test.container.port>
100 </properties>
101</project>