| <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> |
| |
| <groupId>org.apache.camel.kafkaconnector</groupId> |
| <artifactId>parent</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <name>Camel-Kafka-Connector :: Parent</name> |
| <description>Parent for all Camel Kafka Connector modules</description> |
| |
| <licenses> |
| <license> |
| <name>Apache License</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <distributionManagement> |
| <repository> |
| <id>jboss-releases-repository</id> |
| <name>JBoss Release Repository</name> |
| <url>${jboss.releases.repo.url}</url> |
| </repository> |
| |
| <snapshotRepository> |
| <id>jboss-snapshots-repository</id> |
| <name>JBoss Snapshot Repository</name> |
| <url>${jboss.snapshots.repo.url}</url> |
| </snapshotRepository> |
| </distributionManagement> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| |
| <jboss.releases.repo.id>jboss-releases-repository</jboss.releases.repo.id> |
| <jboss.releases.nexus.url>https://repository.jboss.org/nexus</jboss.releases.nexus.url> |
| <jboss.releases.repo.url>${jboss.releases.nexus.url}/service/local/staging/deploy/maven2/</jboss.releases.repo.url> |
| <jboss.snapshots.repo.id>jboss-snapshots-repository</jboss.snapshots.repo.id> |
| <jboss.snapshots.repo.url>https://repository.jboss.org/nexus/content/repositories/snapshots/</jboss.snapshots.repo.url> |
| |
| <activemq.version>5.15.9</activemq.version> |
| <kafka.version>2.3.1</kafka.version> |
| <junit.version>4.13</junit.version> |
| <camel.version>3.0.0</camel.version> |
| <jackson.version>2.10.2</jackson.version> |
| <log4j2.version>2.8.2</log4j2.version> |
| <version.java>1.8</version.java> |
| |
| <version.maven.compiler>3.8.1</version.maven.compiler> |
| <version.maven.surefire>2.19.1</version.maven.surefire> |
| <version.maven.javadoc>2.10.4</version.maven.javadoc> |
| <version.maven.source>3.0.1</version.maven.source> |
| <version.maven.resources>3.0.1</version.maven.resources> |
| <version.maven.antrun>1.8</version.maven.antrun> |
| <version.maven.nexus-staging>1.6.7</version.maven.nexus-staging> |
| <version.maven.buildhelper>1.12</version.maven.buildhelper> |
| <version.maven.bundle>3.5.1</version.maven.bundle> |
| <version.maven.jar>3.1.0</version.maven.jar> |
| <version.maven.failsafe>2.22.1</version.maven.failsafe> |
| <version.scala.library>2.12.4</version.scala.library> |
| <version.testcontainers>1.12.4</version.testcontainers> |
| <version.qpid-jms-client>0.40.0</version.qpid-jms-client> |
| |
| <version.maven.checkstyle>8.26</version.maven.checkstyle> |
| <version.maven.checkstyle.plugin>3.1.0</version.maven.checkstyle.plugin> |
| <maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version> |
| <mycila-license-version>3.0</mycila-license-version> |
| </properties> |
| |
| <repositories> |
| <repository> |
| <id>jboss-public-repository-group</id> |
| <name>JBoss Public Maven Repository Group</name> |
| <url>http://repository.jboss.org/nexus/content/groups/public</url> |
| <releases> |
| <enabled>true</enabled> |
| <updatePolicy>never</updatePolicy> |
| </releases> |
| <snapshots> |
| <enabled>true</enabled> |
| <updatePolicy>never</updatePolicy> |
| </snapshots> |
| </repository> |
| </repositories> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>jboss-public-repository-group</id> |
| <name>JBoss Public Maven Repository Group</name> |
| <url>http://repository.jboss.org/nexus/content/groups/public</url> |
| <releases> |
| <enabled>true</enabled> |
| <updatePolicy>never</updatePolicy> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| <updatePolicy>never</updatePolicy> |
| </snapshots> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-main</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-cassandraql</artifactId> |
| <version>${camel.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-telegram</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-sjms2</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-aws-sqs</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-aws-s3</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-aws-sns</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-aws-kinesis</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-syslog</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-http</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-elasticsearch-rest</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.dataformat</groupId> |
| <artifactId>jackson-dataformat-cbor</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.databind</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-client</artifactId> |
| <version>${activemq.version}</version> |
| </dependency> |
| |
| <!-- Kafka dependencies --> |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>connect-api</artifactId> |
| <version>${kafka.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>connect-runtime</artifactId> |
| <version>${kafka.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>connect-transforms</artifactId> |
| <version>${kafka.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>kafka_2.12</artifactId> |
| <version>${kafka.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Test dependencies --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${log4j2.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${log4j2.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <version>${log4j2.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-jcl</artifactId> |
| <version>${log4j2.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-library</artifactId> |
| <version>${version.scala.library}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>testcontainers</artifactId> |
| <version>${version.testcontainers}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>kafka</artifactId> |
| <version>${version.testcontainers}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>localstack</artifactId> |
| <version>${version.testcontainers}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testcontainers</groupId> |
| <artifactId>elasticsearch</artifactId> |
| <version>${version.testcontainers}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-hl7</artifactId> |
| <version>${camel.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-debezium-common</artifactId> |
| <version>${camel.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.qpid</groupId> |
| <artifactId>qpid-jms-client</artifactId> |
| <version>${version.qpid-jms-client}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| </dependencyManagement> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${version.maven.compiler}</version> |
| <configuration> |
| <source>${version.java}</source> |
| <target>${version.java}</target> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.5.2</version> |
| <configuration> |
| <tagNameFormat>@{project.version}</tagNameFormat> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${version.maven.javadoc}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>${version.maven.bundle}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.sonatype.plugins</groupId> |
| <artifactId>nexus-staging-maven-plugin</artifactId> |
| <version>${version.maven.nexus-staging}</version> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>${version.maven.resources}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <version>${version.maven.surefire}</version> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>${version.maven.failsafe}</version> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>${version.maven.buildhelper}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${version.maven.checkstyle.plugin}</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-buildtools</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.puppycrawl.tools</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>${version.maven.checkstyle}</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>default-cli</id> |
| <phase>validate</phase> |
| <configuration> |
| <includeResources>false</includeResources> |
| <configLocation>camel-checkstyle.xml</configLocation> |
| <consoleOutput>true</consoleOutput> |
| <failsOnError>${checkstyle.failOnViolation}</failsOnError> |
| <linkXRef>false</linkXRef> |
| <suppressionsLocation>camel-checkstyle-suppressions.xml</suppressionsLocation> |
| <encoding>UTF-8</encoding> |
| <sourceDirectories> |
| <sourceDirectory>${basedir}/src</sourceDirectory> |
| </sourceDirectories> |
| <headerLocation>header-java.txt</headerLocation> |
| <includes>**/*.java,**/*.groovy,**/*.scala,**/*.properties,**/*.xml,**/*.xsd</includes> |
| <excludes> |
| **/archetype-resources/**/*.java,**/archetype-resources/**/*.groovy,**/archetype-resources/**/*.scala,**/archetype-resources/**/*.xml,**/org/json/simple/**/*.java |
| </excludes> |
| </configuration> |
| <goals> |
| <goal>checkstyle</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.sonatype.plugins</groupId> |
| <artifactId>nexus-staging-maven-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <!-- See configuration details at http://books.sonatype.com/nexus-book/reference/staging-deployment.html --> |
| <nexusUrl>${jboss.releases.nexus.url}</nexusUrl> |
| <serverId>${jboss.releases.repo.id}</serverId> |
| <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.3.1</version> |
| <executions> |
| <execution> |
| <id>enforce-java</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requireJavaVersion> |
| <version>[${version.java},)</version> |
| </requireJavaVersion> |
| <requireMavenVersion> |
| <version>[3.1.1,)</version> |
| </requireMavenVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>sourcecheck</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${version.maven.checkstyle.plugin}</version> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |