| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>jax_rs_websocket_web</artifactId> |
| <name>JAX-RS WebSocket WebApp Demo</name> |
| <description>JAX-RS WebSocket Demo</description> |
| <packaging>war</packaging> |
| <parent> |
| <groupId>org.apache.cxf.samples</groupId> |
| <artifactId>cxf-samples</artifactId> |
| <version>3.3.10-SNAPSHOT</version> |
| <relativePath>../..</relativePath> |
| </parent> |
| <properties> |
| <cxf.version>${project.version}</cxf.version> |
| <cxf.tomcat.version>7.0.96</cxf.tomcat.version> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-maven-plugin</artifactId> |
| <version>${cxf.jetty9.version}</version> |
| <configuration> |
| <webAppSourceDirectory>${project.build.directory}/${project.name}</webAppSourceDirectory> |
| <scanIntervalSeconds>1</scanIntervalSeconds> |
| <httpConnector> |
| <port>9000</port> |
| </httpConnector> |
| <webAppConfig> |
| <contextPath>/</contextPath> |
| </webAppConfig> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.tomcat.maven</groupId> |
| <artifactId>tomcat7-maven-plugin</artifactId> |
| <version>2.2</version> |
| <configuration> |
| <warSourceDirectory>${project.build.directory}/${project.artifactId}</warSourceDirectory> |
| <port>9000</port> |
| <path>/</path> |
| </configuration> |
| <executions> |
| <execution> |
| <id>run-tomcat</id> |
| <configuration> |
| <fork>true</fork> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-core</artifactId> |
| <version>${cxf.tomcat.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-logging-juli</artifactId> |
| <version>${cxf.tomcat.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-jasper</artifactId> |
| <version>${cxf.tomcat.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-jasper</artifactId> |
| <version>${cxf.tomcat.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-jasper-el</artifactId> |
| <version>${cxf.tomcat.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-jsp-api</artifactId> |
| <version>${cxf.tomcat.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-websocket</artifactId> |
| <version>${cxf.tomcat.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <!-- cxt et al --> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-http</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-websocket</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.ws.rs</groupId> |
| <artifactId>jakarta.ws.rs-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-web</artifactId> |
| </dependency> |
| |
| <!-- add atmosphere --> |
| <dependency> |
| <groupId>org.atmosphere</groupId> |
| <artifactId>atmosphere-runtime</artifactId> |
| </dependency> |
| </dependencies> |
| </project> |