Make the camel-kafka-connector archetype use the parent POM
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.camel.kafkaconnector</groupId>
+ <artifactId>parent</artifactId>
+ <version>${camel-kafka-connector-version}</version>
+ </parent>
+
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <kafka-version>2.5.0</kafka-version>
<camel-kafka-connector-version>${project.version}</camel-kafka-connector-version>
</properties>
<groupId>org.apache.kafka</groupId>
<artifactId>connect-api</artifactId>
<scope>provided</scope>
- <version>${kafka-version}</version>
+ <version>${kafka.version}</version>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>connect-transforms</artifactId>
<scope>provided</scope>
- <version>${kafka-version}</version>
+ <version>${kafka.version}</version>
</dependency>
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
