[gatein-commits] gatein SVN: r6040 - in components/common/trunk: logging and 1 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Mar 16 10:05:58 EDT 2011


Author: chris.laprun at jboss.com
Date: 2011-03-16 10:05:57 -0400 (Wed, 16 Mar 2011)
New Revision: 6040

Modified:
   components/common/trunk/common/pom.xml
   components/common/trunk/logging/pom.xml
   components/common/trunk/mc/pom.xml
Log:
- GTNCOMMON-15: 
  + Removed unused javax.activation and commons-httpclient dependencies, made jboss-vfs and servlet-api provided. Ideally, VFSZipURLNavigationProvider and other JBoss-specific classes should be moved to a JBoss-specific module.
  + Made slf4j-api provided

Modified: components/common/trunk/common/pom.xml
===================================================================
--- components/common/trunk/common/pom.xml	2011-03-16 04:47:19 UTC (rev 6039)
+++ components/common/trunk/common/pom.xml	2011-03-16 14:05:57 UTC (rev 6040)
@@ -23,24 +23,21 @@
 			<scope>test</scope>
 		</dependency>
 
+      <!--
+      Supposedly, when VFSZipURLNavigationProvider is used, it is in a JBoss AS context... This avoids pulling lots of
+      dependencies for just a class that might not even be used. Ideally, VFSZipURLNavigationProvider should be moved
+      to a JBoss AS specific common module?
+      -->
 		<dependency>
-			<groupId>javax.activation</groupId>
-			<artifactId>activation</artifactId>
-		</dependency>
-
-		<dependency>
 			<groupId>org.jboss</groupId>
 			<artifactId>jboss-vfs</artifactId>
+         <scope>provided</scope>
 		</dependency>
 
 		<dependency>
-			<groupId>commons-httpclient</groupId>
-			<artifactId>commons-httpclient</artifactId>
-		</dependency>
-
-		<dependency>
 			<groupId>javax.servlet</groupId>
 			<artifactId>servlet-api</artifactId>
+         <scope>provided</scope>
 		</dependency>
 
 		<dependency>

Modified: components/common/trunk/logging/pom.xml
===================================================================
--- components/common/trunk/logging/pom.xml	2011-03-16 04:47:19 UTC (rev 6039)
+++ components/common/trunk/logging/pom.xml	2011-03-16 14:05:57 UTC (rev 6040)
@@ -33,6 +33,7 @@
       <dependency>
          <groupId>org.slf4j</groupId>
          <artifactId>slf4j-api</artifactId>
+         <scope>provided</scope>
       </dependency>
 
       <dependency>

Modified: components/common/trunk/mc/pom.xml
===================================================================
--- components/common/trunk/mc/pom.xml	2011-03-16 04:47:19 UTC (rev 6039)
+++ components/common/trunk/mc/pom.xml	2011-03-16 14:05:57 UTC (rev 6040)
@@ -36,6 +36,7 @@
 		<dependency>
 			<groupId>javax.servlet</groupId>
 			<artifactId>servlet-api</artifactId>
+         <scope>provided</scope>
 		</dependency>
 
 	</dependencies>



More information about the gatein-commits mailing list