use only derby in memory for test

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1343640 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-05-29 10:04:32 +00:00
parent da70abb2c1
commit 6c6987cc12
6 changed files with 8 additions and 10 deletions

View File

@ -574,7 +574,7 @@
<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>

View 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=

View 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=

View 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=

View 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>

View 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=