You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by st...@apache.org on 2021/05/07 16:45:54 UTC
[openjpa] 01/02: Start HerdDB profile
This is an automated email from the ASF dual-hosted git repository.
struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openjpa.git
commit f3c65f01ade84a50f6232cd4c279c4bd948ee14b
Author: Enrico Olivelli <eo...@datastax.com>
AuthorDate: Sat Apr 10 16:55:53 2021 +0200
Start HerdDB profile
---
pom.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/pom.xml b/pom.xml
index e4d6232..6697705 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1102,6 +1102,58 @@
</properties>
</profile>
+ <!-- Profile for testing with HerdDB -->
+ <profile>
+ <id>test-herddb-docker</id>
+ <activation>
+ <property>
+ <name>test-herddb-docker</name>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>org.herddb</groupId>
+ <artifactId>herddb-jdbc</artifactId>
+ <version>0.22.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <properties>
+ <connection.driver.name>org.herddb.jdbc.Driver</connection.driver.name>
+
+ <connection.url>jdbc:herddb://localhost</connection.url>
+ <connection.username>sa</connection.username>
+ <connection.password>hdb</connection.password>
+ <jdbc.DBDictionary />
+
+ <!-- DBCP overrides for testing -->
+ <dbcp.maxIdle>5</dbcp.maxIdle>
+ <dbcp.minIdle>0</dbcp.minIdle>
+
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>io.fabric8</groupId>
+ <artifactId>docker-maven-plugin</artifactId>
+ <configuration>
+ <images>
+ <image>
+ <name>herddb/herddb:latest</name>
+ <run>
+ <ports>
+ <port>7000:7000</port>
+ </ports>
+ </run>
+ </image>
+ </images>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
<!-- Profile for testing with a custom DB using a system jar -->
<!--
For example, to test with Oracle, you might run: