| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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"> |
| <parent> |
| <artifactId>vysper-examples</artifactId> |
| <groupId>org.apache.vysper.examples</groupId> |
| <version>0.8-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>vysper-embedded-war</artifactId> |
| <name>Apache Vysper Embedded in a WAR demo</name> |
| <version>0.8-SNAPSHOT</version> |
| <packaging>war</packaging> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.vysper</groupId> |
| <artifactId>vysper-core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.vysper.extensions</groupId> |
| <artifactId>vysper-websockets</artifactId> |
| </dependency> |
| |
| <!-- |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-websocket</artifactId> |
| <version>7.2.1.v20101111</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-servlet</artifactId> |
| <version>7.2.1.v20101111</version> |
| <scope>provided</scope> |
| </dependency> |
| --> |
| |
| <!-- |
| Only works when deployed on Tomcat 7.0.27 or later |
| <dependency> |
| <groupId>org.apache.vysper.extensions</groupId> |
| <artifactId>vysper-websockets</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-catalina</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-coyote</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| --> |
| |
| <!-- for having a BOSH endpoint --> |
| <dependency> |
| <groupId>org.apache.vysper.extensions</groupId> |
| <artifactId>xep0124-xep0206-bosh</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-maven-plugin</artifactId> |
| <version>8.0.0.RC0</version> |
| <configuration> |
| <connectors> |
| <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> |
| <port>8080</port> |
| <maxIdleTime>2000</maxIdleTime> |
| </connector> |
| </connectors> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |