You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2012/11/13 22:09:55 UTC

svn commit: r1408963 - /db/torque/torque4/trunk/torque-test/pom.xml

Author: tfischer
Date: Tue Nov 13 21:09:55 2012
New Revision: 1408963

URL: http://svn.apache.org/viewvc?rev=1408963&view=rev
Log:
add extra hsqldb jenkins profile so that the normal hsqldb profile can be run from test project root

Modified:
    db/torque/torque4/trunk/torque-test/pom.xml

Modified: db/torque/torque4/trunk/torque-test/pom.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/pom.xml?rev=1408963&r1=1408962&r2=1408963&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/pom.xml (original)
+++ db/torque/torque4/trunk/torque-test/pom.xml Tue Nov 13 21:09:55 2012
@@ -504,8 +504,7 @@
     <profile>
       <!-- 
         hsqldb profile with beans and managers. Can only be run from
-        parent project with "mvn -Ptest,hsqldb install" because database url
-        is adjusted to this start location
+        To be run from within the test project using "mvn -Phsqldb test".
         -->
       <id>hsqldb</id>
       <activation>
@@ -517,6 +516,31 @@
         <torque.test.driver.artifactId>hsqldb</torque.test.driver.artifactId>
         <torque.test.driver.groupId>org.hsqldb</torque.test.driver.groupId>
         <torque.test.driver.version>2.2.8</torque.test.driver.version>
+        <torque.driver>org.hsqldb.jdbcDriver</torque.driver>
+        <torque.targetDatabase>hsqldb</torque.targetDatabase>
+        <torque.database.url>jdbc:hsqldb:target/sqltest;shutdown=true</torque.database.url>
+        <torque.database.user>sa</torque.database.user>
+        <torque.database.password />
+        <torque.database.shutdown.url>none</torque.database.shutdown.url>
+        <torque.database.shutdown.skip>true</torque.database.shutdown.skip>
+      </properties>
+    </profile>
+    <profile>
+      <!-- 
+        hsqldb profile with beans and managers. Can only be run from
+        parent project with "mvn -Ptest,hsqldb-jenkins install" because database url
+        is adjusted to this start location
+        -->
+      <id>hsqldb-jenkins</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <properties>
+        <torque.test.profileDirectory>hsqldb</torque.test.profileDirectory>
+        <torque.test.idmethod>idbroker</torque.test.idmethod>
+        <torque.test.driver.artifactId>hsqldb</torque.test.driver.artifactId>
+        <torque.test.driver.groupId>org.hsqldb</torque.test.driver.groupId>
+        <torque.test.driver.version>2.2.8</torque.test.driver.version>
         <torque.test.databaseSchema>torque_schema</torque.test.databaseSchema>
         <torque.driver>org.hsqldb.jdbcDriver</torque.driver>
         <torque.targetDatabase>hsqldb</torque.targetDatabase>



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org