activeobjects-integration-profiles
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>net.java.dev.activeobjects</groupId>
<artifactId>activeobjects-integration-profiles</artifactId>
<version>3.1.6</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.java.dev.activeobjects</groupId>
<artifactId>activeobjects-parent</artifactId>
<version>3.1.6</version>
</parent>
<artifactId>activeobjects-integration-profiles</artifactId>
<packaging>pom</packaging>
<name>Active Objects - Integration Profiles</name>
<properties>
<hsqldb.version>1.8.0.5</hsqldb.version>
<mysql.version>5.1.13</mysql.version>
<postgres.groupId>postgresql</postgres.groupId>
<postgres.version>9.2-1002.jdbc4</postgres.version>
<oracle.version>11.2.0.2.0</oracle.version>
<nuodb.version>2.0.4</nuodb.version>
<jtds.version>1.2.4</jtds.version>
<sqljdbc.version>4.0.2206</sqljdbc.version>
<db.skip>false</db.skip>
<db.host>localhost</db.host>
<db.name>ao_test</db.name>
<db.username>ao_user</db.username>
<db.password>ao_password</db.password>
<db.schema>ao_schema</db.schema>
</properties>
<profiles>
<profile>
<id>hsql</id>
<properties>
<ao.test.database>hsql</ao.test.database>
<db.skip>true</db.skip>
<db.name />
<db.username />
<db.password />
<db.schema />
<docker.skip>true</docker.skip>
</properties>
<dependencies>
<dependency>
<groupId>hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>${hsqldb.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludedGroups>
net.java.ao.test.junit.H2IntegrationTest,
net.java.ao.test.junit.DerbyIntegrationTest,
net.java.ao.test.junit.MySqlIntegrationTest,
net.java.ao.test.junit.NuoDBIntegrationTest,
net.java.ao.test.junit.OracleIntegrationTest,
net.java.ao.test.junit.PostgresIntegrationTest,
net.java.ao.test.junit.SqlServerIntegrationTest
</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>hsql2</id>
<properties>
<ao.test.database>hsql</ao.test.database>
<db.skip>true</db.skip>
<hsqldb.version>2.2.4</hsqldb.version>
<db.name />
<db.username />
<db.password />
<db.schema />
<docker.skip>true</docker.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>${hsqldb.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludedGroups>
net.java.ao.test.junit.H2IntegrationTest,
net.java.ao.test.junit.DerbyIntegrationTest,
net.java.ao.test.junit.MySqlIntegrationTest,
net.java.ao.test.junit.NuoDBIntegrationTest,
net.java.ao.test.junit.OracleIntegrationTest,
net.java.ao.test.junit.PostgresIntegrationTest,
net.java.ao.test.junit.SqlServerIntegrationTest
</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>h2-memory</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<ao.test.database>h2-memory</ao.test.database>
<db.skip>true</db.skip>
<db.name />
<db.username />
<db.password />
<db.schema />
<docker.skip>true</docker.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>${c3p0.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludedGroups>
net.java.ao.test.junit.HsqlIntegrationTest,
net.java.ao.test.junit.DerbyIntegrationTest,
net.java.ao.test.junit.MySqlIntegrationTest,
net.java.ao.test.junit.NuoDBIntegrationTest,
net.java.ao.test.junit.OracleIntegrationTest,
net.java.ao.test.junit.PostgresIntegrationTest,
net.java.ao.test.junit.SqlServerIntegrationTest
</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>h2-file</id>
<properties>
<ao.test.database>h2-file</ao.test.database>
<db.skip>true</db.skip>
<db.name />
<db.username />
<db.password />
<db.schema />
<docker.skip>true</docker.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludedGroups>
net.java.ao.test.junit.HsqlIntegrationTest,
net.java.ao.test.junit.DerbyIntegrationTest,
net.java.ao.test.junit.MySqlIntegrationTest,
net.java.ao.test.junit.NuoDBIntegrationTest,
net.java.ao.test.junit.OracleIntegrationTest,
net.java.ao.test.junit.PostgresIntegrationTest,
net.java.ao.test.junit.SqlServerIntegrationTest
</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>h2-server</id>
<properties>
<ao.test.database>h2-server</ao.test.database>
<db.skip>true</db.skip>
<db.name />
<db.username />
<db.password />
<db.schema />
<docker.skip>true</docker.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludedGroups>
net.java.ao.test.junit.HsqlIntegrationTest,
net.java.ao.test.junit.DerbyIntegrationTest,
net.java.ao.test.junit.MySqlIntegrationTest,
net.java.ao.test.junit.NuoDBIntegrationTest,
net.java.ao.test.junit.OracleIntegrationTest,
net.java.ao.test.junit.PostgresIntegrationTest,
net.java.ao.test.junit.SqlServerIntegrationTest
</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>nuodb</id>
<properties>
<ao.test.database>nuodb</ao.test.database>
<db.skip>true</db.skip>
<db.name />
<db.username />
<db.password />
<db.schema />
<docker.skip>true</docker.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.nuodb.jdbc</groupId>
<artifactId>nuodb-jdbc</artifactId>
<version>${nuodb.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludedGroups>
net.java.ao.test.junit.H2IntegrationTest,
net.java.ao.test.junit.HsqlIntegrationTest,
net.java.ao.test.junit.DerbyIntegrationTest,
net.java.ao.test.junit.OracleIntegrationTest,
net.java.ao.test.junit.MySqlIntegrationTest,
net.java.ao.test.junit.PostgresIntegrationTest,
net.java.ao.test.junit.SqlServerIntegrationTest
</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>mysql</id>
<properties>
<ao.test.database>mysql</ao.test.database>
<db.url>jdbc:mysql://localhost:${db.port}/${db.name}?autoReconnect=true</db.url>
<db.system.username>root</db.system.username>
<db.system.password>root</db.system.password>
<docker.image>mysql:5.5</docker.image>
<docker.wait.log>starting as process 1</docker.wait.log>
</properties>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<configuration>
<images>
<image>
<name>${docker.image}</name>
<run>
<ports>
<port>db.port:3306</port>
</ports>
<cmd>--character-set-server=utf8 --collation-server=utf8_bin</cmd>
<env>
<MYSQL_DATABASE>${db.name}</MYSQL_DATABASE>
<MYSQL_USER>${db.username}</MYSQL_USER>
<MYSQL_PASSWORD>${db.password}</MYSQL_PASSWORD>
<MYSQL_ROOT_PASSWORD>${db.system.password}</MYSQL_ROOT_PASSWORD>
</env>
<wait>
<log>${docker.wait.log}</log>
<time>120000</time>
</wait>
<log>
<prefix>mysql</prefix>
</log>
</run>
</image>
</images>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludedGroups>
net.java.ao.test.junit.H2IntegrationTest,
net.java.ao.test.junit.HsqlIntegrationTest,
net.java.ao.test.junit.DerbyIntegrationTest,
net.java.ao.test.junit.NuoDBIntegrationTest,
net.java.ao.test.junit.OracleIntegrationTest,
net.java.ao.test.junit.PostgresIntegrationTest,
net.java.ao.test.junit.SqlServerIntegrationTest
</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>postgres</id>
<properties>
<ao.test.database>postgres</ao.test.database>
<db.schema>public</db.schema>
<db.url>jdbc:postgresql://localhost:${db.port}/${db.name}</db.url>
<docker.image>postgres:9.2</docker.image>
<docker.wait.log>PostgreSQL init process complete</docker.wait.log>
</properties>
<dependencies>
<dependency>
<groupId>${postgres.groupId}</groupId>
<artifactId>postgresql</artifactId>
<version>${postgres.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<configuration>
<images>
<image>
<name>${docker.image}</name>
<run>
<ports>
<port>db.port:5432</port>
</ports>
<env>
<POSTGRES_DB>${db.name}</POSTGRES_DB>
<POSTGRES_USER>${db.username}</POSTGRES_USER>
<POSTGRES_PASSWORD>${db.password}</POSTGRES_PASSWORD>
</env>
<wait>
<log>${docker.wait.log}</log>
<time>1200000</time>
</wait>
<log>
<prefix>postgres</prefix>
</log>
</run>
</image>
</images>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludedGroups>
net.java.ao.test.junit.H2IntegrationTest,
net.java.ao.test.junit.HsqlIntegrationTest,
net.java.ao.test.junit.DerbyIntegrationTest,
net.java.ao.test.junit.MySqlIntegrationTest,
net.java.ao.test.junit.NuoDBIntegrationTest,
net.java.ao.test.junit.OracleIntegrationTest,
net.java.ao.test.junit.SqlServerIntegrationTest
</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>oracle</id>
<properties>
<ao.test.database>oracle</ao.test.database>
<db.url>jdbc:oracle:thin:@localhost:${db.port}:${db.sid}</db.url>
<db.sid>orcl</db.sid>
<docker.image>docker.atl-paas.net/buildeng/oracle11g</docker.image>
<docker.wait.log>(?s).*DATABASE IS READY TO USE.*</docker.wait.log>
<db.schema>ao_user</db.schema>
</properties>
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>${oracle.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>${c3p0.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<configuration>
<images>
<image>
<name>${docker.image}</name>
<run>
<ports>
<port>db.port:1521</port>
</ports>
<wait>
<log>${docker.wait.log}</log>
<time>600000</time>
</wait>
<log>
<prefix>oracle</prefix>
</log>
</run>
</image>
</images>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>sql-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>${oracle.version}</version>
</dependency>
</dependencies>
<configuration>
<username>SYS AS SYSDBA</username>
<password>oracle</password>
<url>${db.url}</url>
<driver>oracle.jdbc.OracleDriver</driver>
<skip>${skipTests}</skip>
</configuration>
<executions>
<execution>
<id>create-db</id>
<configuration>
<autocommit>true</autocommit>
<sqlCommand>
DROP USER ao_user CASCADE;
CREATE USER ao_user IDENTIFIED BY ao_password DEFAULT TABLESPACE USERS QUOTA UNLIMITED ON USERS;
GRANT ALL PRIVILEGES TO ao_user WITH ADMIN OPTION;
GRANT CONNECT TO ao_user;
</sqlCommand>
<onError>continue</onError>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludedGroups>
net.java.ao.test.junit.H2IntegrationTest,
net.java.ao.test.junit.HsqlIntegrationTest,
net.java.ao.test.junit.DerbyIntegrationTest,
net.java.ao.test.junit.MySqlIntegrationTest,
net.java.ao.test.junit.NuoDBIntegrationTest,
net.java.ao.test.junit.PostgresIntegrationTest,
net.java.ao.test.junit.SqlServerIntegrationTest
</excludedGroups>
<trimStackTrace>false</trimStackTrace>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>sqlserver-jtds</id>
<properties>
<ao.test.database>sqlserver</ao.test.database>
<db.system.username>sa</db.system.username>
<db.system.password>password</db.system.password>
<docker.skip>true</docker.skip>
</properties>
<dependencies>
<dependency>
<groupId>net.sourceforge.jtds</groupId>
<artifactId>jtds</artifactId>
<version>${jtds.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.leberrigaud.maven.plugins</groupId>
<artifactId>database-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>net.sourceforge.jtds</groupId>
<artifactId>jtds</artifactId>
<version>${jtds.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludedGroups>
net.java.ao.test.junit.H2IntegrationTest,
net.java.ao.test.junit.HsqlIntegrationTest,
net.java.ao.test.junit.DerbyIntegrationTest,
net.java.ao.test.junit.MySqlIntegrationTest,
net.java.ao.test.junit.NuoDBIntegrationTest,
net.java.ao.test.junit.OracleIntegrationTest,
net.java.ao.test.junit.PostgresIntegrationTest
</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>sqlserver-msjdbc</id>
<properties>
<ao.test.database>sqlserver</ao.test.database>
<db.system.username>sa</db.system.username>
<db.system.password>password</db.system.password>
<docker.skip>true</docker.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqljdbc</artifactId>
<version>${sqljdbc.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.leberrigaud.maven.plugins</groupId>
<artifactId>database-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqljdbc</artifactId>
<version>${sqljdbc.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<excludedGroups>
net.java.ao.test.junit.H2IntegrationTest,
net.java.ao.test.junit.HsqlIntegrationTest,
net.java.ao.test.junit.DerbyIntegrationTest,
net.java.ao.test.junit.MySqlIntegrationTest,
net.java.ao.test.junit.OracleIntegrationTest,
net.java.ao.test.junit.PostgresIntegrationTest
</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>commons-dbcp</id>
<dependencies>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>${dbcp.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>c3p0</id>
<dependencies>
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>${c3p0.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>proxool</id>
<dependencies>
<dependency>
<groupId>proxool</groupId>
<artifactId>proxool</artifactId>
<version>${proxool.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>snaq.db</id>
<dependencies>
<dependency>
<groupId>snaq.db.dbpool</groupId>
<artifactId>dbpool</artifactId>
<version>4.9.3-jdbc3</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</profile>
</profiles>
</project>