[exo-jcr-commits] exo-jcr SVN: r314 - in jcr/trunk/component/core: src/test/java/org/exoplatform/services/jcr and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Oct 20 06:12:43 EDT 2009


Author: pnedonosko
Date: 2009-10-20 06:12:43 -0400 (Tue, 20 Oct 2009)
New Revision: 314

Modified:
   jcr/trunk/component/core/pom.xml
   jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/BaseStandaloneTest.java
Log:
EXOJCR-164: fix of POM deps on JR tests (should be in deps of eXo tests also); fix of logger in BaseStandaloneTest

Modified: jcr/trunk/component/core/pom.xml
===================================================================
--- jcr/trunk/component/core/pom.xml	2009-10-20 09:45:09 UTC (rev 313)
+++ jcr/trunk/component/core/pom.xml	2009-10-20 10:12:43 UTC (rev 314)
@@ -167,6 +167,23 @@
          </exclusions>
       </dependency>
 
+      <!-- TCK binaries and deps for repo stub, some eXo API test -->
+      <dependency>
+         <groupId>org.apache.jackrabbit</groupId>
+         <artifactId>jackrabbit-jcr-tests</artifactId>
+         <exclusions>
+            <exclusion>
+               <groupId>org.slf4j</groupId>
+               <artifactId>slf4j-api</artifactId>
+            </exclusion>
+         </exclusions>
+         <scope>test</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.slf4j</groupId>
+         <artifactId>slf4j-log4j12</artifactId>
+         <scope>test</scope>
+      </dependency>
 
       <!-- ===== Databases JDBC support for tests ===== -->
 
@@ -486,25 +503,6 @@
       <!-- Use "mvn -Prun-tck" to launch them -->
       <profile>
          <id>run-tck</id>
-         <dependencies>
-            <!-- TCK binaries and deps for repo stub, some eXo API test -->
-            <dependency>
-               <groupId>org.apache.jackrabbit</groupId>
-               <artifactId>jackrabbit-jcr-tests</artifactId>
-               <exclusions>
-                  <exclusion>
-                     <groupId>org.slf4j</groupId>
-                     <artifactId>slf4j-api</artifactId>
-                  </exclusion>
-               </exclusions>
-               <scope>test</scope>
-            </dependency>
-            <dependency>
-               <groupId>org.slf4j</groupId>
-               <artifactId>slf4j-log4j12</artifactId>
-               <scope>test</scope>
-            </dependency>
-         </dependencies>
          <build>
             <testResources>
                <testResource>

Modified: jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/BaseStandaloneTest.java
===================================================================
--- jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/BaseStandaloneTest.java	2009-10-20 09:45:09 UTC (rev 313)
+++ jcr/trunk/component/core/src/test/java/org/exoplatform/services/jcr/BaseStandaloneTest.java	2009-10-20 10:12:43 UTC (rev 314)
@@ -58,7 +58,7 @@
 public abstract class BaseStandaloneTest extends TestCase
 {
 
-   protected static org.apache.commons.logging.Log log = ExoLogger.getLogger("jcr.JCRTest");
+   protected static Log log = ExoLogger.getLogger("jcr.JCRTest");
 
    protected static String TEMP_PATH = "./temp/fsroot";
 



More information about the exo-jcr-commits mailing list