blob: 0697c82827d51d5bbbec07a24b39d032952e9402 [file] [log] [blame]
Jan Supol12a05732018-04-25 17:50:03 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4 Copyright (c) 2017, 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
16 <modelVersion>4.0.0</modelVersion>
17
18 <parent>
19 <groupId>org.glassfish.jersey.examples</groupId>
20 <artifactId>webapp-example-parent</artifactId>
21 <relativePath>../webapp-example-parent/pom.xml</relativePath>
jersey-bote81feb42019-01-25 16:18:12 +000022 <version>2.29-SNAPSHOT</version>
Jan Supol12a05732018-04-25 17:50:03 +020023 </parent>
24
25 <artifactId>sse-item-store-jaxrs-webapp</artifactId>
26 <packaging>war</packaging>
27 <name>jersey-examples-sse-item-store-jaxrs-webapp</name>
28
29 <description>Jersey JAX-RS 2.1 SSE API-based item store example.</description>
30
31 <dependencies>
32 <dependency>
33 <groupId>org.glassfish.jersey.containers</groupId>
34 <artifactId>jersey-container-servlet</artifactId>
35 </dependency>
36
37 <dependency>
38 <groupId>org.glassfish.jersey.inject</groupId>
39 <artifactId>jersey-hk2</artifactId>
40 </dependency>
41
42 <dependency>
43 <groupId>org.glassfish.jersey.media</groupId>
44 <artifactId>jersey-media-sse</artifactId>
45 </dependency>
46
47 <dependency>
48 <groupId>org.glassfish.jersey.connectors</groupId>
49 <artifactId>jersey-apache-connector</artifactId>
50 <version>${project.version}</version>
51 <scope>test</scope>
52 </dependency>
53 </dependencies>
54
55 <build>
56 <plugins>
57 <!-- Run the application using "mvn jetty:run" -->
58 <plugin>
59 <!-- TODO unify Jetty in all examples -->
60 <groupId>org.eclipse.jetty</groupId>
61 <artifactId>jetty-maven-plugin</artifactId>
62 <configuration>
63 <scanIntervalSeconds>10</scanIntervalSeconds>
64 <stopPort>9999</stopPort>
65 <stopKey>STOP</stopKey>
66 <webApp>
67 <contextPath>/${project.artifactId}</contextPath>
68 </webApp>
69 <systemProperties>
70 <systemProperty>
71 <name>jetty.port</name>
72 <value>${jersey.config.test.container.port}</value>
73 </systemProperty>
74 </systemProperties>
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>