Fix integration tests execution.

This commit is contained in:
Paulo Gustavo Veiga
2012-11-04 01:06:02 -03:00
parent 45a190bbac
commit 52ce817e3a
11 changed files with 56 additions and 51 deletions

View File

@@ -311,12 +311,8 @@
<configuration>
<driver>org.hsqldb.jdbc.JDBCDriver</driver>
<url>jdbc:hsqldb:file:${project.basedir}/target/db/wisemapping</url>
<url>jdbc:hsqldb:file:${project.build.directory}/db/wisemapping</url>
<username>sa</username>
<!--all executions are ignored if -Dmaven.test.skipDB=true
Use this flag if you want to reuse an already created HSQL database instance
-->
<skip>${maven.test.skipDB}</skip>
</configuration>
<dependencies>
@@ -494,6 +490,10 @@
<name>org.mortbay.util.FileResource.checkAliases</name>
<value>false</value>
</systemProperty>
<systemProperty>
<name>database.base.url</name>
<value>${project.build.directory}</value>
</systemProperty>
</systemProperties>
<!--<scanIntervalSeconds>10</scanIntervalSeconds>-->
</configuration>
@@ -502,7 +502,7 @@
<id>start-jetty</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run-war</goal>
<goal>run</goal>
</goals>
<configuration>
<scanIntervalSeconds>0</scanIntervalSeconds>