Author: veithen
Date: Sun Aug 15 21:22:07 2010
New Revision: 985763

URL: http://svn.apache.org/viewvc?rev=985763&view=rev
Log:
Correctly handle the log4j dependency.

Modified:
    axis/axis2/java/core/trunk/modules/distribution/pom.xml
    axis/axis2/java/core/trunk/modules/metadata/pom.xml

Modified: axis/axis2/java/core/trunk/modules/distribution/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/distribution/pom.xml?rev=985763&r1=985762&r2=985763&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/distribution/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/distribution/pom.xml Sun Aug 15 21:22:07 
2010
@@ -201,6 +201,15 @@
             <groupId>jalopy</groupId>
             <artifactId>jalopy</artifactId>
         </dependency>
+        
+        <!-- None of the Axis2 artifacts should have a dependency on log4j
+             because we don't want to impose a particular logging 
implementation
+             on our users. However, for the binary distribution, we need to
+             choose one. -->
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+        </dependency>
     </dependencies>
     <scm>
         
<connection>scm:svn:http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/distribution</connection>

Modified: axis/axis2/java/core/trunk/modules/metadata/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/metadata/pom.xml?rev=985763&r1=985762&r2=985763&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/metadata/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/metadata/pom.xml Sun Aug 15 21:22:07 2010
@@ -72,6 +72,7 @@
         <dependency>
             <groupId>log4j</groupId>
             <artifactId>log4j</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>javax.xml.bind</groupId>


Reply via email to