Browse Source

Re-enabled LDAP tests and moved log4j after apache-ds in dependency list to avoid classpath issues

Luke Taylor 20 years ago
parent
commit
31be69be37
1 changed files with 12 additions and 13 deletions
  1. 12 13
      project.xml

+ 12 - 13
project.xml

@@ -256,15 +256,6 @@
         <war.bundle>true</war.bundle>
         <war.bundle>true</war.bundle>
       </properties>
       </properties>
     </dependency>
     </dependency>
-    <dependency>
-      <groupId>log4j</groupId>
-      <artifactId>log4j</artifactId>
-      <version>1.2.9</version>
-      <type>jar</type>
-      <properties>
-        <war.bundle>true</war.bundle>
-      </properties>
-    </dependency>
     <dependency>
     <dependency>
       <groupId>junit</groupId>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <artifactId>junit</artifactId>
@@ -358,7 +349,18 @@
       <artifactId>apacheds-server-main</artifactId>
       <artifactId>apacheds-server-main</artifactId>
       <version>0.9.4-SNAPSHOT</version>
       <version>0.9.4-SNAPSHOT</version>
       <type>jar</type>
       <type>jar</type>
-    </dependency>    
+    </dependency> 
+
+    <!-- Keep log4j after the apacheds stuff to avoid nasty classpath errors -->
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <version>1.2.9</version>
+      <type>jar</type>
+      <properties>
+        <war.bundle>true</war.bundle>
+      </properties>
+    </dependency>
 
 
     <dependency>
     <dependency>
       <groupId>jmock</groupId>
       <groupId>jmock</groupId>
@@ -389,9 +391,6 @@
       <includes>
       <includes>
         <include>**/*Tests.java</include>
         <include>**/*Tests.java</include>
       </includes>
       </includes>
-      <excludes>
-        <exclude>**/ldap/**</exclude>
-      </excludes>
       <resources>
       <resources>
         <resource>
         <resource>
           <directory>${basedir}/src/test/resources</directory>
           <directory>${basedir}/src/test/resources</directory>