Revision: f1bb3972a750
Author: Jean Deruelle <[email protected]>
Date: Tue May 1 04:28:01 2012
Log: fixes for JBoss compat
http://code.google.com/p/sipservlets/source/detail?r=f1bb3972a750&repo=archetypes
Modified:
/src/main/resources/archetype-resources/pom.xml
/src/main/resources/archetype-resources/src/main/sipapp/WEB-INF/sip.xml
=======================================
--- /src/main/resources/archetype-resources/pom.xml Tue May 1 02:30:43 2012
+++ /src/main/resources/archetype-resources/pom.xml Tue May 1 04:28:01 2012
@@ -59,6 +59,7 @@
<artifactId>maven-war-plugin</artifactId>
<version>2.2</version>
<configuration>
+
<failOnMissingWebXml>false</failOnMissingWebXml>
<warSourceDirectory>${basedir}/src/main/sipapp</warSourceDirectory>
</configuration>
</plugin>
=======================================
--- /src/main/resources/archetype-resources/src/main/sipapp/WEB-INF/sip.xml
Tue May 1 02:30:43 2012
+++ /src/main/resources/archetype-resources/src/main/sipapp/WEB-INF/sip.xml
Tue May 1 04:28:01 2012
@@ -3,16 +3,15 @@
#set( $symbol_escape = '\' )
<?xml version="1.0" encoding="UTF-8"?>
-<sip-app xmlns="http://www.jcp.org/xml/ns/sipservlet"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jcp.org/xml/ns/sipservlet
http://www.jcp.org/xml/ns/sipservlet/sip-app_1_1.xsd"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
- version="1.1">
+<sip-app>
<!-- Archetype Created SIP Application -->
<app-name>${package}.HelloSipWorldApplication</app-name>
- <main-servlet>
- HelloSipWorldServlet
- </main-servlet>
+ <servlet-selection>
+ <main-servlet>
+ HelloSipWorldServlet
+ </main-servlet>
+ </servlet-selection>
<servlet>
<servlet-name>HelloSipWorldServlet</servlet-name>