You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2009/03/20 16:23:13 UTC

svn commit: r756524 - in /httpcomponents/httpclient/trunk: httpclient/pom.xml httpmime/pom.xml

Author: sebb
Date: Fri Mar 20 15:23:10 2009
New Revision: 756524

URL: http://svn.apache.org/viewvc?rev=756524&view=rev
Log:
Change JCIP dependency scope to provided

Modified:
    httpcomponents/httpclient/trunk/httpclient/pom.xml
    httpcomponents/httpclient/trunk/httpmime/pom.xml

Modified: httpcomponents/httpclient/trunk/httpclient/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/pom.xml?rev=756524&r1=756523&r2=756524&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/pom.xml (original)
+++ httpcomponents/httpclient/trunk/httpclient/pom.xml Fri Mar 20 15:23:10 2009
@@ -78,8 +78,12 @@
         <groupId>net.jcip</groupId>
         <artifactId>jcip-annotations</artifactId>
         <version>1.0</version>
-        <!-- Not optional; this is a hack to stop the dependency becoming transitive -->
-        <optional>true</optional>
+        <!-- 
+            Annotations are only _required_ during a build
+            They are not needed at run-time
+            Provided means that the dependency is not transitive.
+         -->
+        <scope>provided</scope>
     </dependency>
   </dependencies>
 

Modified: httpcomponents/httpclient/trunk/httpmime/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpmime/pom.xml?rev=756524&r1=756523&r2=756524&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpmime/pom.xml (original)
+++ httpcomponents/httpclient/trunk/httpmime/pom.xml Fri Mar 20 15:23:10 2009
@@ -78,8 +78,12 @@
         <groupId>net.jcip</groupId>
         <artifactId>jcip-annotations</artifactId>
         <version>1.0</version>
-        <!-- Not optional; this is a hack to stop the dependency becoming transitive -->
-        <optional>true</optional>
+        <!-- 
+            Annotations are only _required_ during a build.
+            They are not needed at run-time.
+            Provided means that the dependency is not transitive.
+         -->
+        <scope>provided</scope>
     </dependency>
   </dependencies>