Author: ngn
Date: Wed Jul 16 00:22:06 2008
New Revision: 677179

URL: http://svn.apache.org/viewvc?rev=677179&view=rev
Log:
Make sure Spring is an optional dependency

Modified:
    mina/ftpserver/trunk/core/pom.xml
    mina/ftpserver/trunk/distribution/pom.xml

Modified: mina/ftpserver/trunk/core/pom.xml
URL: 
http://svn.apache.org/viewvc/mina/ftpserver/trunk/core/pom.xml?rev=677179&r1=677178&r2=677179&view=diff
==============================================================================
--- mina/ftpserver/trunk/core/pom.xml (original)
+++ mina/ftpserver/trunk/core/pom.xml Wed Jul 16 00:22:06 2008
@@ -78,6 +78,20 @@
       <artifactId>mina-core</artifactId>
     </dependency>
 
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-beans</artifactId>
+      <optional>true</optional>
+    </dependency>
+    
+    <!-- Use as Spring uses JCL -->
+    <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>jcl-over-slf4j</artifactId>
+        <optional>true</optional>
+    </dependency>
+
+
     <!-- Test dependencies -->
     <dependency>
       <groupId>commons-net</groupId>
@@ -121,16 +135,6 @@
       <scope>test</scope>
     </dependency>
 
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-beans</artifactId>
-    </dependency>
-    
-    <!-- Use as Spring uses JCL -->
-    <dependency>
-        <groupId>org.slf4j</groupId>
-        <artifactId>jcl-over-slf4j</artifactId>
-    </dependency>
     
   </dependencies>
 </project>

Modified: mina/ftpserver/trunk/distribution/pom.xml
URL: 
http://svn.apache.org/viewvc/mina/ftpserver/trunk/distribution/pom.xml?rev=677179&r1=677178&r2=677179&view=diff
==============================================================================
--- mina/ftpserver/trunk/distribution/pom.xml (original)
+++ mina/ftpserver/trunk/distribution/pom.xml Wed Jul 16 00:22:06 2008
@@ -133,6 +133,15 @@
         <groupId>log4j</groupId>
         <artifactId>log4j</artifactId>
     </dependency>
+        <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-beans</artifactId>
+    </dependency>
+    <!-- Use as Spring uses JCL -->
+    <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>jcl-over-slf4j</artifactId>
+    </dependency>
   </dependencies>
   
   <profiles>


Reply via email to