Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | |
jansupol | 3c0925b | 2019-02-07 11:27:52 +0100 | [diff] [blame^] | 4 | Copyright (c) 2014, 2019 Oracle and/or its affiliates. All rights reserved. |
Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 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-bot | e81feb4 | 2019-01-25 16:18:12 +0000 | [diff] [blame] | 21 | <version>2.29-SNAPSHOT</version> |
Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 22 | </parent> |
| 23 | |
| 24 | <artifactId>rx-client-webapp</artifactId> |
| 25 | <packaging>war</packaging> |
| 26 | <name>jersey-examples-rx-client-webapp</name> |
| 27 | |
| 28 | <description>Jersey Reactive Client WebApp Example.</description> |
| 29 | |
| 30 | <dependencies> |
| 31 | <dependency> |
| 32 | <groupId>org.glassfish.jersey.inject</groupId> |
| 33 | <artifactId>jersey-hk2</artifactId> |
| 34 | </dependency> |
| 35 | <dependency> |
| 36 | <groupId>org.glassfish.jersey.containers</groupId> |
| 37 | <artifactId>jersey-container-servlet</artifactId> |
| 38 | </dependency> |
| 39 | <dependency> |
| 40 | <groupId>org.glassfish.jersey.ext.rx</groupId> |
| 41 | <artifactId>jersey-rx-client-guava</artifactId> |
| 42 | </dependency> |
| 43 | <dependency> |
| 44 | <groupId>org.glassfish.jersey.ext.rx</groupId> |
| 45 | <artifactId>jersey-rx-client-rxjava</artifactId> |
| 46 | </dependency> |
| 47 | <dependency> |
| 48 | <groupId>org.glassfish.jersey.ext.rx</groupId> |
| 49 | <artifactId>jersey-rx-client-rxjava2</artifactId> |
| 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>org.glassfish.jersey.media</groupId> |
| 53 | <artifactId>jersey-media-json-jackson</artifactId> |
| 54 | </dependency> |
| 55 | </dependencies> |
| 56 | |
| 57 | <build> |
| 58 | <plugins> |
| 59 | <!-- Run the application using "mvn jetty:run" --> |
| 60 | <plugin> |
| 61 | <groupId>org.eclipse.jetty</groupId> |
| 62 | <artifactId>jetty-maven-plugin</artifactId> |
| 63 | <configuration> |
| 64 | <scanIntervalSeconds>5</scanIntervalSeconds> |
| 65 | <stopPort>9999</stopPort> |
| 66 | <stopKey>STOP</stopKey> |
| 67 | <webApp> |
| 68 | <contextPath>/</contextPath> |
| 69 | <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern> |
| 70 | </webApp> |
| 71 | <systemProperties> |
| 72 | <systemProperty> |
| 73 | <name>jetty.port</name> |
| 74 | <value>${jersey.config.test.container.port}</value> |
| 75 | </systemProperty> |
| 76 | </systemProperties> |
| 77 | <war>${project.build.directory}/${project.build.finalName}.war</war> |
| 78 | </configuration> |
| 79 | </plugin> |
| 80 | </plugins> |
| 81 | </build> |
| 82 | |
| 83 | <profiles> |
| 84 | <profile> |
jansupol | 3c0925b | 2019-02-07 11:27:52 +0100 | [diff] [blame^] | 85 | <id>pre-release</id> |
Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 86 | <build> |
| 87 | <plugins> |
| 88 | <plugin> |
| 89 | <groupId>org.codehaus.mojo</groupId> |
| 90 | <artifactId>xml-maven-plugin</artifactId> |
| 91 | </plugin> |
| 92 | <plugin> |
| 93 | <groupId>org.apache.maven.plugins</groupId> |
| 94 | <artifactId>maven-assembly-plugin</artifactId> |
| 95 | </plugin> |
| 96 | </plugins> |
| 97 | </build> |
| 98 | </profile> |
| 99 | </profiles> |
| 100 | |
| 101 | <properties> |
| 102 | <jersey.config.test.container.port>8080</jersey.config.test.container.port> |
| 103 | </properties> |
| 104 | </project> |