db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1701507 - /db/torque/torque4/trunk/torque-test/pom.xml
Date Sun, 06 Sep 2015 18:11:14 GMT
Author: tfischer
Date: Sun Sep  6 18:11:13 2015
New Revision: 1701507

URL: http://svn.apache.org/r1701507
Log:
try fix derby build in jenkins by adding a profile which is running from 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=1701507&r1=1701506&r2=1701507&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/pom.xml (original)
+++ db/torque/torque4/trunk/torque-test/pom.xml Sun Sep  6 18:11:13 2015
@@ -649,7 +649,72 @@
     
     <profile>
       <!-- 
-        hsqldb profile with beans and managers. Can only be run from
+        derby profile with default settings. Can only be run from
+        parent project with "mvn -Ptest,derbyEmbedded-jenkins install" because database url
+        is adjusted to this start location
+        -->
+      <id>derbyEmbedded-jenkins</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <properties>
+        <torque.test.profileDirectory>derbyEmbedded</torque.test.profileDirectory>
+        <torque.test.idmethod>native</torque.test.idmethod>
+        <torque.test.databaseSchema>bookstore</torque.test.databaseSchema>
+        <torque.test.onUpdateCascade />
+        <torque.test.onUpdateSetNull />
+        <torque.test.onUpdateRestrict>onUpdate="restrict"</torque.test.onUpdateRestrict>
+        <torque.test.onDeleteRestrict>onDelete="restrict"</torque.test.onDeleteRestrict>
+        <torque.test.bitDataType>BOOLEANINT</torque.test.bitDataType><!--
BIT if database supports BIT type, something else if not -->
+        <torque.test.currentDateDefault>default="CURRENT_DATE"</torque.test.currentDateDefault><!--
default="CURRENT_DATE" if database supports it -->
+        <torque.test.currentTimeDefault>default="CURRENT_TIME"</torque.test.currentTimeDefault><!--
default="CURRENT_TIME" if database supports it -->
+        <torque.test.currentTimestampDefault>default="CURRENT_TIMESTAMP"</torque.test.currentTimestampDefault><!--
default="CURRENT_TIMESTAMP" if database supports it -->
+        <torque.driver>org.apache.derby.jdbc.EmbeddedDriver</torque.driver>
+        <torque.targetDatabase>derby</torque.targetDatabase>
+        <torque.database.url>jdbc:derby:target/bookstore;create=true</torque.database.url>
+        <torque.database.user />
+        <torque.database.password />
+        <torque.database.shutdown.url>jdbc:derby:torque-test/target/bookstore;shutdown=true</torque.database.shutdown.url>
+        <torque.database.shutdown.skip>false</torque.database.shutdown.skip>
+      </properties>
+      <dependencies>
+        <dependency>
+          <artifactId>derby</artifactId>
+          <groupId>org.apache.derby</groupId>
+          <version>10.8.2.2</version>
+          <scope>test</scope>
+        </dependency>
+      </dependencies>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>sql-maven-plugin</artifactId>
+            <dependencies>
+              <dependency>
+                <artifactId>derby</artifactId>
+                <groupId>org.apache.derby</groupId>
+                <version>10.8.2.2</version>
+              </dependency>
+            </dependencies>
+          </plugin>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <dependencies>
+              <dependency>
+                <artifactId>derby</artifactId>
+                <groupId>org.apache.derby</groupId>
+                <version>10.8.2.2</version>
+              </dependency>
+            </dependencies>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+    <profile>
+      <!-- 
+        hsqldb profile with beans and managers.
         To be run from within the test project using "mvn -Phsqldb test".
         -->
       <id>hsqldb</id>



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


Mime
View raw message