751 lines
30 KiB
XML
751 lines
30 KiB
XML
<?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">
|
|
|
|
<parent>
|
|
<groupId>org.jboss</groupId>
|
|
<artifactId>jboss-parent</artifactId>
|
|
<version>19</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>io.debezium</groupId>
|
|
<artifactId>debezium-parent</artifactId>
|
|
<version>0.9.3-SNAPSHOT</version>
|
|
<name>Debezium Parent POM</name>
|
|
<description>Debezium is an open source change data capture platform</description>
|
|
<packaging>pom</packaging>
|
|
<url>http://debezium.io</url>
|
|
<scm>
|
|
<connection>scm:git:git@github.com:debezium/debezium.git</connection>
|
|
<developerConnection>scm:git:git@github.com:debezium/debezium.git</developerConnection>
|
|
<url>https://github.com/debezium/debezium</url>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
<issueManagement>
|
|
<system>jira</system>
|
|
<url>http://issues.jboss.org/browse/DBZ</url>
|
|
</issueManagement>
|
|
<licenses>
|
|
<license>
|
|
<name>Apache Software License 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
<developers>
|
|
<developer>
|
|
<id>rhauch</id>
|
|
<name>Randall Hauch</name>
|
|
<organization>Red Hat</organization>
|
|
<organizationUrl>http://redhat.com</organizationUrl>
|
|
<timezone>-6</timezone>
|
|
</developer>
|
|
<developer>
|
|
<id>gunnarmorling</id>
|
|
<name>Gunnar Morling</name>
|
|
<organization>Red Hat</organization>
|
|
<organizationUrl>http://redhat.com</organizationUrl>
|
|
<timezone>+2</timezone>
|
|
</developer>
|
|
</developers>
|
|
<properties>
|
|
<!-- Instruct the build to use only UTF-8 encoding for source code -->
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
<!-- Kafka and it's dependencies MUST reflect what the Kafka version uses -->
|
|
<version.kafka>2.1.1</version.kafka>
|
|
<version.kafka.scala>2.12</version.kafka.scala>
|
|
<version.curator>2.11.0</version.curator>
|
|
<version.zookeeper>3.4.13</version.zookeeper>
|
|
<version.jackson>2.9.8</version.jackson>
|
|
<version.org.slf4j>1.7.25</version.org.slf4j>
|
|
<version.log4j>1.2.17</version.log4j>
|
|
<!-- check new release version at https://github.com/confluentinc/schema-registry/releases -->
|
|
<version.confluent.platform>5.1.2</version.confluent.platform>
|
|
|
|
<!-- Databases -->
|
|
<version.postgresql.driver>42.2.5</version.postgresql.driver>
|
|
<version.mysql.server>5.7</version.mysql.server>
|
|
<version.mysql.driver>8.0.13</version.mysql.driver>
|
|
<version.mysql.binlog>0.19.0</version.mysql.binlog>
|
|
<version.mongo.server>3.6</version.mongo.server>
|
|
<version.mongo.driver>3.9.0</version.mongo.driver>
|
|
<version.sqlserver.driver>6.4.0.jre8</version.sqlserver.driver>
|
|
|
|
<!-- Connectors -->
|
|
<version.com.google.protobuf>2.6.1</version.com.google.protobuf>
|
|
|
|
<!-- ANTLR -->
|
|
<antlr.version>4.7</antlr.version>
|
|
|
|
<!-- Testing -->
|
|
<version.junit>4.12</version.junit>
|
|
<version.fest>1.4</version.fest>
|
|
<version.jmh>1.21</version.jmh>
|
|
<version.mockito>2.13.0</version.mockito>
|
|
|
|
<!-- Maven Plugins -->
|
|
<version.resources.plugin>2.7</version.resources.plugin>
|
|
<version.dependency.plugin>2.10</version.dependency.plugin>
|
|
<version.enforcer.plugin>3.0.0-M1</version.enforcer.plugin>
|
|
<version.jar.plugin>3.0.2</version.jar.plugin>
|
|
<version.source.plugin>3.0.1</version.source.plugin>
|
|
<version.assembly.plugin>2.4</version.assembly.plugin>
|
|
<version.war.plugin>2.5</version.war.plugin>
|
|
<version.google.formatter.plugin>0.3.1</version.google.formatter.plugin>
|
|
<version.docker.maven.plugin>0.26.0</version.docker.maven.plugin>
|
|
<version.staging.plugin>1.6.3</version.staging.plugin>
|
|
<version.protoc.maven.plugin>3.0.0.1</version.protoc.maven.plugin>
|
|
|
|
<!-- Dockerfiles -->
|
|
<docker.maintainer>Debezium community</docker.maintainer>
|
|
|
|
<!--Skip long running tests by default-->
|
|
<skipLongRunningTests>true</skipLongRunningTests>
|
|
|
|
<!-- Don't skip integration tests by default -->
|
|
<skipITs>false</skipITs>
|
|
|
|
<!-- No debug options by default -->
|
|
<debug.argline />
|
|
|
|
<!-- No modules options by default -->
|
|
<modules.argline />
|
|
</properties>
|
|
|
|
<modules>
|
|
<module>support/checkstyle</module>
|
|
<module>debezium-ddl-parser</module>
|
|
<module>debezium-assembly-descriptors</module>
|
|
<module>debezium-core</module>
|
|
<module>debezium-embedded</module>
|
|
<module>debezium-connector-mysql</module>
|
|
<module>debezium-connector-postgres</module>
|
|
<module>debezium-connector-mongodb</module>
|
|
<module>debezium-connector-sqlserver</module>
|
|
<module>debezium-microbenchmark</module>
|
|
</modules>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>ossrh</id>
|
|
<name>Sonatype Staging Repository</name>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>ossrh</id>
|
|
<name>OSS Sonatype Nexus Snapshots</name>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>confluent</id>
|
|
<name>Confluent</name>
|
|
<url>http://packages.confluent.io/maven/</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>never</updatePolicy>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>ossrh</id>
|
|
<name>OSS Sonatype Nexus </name>
|
|
<url>https://oss.sonatype.org/content/groups/public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>never</updatePolicy>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>never</updatePolicy>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- Major dependencies -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${version.jackson}</version>
|
|
</dependency>
|
|
|
|
<!-- Kafka Connect -->
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>connect-api</artifactId>
|
|
<version>${version.kafka}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>connect-runtime</artifactId>
|
|
<version>${version.kafka}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>connect-json</artifactId>
|
|
<version>${version.kafka}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>connect-file</artifactId>
|
|
<version>${version.kafka}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>connect-transforms</artifactId>
|
|
<version>${version.kafka}</version>
|
|
</dependency>
|
|
|
|
<!-- Kafka -->
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka_${version.kafka.scala}</artifactId>
|
|
<version>${version.kafka}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
<artifactId>zookeeper</artifactId>
|
|
<version>${version.zookeeper}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka_${version.kafka.scala}</artifactId>
|
|
<version>${version.kafka}</version>
|
|
<classifier>test</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.curator</groupId>
|
|
<artifactId>curator-test</artifactId>
|
|
<version>${version.curator}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.confluent</groupId>
|
|
<artifactId>kafka-connect-avro-converter</artifactId>
|
|
<version>${version.confluent.platform}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
<version>${antlr.version}</version>
|
|
</dependency>
|
|
|
|
<!-- PostgreSQL connector -->
|
|
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>${version.postgresql.driver}</version>
|
|
</dependency>
|
|
|
|
<!--Make sure this version is compatible with the Protbuf-C version used on the server -->
|
|
<dependency>
|
|
<groupId>com.google.protobuf</groupId>
|
|
<artifactId>protobuf-java</artifactId>
|
|
<version>${version.com.google.protobuf}</version>
|
|
</dependency>
|
|
|
|
<!-- MySQL JDBC Driver, Binlog reader, Geometry support -->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${version.mysql.driver}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.shyiko</groupId>
|
|
<artifactId>mysql-binlog-connector-java</artifactId>
|
|
<version>${version.mysql.binlog}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mil.nga</groupId>
|
|
<artifactId>wkb</artifactId>
|
|
<version>1.0.2</version>
|
|
</dependency>
|
|
|
|
<!-- MongoDB Java driver -->
|
|
<dependency>
|
|
<groupId>org.mongodb</groupId>
|
|
<artifactId>mongodb-driver</artifactId>
|
|
<version>${version.mongo.driver}</version>
|
|
</dependency>
|
|
|
|
<!-- SQL Server driver -->
|
|
<dependency>
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
<artifactId>mssql-jdbc</artifactId>
|
|
<version>${version.sqlserver.driver}</version>
|
|
</dependency>
|
|
|
|
<!-- Logging -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${version.org.slf4j}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<version>${version.org.slf4j}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>${version.log4j}</version>
|
|
</dependency>
|
|
|
|
<!-- Test dependencies -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${version.junit}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.easytesting</groupId>
|
|
<artifactId>fest-assert</artifactId>
|
|
<version>${version.fest}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
<artifactId>jmh-core</artifactId>
|
|
<version>${version.jmh}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
<artifactId>jmh-generator-annprocess</artifactId>
|
|
<version>${version.jmh}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${version.mockito}</version>
|
|
</dependency>
|
|
|
|
<!-- Debezium artifacts -->
|
|
<dependency>
|
|
<groupId>io.debezium</groupId>
|
|
<artifactId>debezium-core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.debezium</groupId>
|
|
<artifactId>debezium-embedded</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.debezium</groupId>
|
|
<artifactId>debezium-connector-jdbc</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.debezium</groupId>
|
|
<artifactId>debezium-connector-postgres</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.debezium</groupId>
|
|
<artifactId>debezium-connector-postgres-test</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.debezium</groupId>
|
|
<artifactId>debezium-connector-mysql</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.debezium</groupId>
|
|
<artifactId>debezium-ddl-parser</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Debezium test artifacts -->
|
|
<dependency>
|
|
<groupId>io.debezium</groupId>
|
|
<artifactId>debezium-core</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>test-jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.debezium</groupId>
|
|
<artifactId>debezium-embedded</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>test-jar</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.debezium</groupId>
|
|
<artifactId>debezium-connector-mysql</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>test-jar</type>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
<dependencies>
|
|
</dependencies>
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>${version.enforcer.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${version.compiler.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>${version.source.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${version.javadoc.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>${version.release.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>${version.staging.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${version.surefire.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>${version.checkstyle.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
<version>${version.surefire.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>${version.resources.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>${version.dependency.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>${version.gpg.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>${version.failsafe.plugin}</version>
|
|
<configuration>
|
|
<argLine>${debug.argline} ${modules.argline}</argLine>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.googlecode.maven-java-formatter-plugin</groupId>
|
|
<artifactId>maven-java-formatter-plugin</artifactId>
|
|
<version>${version.google.formatter.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
<version>${version.docker.maven.plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.os72</groupId>
|
|
<artifactId>protoc-jar-maven-plugin</artifactId>
|
|
<version>${version.protoc.maven.plugin}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>attach-test-sources</id>
|
|
<goals>
|
|
<goal>test-jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<configuration>
|
|
<pushChanges>false</pushChanges>
|
|
<releaseProfiles>docs,assembly,release-sign-artifacts,release</releaseProfiles>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>ossrh</serverId>
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>false</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.target}</target>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<configuration>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.googlecode.maven-java-formatter-plugin</groupId>
|
|
<artifactId>maven-java-formatter-plugin</artifactId>
|
|
<configuration>
|
|
<configFile>${project.basedir}/support/eclipse-formatting.xml</configFile>
|
|
<lineEnding>LF</lineEnding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-maven</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireMavenVersion>
|
|
<version>3.0.0</version>
|
|
</requireMavenVersion>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!--
|
|
Build a test-jar for each project, so that src/test/* resources and
|
|
classes can be used in other projects. Also customize how the jar
|
|
files are assembled.
|
|
-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>test-jar</id>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<systemProperties combine.children="append">
|
|
<property>
|
|
<name>java.io.tmpdir</name>
|
|
<value>${project.build.directory}</value>
|
|
</property>
|
|
<property>
|
|
<name>skipLongRunningTests</name>
|
|
<value>${skipLongRunningTests}</value>
|
|
</property>
|
|
<property>
|
|
<name>dbz.test.data.dir</name>
|
|
<value>${project.build.directory}/data</value>
|
|
</property>
|
|
</systemProperties>
|
|
<argLine>-Djava.awt.headless=true ${debug.argline} ${modules.argline}</argLine>
|
|
<!--runOrder>alphabetical</runOrder-->
|
|
<useFile>false</useFile>
|
|
<enableAssertions>true</enableAssertions>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.debezium</groupId>
|
|
<artifactId>debezium-checkstyle</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<configLocation>checkstyle.xml</configLocation>
|
|
<suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
|
|
<suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
|
|
<consoleOutput>true</consoleOutput>
|
|
<failsOnError>true</failsOnError>
|
|
<linkXRef>false</linkXRef>
|
|
<violationSeverity>error</violationSeverity>
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>check-style</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>checkstyle</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<profiles>
|
|
<!--
|
|
###################################################################
|
|
Enable remotely debugging on the command line
|
|
###################################################################
|
|
|
|
To use, specify "-Ddebug=true" on the Maven command line
|
|
(typically used when running a single test). Then, start
|
|
remote debugger (on port 1044) and connect.
|
|
-->
|
|
<profile>
|
|
<id>debug</id>
|
|
<activation>
|
|
<property>
|
|
<name>debug</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<!-- Useful for remotely debugging the unit tests run by Surefire ... -->
|
|
<debug.argline>-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1044</debug.argline>
|
|
</properties>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>assembly</id>
|
|
<properties>
|
|
<skipLongRunningTests>false</skipLongRunningTests>
|
|
</properties>
|
|
<modules>
|
|
<!--module>integration-tests</module-->
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>release</id>
|
|
<properties>
|
|
<skipLongRunningTests>false</skipLongRunningTests>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>performance</id>
|
|
<properties>
|
|
<skipLongRunningTests>false</skipLongRunningTests>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>docs</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
<property>
|
|
<name>docs</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${version.javadoc.plugin}</version>
|
|
<configuration>
|
|
<show>private</show>
|
|
<nohelp>true</nohelp>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>attach-test-javadocs</id>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>release-sign-artifacts</id>
|
|
<activation>
|
|
<property>
|
|
<name>performRelease</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>jdk9</id>
|
|
<activation>
|
|
<jdk>9</jdk>
|
|
</activation>
|
|
<properties>
|
|
<modules.argline>--add-modules java.xml.bind</modules.argline>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|