DBZ-2131 Unify intendation in Mongo pom.xml
This commit is contained in:
parent
41d3d7d155
commit
82a66e4618
@ -1,10 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<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">
|
||||
<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">
|
||||
<parent>
|
||||
<groupId>io.debezium</groupId>
|
||||
<artifactId>debezium-parent</artifactId>
|
||||
<version>2.1.0-SNAPSHOT</version>
|
||||
<relativePath>../debezium-parent/pom.xml</relativePath>
|
||||
<relativePath>../debezium-parent/pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>debezium-connector-mongodb</artifactId>
|
||||
@ -103,90 +104,90 @@
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>docker-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<watchInterval>500</watchInterval>
|
||||
<logDate>default</logDate>
|
||||
<verbose>true</verbose>
|
||||
<!--autoPull>always</autoPull-->
|
||||
<images>
|
||||
<!-- A container for the data server replica set -->
|
||||
<image>
|
||||
<name>mongo:${version.mongo.server}</name>
|
||||
<alias>mongo1</alias>
|
||||
<run>
|
||||
<namingStrategy>alias</namingStrategy>
|
||||
<cmd>${mongo.data.runOptions}</cmd>
|
||||
<ports>
|
||||
<!-- We won't use it thru this port, but we don't want to take 27017 on docker host -->
|
||||
<port>27017:27017</port>
|
||||
</ports>
|
||||
<log>
|
||||
<prefix>mongo1</prefix>
|
||||
<enabled>true</enabled>
|
||||
<color>yellow</color>
|
||||
</log>
|
||||
<wait>
|
||||
<log>.*[Ww]aiting for connections.*27017</log> <!-- internal port, multiline matching -->
|
||||
<time>30000</time> <!-- 30 seconds max -->
|
||||
</wait>
|
||||
</run>
|
||||
<external>
|
||||
<type>properties</type>
|
||||
<mode>override</mode>
|
||||
</external>
|
||||
</image>
|
||||
<!-- A container that initiates the data replica set and adds it as shard to router -->
|
||||
<image>
|
||||
<name>debezium/mongo-initiator:${version.mongo.server}</name>
|
||||
<run>
|
||||
<namingStrategy>none</namingStrategy>
|
||||
<env>
|
||||
<VERBOSE>true</VERBOSE>
|
||||
<REPLICASET>${mongo.data.replicaset.name}</REPLICASET>
|
||||
</env>
|
||||
<links>
|
||||
<link>mongo1:mongo1</link>
|
||||
</links>
|
||||
<log>
|
||||
<prefix>mongo-init</prefix>
|
||||
<enabled>true</enabled>
|
||||
<color>green</color>
|
||||
</log>
|
||||
<wait>
|
||||
<exit>0</exit>
|
||||
<time>30000</time> <!-- 30 seconds max -->
|
||||
</wait>
|
||||
</run>
|
||||
<external>
|
||||
<type>properties</type>
|
||||
<mode>override</mode>
|
||||
</external>
|
||||
</image>
|
||||
</images>
|
||||
</configuration>
|
||||
<!--
|
||||
Connect this plugin to the maven lifecycle around the integration-test phase:
|
||||
start the container in pre-integration-test and stop it in post-integration-test.
|
||||
-->
|
||||
<executions>
|
||||
<execution>
|
||||
<id>start</id>
|
||||
<phase>pre-integration-test</phase>
|
||||
<goals>
|
||||
<goal>build</goal>
|
||||
<goal>start</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>stop</id>
|
||||
<phase>post-integration-test</phase>
|
||||
<goals>
|
||||
<goal>stop</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>docker-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<watchInterval>500</watchInterval>
|
||||
<logDate>default</logDate>
|
||||
<verbose>true</verbose>
|
||||
<!--autoPull>always</autoPull-->
|
||||
<images>
|
||||
<!-- A container for the data server replica set -->
|
||||
<image>
|
||||
<name>mongo:${version.mongo.server}</name>
|
||||
<alias>mongo1</alias>
|
||||
<run>
|
||||
<namingStrategy>alias</namingStrategy>
|
||||
<cmd>${mongo.data.runOptions}</cmd>
|
||||
<ports>
|
||||
<!-- We won't use it thru this port, but we don't want to take 27017 on docker host -->
|
||||
<port>27017:27017</port>
|
||||
</ports>
|
||||
<log>
|
||||
<prefix>mongo1</prefix>
|
||||
<enabled>true</enabled>
|
||||
<color>yellow</color>
|
||||
</log>
|
||||
<wait>
|
||||
<log>.*[Ww]aiting for connections.*27017</log> <!-- internal port, multiline matching -->
|
||||
<time>30000</time> <!-- 30 seconds max -->
|
||||
</wait>
|
||||
</run>
|
||||
<external>
|
||||
<type>properties</type>
|
||||
<mode>override</mode>
|
||||
</external>
|
||||
</image>
|
||||
<!-- A container that initiates the data replica set and adds it as shard to router -->
|
||||
<image>
|
||||
<name>debezium/mongo-initiator:${version.mongo.server}</name>
|
||||
<run>
|
||||
<namingStrategy>none</namingStrategy>
|
||||
<env>
|
||||
<VERBOSE>true</VERBOSE>
|
||||
<REPLICASET>${mongo.data.replicaset.name}</REPLICASET>
|
||||
</env>
|
||||
<links>
|
||||
<link>mongo1:mongo1</link>
|
||||
</links>
|
||||
<log>
|
||||
<prefix>mongo-init</prefix>
|
||||
<enabled>true</enabled>
|
||||
<color>green</color>
|
||||
</log>
|
||||
<wait>
|
||||
<exit>0</exit>
|
||||
<time>30000</time> <!-- 30 seconds max -->
|
||||
</wait>
|
||||
</run>
|
||||
<external>
|
||||
<type>properties</type>
|
||||
<mode>override</mode>
|
||||
</external>
|
||||
</image>
|
||||
</images>
|
||||
</configuration>
|
||||
<!--
|
||||
Connect this plugin to the maven lifecycle around the integration-test phase:
|
||||
start the container in pre-integration-test and stop it in post-integration-test.
|
||||
-->
|
||||
<executions>
|
||||
<execution>
|
||||
<id>start</id>
|
||||
<phase>pre-integration-test</phase>
|
||||
<goals>
|
||||
<goal>build</goal>
|
||||
<goal>start</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>stop</id>
|
||||
<phase>post-integration-test</phase>
|
||||
<goals>
|
||||
<goal>stop</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!--
|
||||
Unlike surefire, the failsafe plugin ensures 'post-integration-test' phase always runs, even
|
||||
@ -315,21 +316,21 @@
|
||||
<docker.skip>true</docker.skip>
|
||||
</properties>
|
||||
</profile>
|
||||
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Do not perform any Docker-related functionality
|
||||
To use, specify "-DskipITs" on the Maven command line.
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
||||
<profile>
|
||||
<id>skip-integration-tests</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
<property>
|
||||
<name>skipITs</name>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<docker.skip>true</docker.skip>
|
||||
</properties>
|
||||
</profile>
|
||||
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Do not perform any Docker-related functionality
|
||||
To use, specify "-DskipITs" on the Maven command line.
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
||||
<profile>
|
||||
<id>skip-integration-tests</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
<property>
|
||||
<name>skipITs</name>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<docker.skip>true</docker.skip>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
Loading…
Reference in New Issue
Block a user