summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2011-03-22 21:40:35 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2011-03-22 21:40:35 +0000
commit7fc0b0758f779f9b628297ce167892b6f0451ed5 (patch)
tree4772a86228faa2c8c5bd30149e1620fadaf3a6ca
parent9bd093414773e16d7b6da16f463267ff4d865bf2 (diff)
Exclude the servlet/jsp/el jars
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1084360 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/pom.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/pom.xml b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/pom.xml
index 7b2e7a4674..6cce33b527 100644
--- a/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/pom.xml
+++ b/sandbox/rfeng/sca-java-2.x/implementation-spring/helloworld-spring-webapp/pom.xml
@@ -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>