You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2012/04/27 22:48:36 UTC

svn commit: r1331586 - /cxf/trunk/rt/rs/security/oauth-parent/oauth/pom.xml

Author: dkulp
Date: Fri Apr 27 20:48:35 2012
New Revision: 1331586

URL: http://svn.apache.org/viewvc?rev=1331586&view=rev
Log:
Fix servlet imports in oauth

Modified:
    cxf/trunk/rt/rs/security/oauth-parent/oauth/pom.xml

Modified: cxf/trunk/rt/rs/security/oauth-parent/oauth/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/oauth-parent/oauth/pom.xml?rev=1331586&r1=1331585&r2=1331586&view=diff
==============================================================================
--- cxf/trunk/rt/rs/security/oauth-parent/oauth/pom.xml (original)
+++ cxf/trunk/rt/rs/security/oauth-parent/oauth/pom.xml Fri Apr 27 20:48:35 2012
@@ -34,6 +34,11 @@
         <version>2.6.1-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
+    <properties>
+        <cxf.osgi.import>
+            javax.servlet*;version="${cxf.osgi.javax.servlet.version}",
+        </cxf.osgi.import>
+    </properties>
 
     <dependencies>
         <dependency>
@@ -52,6 +57,8 @@
             <groupId>${cxf.servlet-api.group}</groupId>
             <artifactId>${cxf.servlet-api.artifact}</artifactId>
             <version>${cxf.servlet-api.version}</version>
+            <scope>provided</scope>
+            <optional>true</optional>
         </dependency>
         <!--test dependencies-->
         <dependency>