Thrift-1257: thrift's dependency scope on javax.servlet:servlet-api should be 'provided'
authorJake Farrell <jfarrell@apache.org>
Sun, 28 Aug 2011 18:24:45 +0000 (18:24 +0000)
committerJake Farrell <jfarrell@apache.org>
Sun, 28 Aug 2011 18:24:45 +0000 (18:24 +0000)
Client: java
Patch: jfarrell

Updated artifact servlet-api scope to provided.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1162568 13f79535-47bb-0310-9956-ffa450edef68

lib/java/build.xml

index 51df768..8002584 100644 (file)
       <!-- Thrift dependencies list -->
       <dependency groupId="org.slf4j" artifactId="slf4j-api" version="1.5.8"/>
       <dependency groupId="commons-lang" artifactId="commons-lang" version="2.5"/>
-      <dependency groupId="javax.servlet" artifactId="servlet-api" version="2.5"/>
+      <dependency groupId="javax.servlet" artifactId="servlet-api" version="2.5" scope="provided"/>
       <dependency groupId="org.apache.httpcomponents" artifactId="httpclient" version="4.1.2"/>      
       <dependency groupId="org.apache.httpcomponents" artifactId="httpcore" version="4.1.3"/>
     </artifact:pom>