[jboss-svn-commits] JBoss Common SVN: r2758 - common-core/trunk.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Mar 27 12:07:31 EDT 2008


Author: dimitris at jboss.org
Date: 2008-03-27 12:07:31 -0400 (Thu, 27 Mar 2008)
New Revision: 2758

Modified:
   common-core/trunk/.classpath
   common-core/trunk/pom.xml
Log:
JBCOMMON-44, declare apache-httpclient:commons-httpclient & apache-slide:webdavlib to be optional dependencies. Remove dependency on apache-xerces:xml-apis

Modified: common-core/trunk/.classpath
===================================================================
--- common-core/trunk/.classpath	2008-03-27 15:57:51 UTC (rev 2757)
+++ common-core/trunk/.classpath	2008-03-27 16:07:31 UTC (rev 2758)
@@ -3,7 +3,6 @@
 	<classpathentry kind="src" path="src/main/java"/>
 	<classpathentry kind="src" output="target/eclipse-test-classes" path="src/test/java"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-	<classpathentry kind="var" path="M2_REPO/apache-xerces/xml-apis/2.7.1/xml-apis-2.7.1.jar"/>
 	<classpathentry kind="var" path="M2_REPO/apache-slide/webdavlib/2.0/webdavlib-2.0.jar"/>
 	<classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
 	<classpathentry kind="var" path="M2_REPO/apache-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.jar"/>

Modified: common-core/trunk/pom.xml
===================================================================
--- common-core/trunk/pom.xml	2008-03-27 15:57:51 UTC (rev 2757)
+++ common-core/trunk/pom.xml	2008-03-27 16:07:31 UTC (rev 2758)
@@ -53,32 +53,55 @@
       </snapshots>
     </repository>
   </repositories>
+  
   <dependencies>
+  
     <dependency>
-      <groupId>apache-xerces</groupId>
-      <artifactId>xml-apis</artifactId>
-      <version>2.7.1</version>
-    </dependency> 
-    <dependency>
       <groupId>apache-httpclient</groupId>
       <artifactId>commons-httpclient</artifactId>
       <version>2.0.2</version>
-    </dependency>      
+      <scope>compile</scope>
+      <optional>true</optional> <!-- org.jboss.net.protocol.http.DavURLLister -->
+    </dependency>
+    
     <dependency>
       <groupId>apache-slide</groupId>
       <artifactId>webdavlib</artifactId>
       <version>2.0</version>
-    </dependency>   
+      <scope>compile</scope>
+      <optional>true</optional> <!-- org.jboss.net.protocol.http.DavURLLister -->
+    </dependency>
+
     <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss-common-logging-spi</artifactId>
       <version>2.0.4.GA</version>
+      <scope>compile</scope>
     </dependency>
+    
     <dependency>
       <groupId>jboss</groupId>
       <artifactId>jboss-test</artifactId>
       <version>1.0.3.GA</version>
       <scope>test</scope>
+      <!-- Cyclical dependency, 27/03/2008
+      jboss:jboss-test->jboss:jboss-logging-log4j->jboss:jboss-common-core
+      
+       +- jboss:jboss-test:jar:1.0.3.GA:test
+       |  +- org.apache.ant:ant-junit:jar:1.7.0:test
+       |  |  \- org.apache.ant:ant:jar:1.7.0:test
+       |  |     \- org.apache.ant:ant-launcher:jar:1.7.0:test
+       |  +- apache-xerces:xml-apis:jar:2.7.1:test
+       |  +- apache-httpclient:commons-httpclient:jar:2.0.2:test
+       |  +- oswego-concurrent:concurrent:jar:1.3.4:test
+       |  +- jboss:jboss-logging-spi:jar:2.0.2.GA:test
+       |  +- jboss.profiler.jvmti:jboss-profiler-jvmti:jar:1.0.0.CR5:tes
+       |  +- jboss:jboss-logging-log4j:jar:2.0.2.GA:test
+       |  |  +- jboss:jboss-common-core:jar:2.0.2.GA:test
+       |  |  |  \- apache-slide:webdavlib:jar:2.0:test
+       |  |  \- apache-log4j:log4j:jar:1.2.8:test
+       |  \- log4j:log4j:jar:1.2.14:test
+      -->      
       <exclusions>
         <exclusion>
           <groupId>jboss</groupId>
@@ -86,12 +109,14 @@
         </exclusion>
       </exclusions>
     </dependency>
+    
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <version>3.8.1</version>
       <scope>test</scope>
     </dependency>
+    
   </dependencies>  
   
 </project>
\ No newline at end of file




More information about the jboss-svn-commits mailing list