You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by nt...@apache.org on 2017/02/10 14:52:49 UTC
cayenne git commit: Docker profiles for JCache module
Repository: cayenne
Updated Branches:
refs/heads/master 274d192be -> 4e54f8e2e
Docker profiles for JCache module
Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/4e54f8e2
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/4e54f8e2
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/4e54f8e2
Branch: refs/heads/master
Commit: 4e54f8e2eda6789a390bfd9f21d8aaab9fa987f5
Parents: 274d192
Author: Nikita Timofeev <st...@gmail.com>
Authored: Fri Feb 10 17:52:35 2017 +0300
Committer: Nikita Timofeev <st...@gmail.com>
Committed: Fri Feb 10 17:52:35 2017 +0300
----------------------------------------------------------------------
cayenne-jcache/pom.xml | 69 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cayenne/blob/4e54f8e2/cayenne-jcache/pom.xml
----------------------------------------------------------------------
diff --git a/cayenne-jcache/pom.xml b/cayenne-jcache/pom.xml
index 320d4e0..bdc7274 100644
--- a/cayenne-jcache/pom.xml
+++ b/cayenne-jcache/pom.xml
@@ -144,4 +144,73 @@
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>postgres-docker</id>
+ <activation>
+ <property>
+ <name>cayenneTestConnection</name>
+ <value>postgres-docker</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>io.fabric8</groupId>
+ <artifactId>docker-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>start-postgres</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>start</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>stop-postgres</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>stop</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>mysql-docker</id>
+ <activation>
+ <property>
+ <name>cayenneTestConnection</name>
+ <value>mysql-docker</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>io.fabric8</groupId>
+ <artifactId>docker-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>start-mysql</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>start</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>stop-mysql</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>stop</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
\ No newline at end of file