commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r756531 - /commons/proper/lang/trunk/pom.xml
Date Fri, 20 Mar 2009 15:30:42 GMT
Author: sebb
Date: Fri Mar 20 15:30:40 2009
New Revision: 756531

URL: http://svn.apache.org/viewvc?rev=756531&view=rev
Log:
Change JCIP dependency scope to "provided" to prevent transitive dependencies

Modified:
    commons/proper/lang/trunk/pom.xml

Modified: commons/proper/lang/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/pom.xml?rev=756531&r1=756530&r2=756531&view=diff
==============================================================================
--- commons/proper/lang/trunk/pom.xml (original)
+++ commons/proper/lang/trunk/pom.xml Fri Mar 20 15:30:40 2009
@@ -391,8 +391,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> 
 



Mime
View raw message