]> source.dussan.org Git - archiva.git/commitdiff
use only derby in memory for test
authorOlivier Lamy <olamy@apache.org>
Tue, 29 May 2012 10:04:32 +0000 (10:04 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 29 May 2012 10:04:32 +0000 (10:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1343640 13f79535-47bb-0310-9956-ffa450edef68

pom.xml
redback-common/redback-common-test-resources/src/main/resources/org/apache/archiva/redback/config-defaults.properties
redback-configuration/src/main/resources/org/apache/archiva/redback/config-defaults.properties
redback-data-management/src/test/resources/org/apache/archiva/redback/config-defaults.properties
redback-data-management/src/test/resources/spring-context.xml
redback-integrations/redback-common-integrations/src/test/resources/org/apache/archiva/redback/config-defaults.properties

diff --git a/pom.xml b/pom.xml
index 9f221225ea9089e92ce41605ee285f5d0a85ae2a..70e302c3b26cbc3fa18210ddd1cc2e2b25c6fc11 100644 (file)
--- a/pom.xml
+++ b/pom.xml
       <dependency>
         <groupId>org.hsqldb</groupId>
         <artifactId>hsqldb</artifactId>
-        <version>1.8.0.10</version>
+        <version>2.2.8</version>
       </dependency>
       <dependency>
         <groupId>org.apache.derby</groupId>
index e1a9696a8db35962571a1d04255de6c7d07cf4bf..5621a702c0ce0179b779b5ce029ddd2916567468 100644 (file)
@@ -27,7 +27,7 @@ application.timestamp=EEE d MMM yyyy HH:mm:ss Z
 jdbc.driver.name=org.apache.derby.jdbc.EmbeddedDriver
 #jdbc.url=jdbc:hsqldb:mem:redback-users-tests
 #jdbc.url=jdbc:derby:memory:users-test;create=true
-jdbc.url=jdbc:derby:users-test;create=true
+jdbc.url=jdbc:derby:memory:users-test;create=true
 jdbc.username=sa
 jdbc.password=
 
index e28bf4b37486f53477cfd941c243d95ae1756b0a..22313266464c5946e7aacbbf8e5d378832d42ee8 100644 (file)
@@ -24,7 +24,7 @@ application.timestamp=EEE d MMM yyyy HH:mm:ss Z
 # JDBC Setup
 
 jdbc.driver.name=org.apache.derby.jdbc.EmbeddedDriver
-jdbc.url=jdbc:derby:${plexus.home}/database;create=true
+jdbc.url=jdbc:derby:memory:users-tests;create=true
 jdbc.username=sa
 jdbc.password=
 
index 6409f97cb63d5a2e15e8886c763b1f3ab760057f..63902ad1160c76dfa2febb9b834749bc4a71d07d 100644 (file)
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-jdbc.url=jdbc:derby:target/database;create=true
+
 
 
 # --------------------------------------------------------------------
@@ -25,8 +25,9 @@ application.timestamp=EEE d MMM yyyy HH:mm:ss Z
 
 # --------------------------------------------------------------------
 # JDBC Setup
-
+jdbc.url=jdbc:derby:memory:users-tests;create=true
 jdbc.driver.name=org.apache.derby.jdbc.EmbeddedDriver
+
 jdbc.username=sa
 jdbc.password=
 
index 5125b40caa942bc22c710de08dc1cfbf40b930c2..ae1f6f9985acc353aa557e6b6e82c55fc9dbab27 100644 (file)
@@ -31,7 +31,7 @@
   <bean name="jdoFactory#users" class="org.apache.archiva.redback.common.jdo.UserConfigurableJdoFactory">
     <property name="config" ref="userConfiguration"/>
     <property name="driverName" value="org.apache.derby.jdbc.EmbeddedDriver"/>
-    <property name="url" value="jdbc:derby:${basedir}/target" />
+    <property name="url" value="jdbc:derby:memory:users-test" />
     <property name="userName" value="sa"/>
     <property name="password" value=""/>
   </bean>
index 5ce27861327312538954b52c1c0a2f0b0f826c23..bbc9c1d2142bc8bdd892a9218fd3df23ec6dc3d7 100644 (file)
@@ -16,9 +16,6 @@
 # under the License.
 
 
-jdbc.url=jdbc:derby:target/database;create=true
-
-
 # --------------------------------------------------------------------
 # Application Configuration
 
@@ -26,7 +23,7 @@ application.timestamp=EEE d MMM yyyy HH:mm:ss Z
 
 # --------------------------------------------------------------------
 # JDBC Setup
-
+jdbc.url=jdbc:derby:memory:users-test;create=true
 jdbc.driver.name=org.apache.derby.jdbc.EmbeddedDriver
 jdbc.username=sa
 jdbc.password=