You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2011/03/22 22:40:35 UTC

svn commit: r1084360 - /tuscany/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/pom.xml

Author: rfeng
Date: Tue Mar 22 21:40:35 2011
New Revision: 1084360

URL: http://svn.apache.org/viewvc?rev=1084360&view=rev
Log:
Exclude the servlet/jsp/el jars

Modified:
    tuscany/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/pom.xml

Modified: tuscany/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/pom.xml?rev=1084360&r1=1084359&r2=1084360&view=diff
==============================================================================
--- tuscany/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/pom.xml (original)
+++ tuscany/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/pom.xml Tue Mar 22 21:40:35 2011
@@ -67,6 +67,13 @@
             <artifactId>sample-implementation-spring-helloworld-contribution</artifactId>
             <version>2.0-SNAPSHOT</version>
         </dependency>
+        
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jstl</artifactId>
+            <version>1.2</version>
+            <scope>runtime</scope>
+        </dependency>
 
         <dependency>
             <groupId>junit</groupId>
@@ -80,6 +87,27 @@
             <version>1.6.1</version>
             <scope>test</scope>
         </dependency>
+        
+        <!-- Mark the following dependencies provided so that maven wonn't package them into the WAR. Tomcat has issue using these jars in the WAR -->
+        <dependency>
+        	<groupId>org.apache.geronimo.specs</groupId>
+        	<artifactId>geronimo-servlet_2.5_spec</artifactId>
+        	<version>1.2</version>
+        	<type>jar</type>
+        	<scope>provided</scope>
+        </dependency>
+        <dependency>
+        	<groupId>org.apache.geronimo.specs</groupId>
+        	<artifactId>geronimo-jsp_2.1_spec</artifactId>
+        	<version>1.0.1</version>
+        	<scope>provided</scope>
+        </dependency>
+        <dependency>
+        	<groupId>org.apache.geronimo.specs</groupId>
+        	<artifactId>geronimo-el_1.0_spec</artifactId>
+        	<version>1.0.2</version>
+        	<scope>provided</scope>
+        </dependency>
     </dependencies>
 
     <build>