You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ng...@apache.org on 2011/01/21 19:00:15 UTC

svn commit: r1061938 - /mina/vysper/trunk/examples/embedded-war/pom.xml

Author: ngn
Date: Fri Jan 21 18:00:15 2011
New Revision: 1061938

URL: http://svn.apache.org/viewvc?rev=1061938&view=rev
Log:
Commenting out websockets to make the example deployable on any servlet engine
Add a servlet for showing the status of Vysper

Modified:
    mina/vysper/trunk/examples/embedded-war/pom.xml

Modified: mina/vysper/trunk/examples/embedded-war/pom.xml
URL: http://svn.apache.org/viewvc/mina/vysper/trunk/examples/embedded-war/pom.xml?rev=1061938&r1=1061937&r2=1061938&view=diff
==============================================================================
--- mina/vysper/trunk/examples/embedded-war/pom.xml (original)
+++ mina/vysper/trunk/examples/embedded-war/pom.xml Fri Jan 21 18:00:15 2011
@@ -21,7 +21,6 @@
 		<artifactId>vysper-examples</artifactId>
 		<groupId>org.apache.vysper.examples</groupId>
 		<version>0.7-SNAPSHOT</version>
-		<relativePath>../pom.xml</relativePath>
 	</parent>
 	<modelVersion>4.0.0</modelVersion>
 	<groupId>org.apache.vysper.examples</groupId>
@@ -32,6 +31,13 @@
 
 	<dependencies>
 		<dependency>
+			<groupId>org.apache.vysper</groupId>
+			<artifactId>vysper-core</artifactId>
+		</dependency>
+
+<!-- 
+	Only works when deployed on Jetty. 
+		<dependency>
 			<groupId>org.apache.vysper.extensions</groupId>
 			<artifactId>vysper-websockets</artifactId>
 		</dependency>
@@ -40,16 +46,23 @@
 			<groupId>org.eclipse.jetty</groupId>
 			<artifactId>jetty-websocket</artifactId>
 			<version>7.2.1.v20101111</version>
-<!--			<scope>provided</scope>-->
+			<scope>provided</scope>
 		</dependency>
 
 		<dependency>
 			<groupId>org.eclipse.jetty</groupId>
 			<artifactId>jetty-servlet</artifactId>
 			<version>7.2.1.v20101111</version>
-<!--			<scope>provided</scope>-->
+			<scope>provided</scope>
 		</dependency>
+-->
 
+		<dependency>
+			<groupId>javax.servlet</groupId>
+			<artifactId>servlet-api</artifactId>
+			<version>2.5</version>
+			<scope>provided</scope>
+		</dependency>
 
 		<dependency>
 			<groupId>org.slf4j</groupId>