Skip to content

Commit 83ecf0b

Browse files
Removed kafka-connect-parent from pom
1 parent 26e31c6 commit 83ecf0b

File tree

1 file changed

+179
-40
lines changed

1 file changed

+179
-40
lines changed

pom.xml

Lines changed: 179 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33
xmlns="http://maven.apache.org/POM/4.0.0"
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
55
<modelVersion>4.0.0</modelVersion>
6-
<parent>
7-
<groupId>com.github.jcustenborder.kafka.connect</groupId>
8-
<artifactId>kafka-connect-parent</artifactId>
9-
<version>2.2.1-cp1</version>
10-
</parent>
116
<groupId>com.redislabs</groupId>
127
<artifactId>redis-enterprise-kafka</artifactId>
138
<version>1.0.0-SNAPSHOT</version>
@@ -18,9 +13,15 @@
1813
<properties>
1914
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2015
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
16+
<java.version>8</java.version>
17+
<kafka.version>2.8.0</kafka.version>
18+
<connect-utils.version>[0.7.166,0.7.2000)</connect-utils.version>
2119
<asciidoctor.maven.plugin.version>2.1.0</asciidoctor.maven.plugin.version>
2220
<asciidoctorj.version>2.5.1</asciidoctorj.version>
2321
<jruby.version>9.2.17.0</jruby.version>
22+
<junit.version>5.7.1</junit.version>
23+
<mockito.version>3.9.0</mockito.version>
24+
<slf4j.version>1.7.30</slf4j.version>
2425
</properties>
2526
<licenses>
2627
<license>
@@ -61,6 +62,22 @@
6162
</repository>
6263
</repositories>
6364
<dependencies>
65+
<dependency>
66+
<groupId>com.github.jcustenborder.kafka.connect</groupId>
67+
<artifactId>connect-utils</artifactId>
68+
<version>${connect-utils.version}</version>
69+
</dependency>
70+
<dependency>
71+
<groupId>com.github.jcustenborder.kafka.connect</groupId>
72+
<artifactId>connect-utils-jackson</artifactId>
73+
<version>${connect-utils.version}</version>
74+
</dependency>
75+
<dependency>
76+
<groupId>org.apache.kafka</groupId>
77+
<artifactId>connect-api</artifactId>
78+
<version>${kafka.version}</version>
79+
<scope>provided</scope>
80+
</dependency>
6481
<dependency>
6582
<groupId>com.redislabs</groupId>
6683
<artifactId>mesclun</artifactId>
@@ -69,12 +86,17 @@
6986
<dependency>
7087
<groupId>org.slf4j</groupId>
7188
<artifactId>slf4j-api</artifactId>
72-
<version>1.7.30</version>
89+
<version>${slf4j.version}</version>
7390
</dependency>
7491
<dependency>
7592
<groupId>com.redislabs</groupId>
7693
<artifactId>spring-batch-redis</artifactId>
77-
<version>2.13.5</version>
94+
<version>2.13.7</version>
95+
</dependency>
96+
<dependency>
97+
<groupId>org.slf4j</groupId>
98+
<artifactId>slf4j-simple</artifactId>
99+
<version>${slf4j.version}</version>
78100
</dependency>
79101
<dependency>
80102
<groupId>org.projectlombok</groupId>
@@ -84,14 +106,32 @@
84106
</dependency>
85107
<dependency>
86108
<groupId>org.junit.jupiter</groupId>
87-
<artifactId>junit-jupiter</artifactId>
88-
<version>5.7.2</version>
109+
<artifactId>junit-jupiter-engine</artifactId>
110+
<version>${junit.version}</version>
111+
<scope>test</scope>
112+
</dependency>
113+
<dependency>
114+
<groupId>org.junit.jupiter</groupId>
115+
<artifactId>junit-jupiter-api</artifactId>
116+
<version>${junit.version}</version>
117+
<scope>test</scope>
118+
</dependency>
119+
<dependency>
120+
<groupId>org.junit.jupiter</groupId>
121+
<artifactId>junit-jupiter-params</artifactId>
122+
<version>${junit.version}</version>
123+
<scope>test</scope>
124+
</dependency>
125+
<dependency>
126+
<groupId>com.github.jcustenborder.kafka.connect</groupId>
127+
<artifactId>connect-utils-testing</artifactId>
128+
<version>${connect-utils.version}</version>
89129
<scope>test</scope>
90130
</dependency>
91131
<dependency>
92132
<groupId>com.redislabs</groupId>
93133
<artifactId>testcontainers-redis</artifactId>
94-
<version>1.1.6</version>
134+
<version>1.1.7-SNAPSHOT</version>
95135
<scope>test</scope>
96136
</dependency>
97137
<dependency>
@@ -106,13 +146,101 @@
106146
<version>3.4.6</version>
107147
<scope>test</scope>
108148
</dependency>
149+
<dependency>
150+
<groupId>org.mockito</groupId>
151+
<artifactId>mockito-core</artifactId>
152+
<version>${mockito.version}</version>
153+
<scope>test</scope>
154+
</dependency>
109155
</dependencies>
110156
<build>
111157
<plugins>
158+
<plugin>
159+
<groupId>org.codehaus.mojo</groupId>
160+
<artifactId>build-helper-maven-plugin</artifactId>
161+
<version>3.2.0</version>
162+
<executions>
163+
<execution>
164+
<id>add-test-source</id>
165+
<phase>validate</phase>
166+
<goals>
167+
<goal>add-test-source</goal>
168+
</goals>
169+
<configuration>
170+
<sources>
171+
<source>src/test/unit/java</source>
172+
<source>src/test/integration/java</source>
173+
</sources>
174+
</configuration>
175+
</execution>
176+
</executions>
177+
</plugin>
178+
<plugin>
179+
<groupId>org.apache.maven.plugins</groupId>
180+
<artifactId>maven-compiler-plugin</artifactId>
181+
<version>3.8.1</version>
182+
<configuration>
183+
<source>${java.version}</source>
184+
<target>${java.version}</target>
185+
</configuration>
186+
</plugin>
187+
<plugin>
188+
<groupId>org.apache.maven.plugins</groupId>
189+
<artifactId>maven-surefire-plugin</artifactId>
190+
<version>3.0.0-M5</version>
191+
<configuration>
192+
<useSystemClassLoader>false</useSystemClassLoader>
193+
<trimStackTrace>false</trimStackTrace>
194+
</configuration>
195+
</plugin>
196+
<plugin>
197+
<groupId>org.apache.maven.plugins</groupId>
198+
<artifactId>maven-failsafe-plugin</artifactId>
199+
<version>3.0.0-M5</version>
200+
<executions>
201+
<execution>
202+
<goals>
203+
<goal>integration-test</goal>
204+
<goal>verify</goal>
205+
</goals>
206+
</execution>
207+
</executions>
208+
</plugin>
112209
<plugin>
113210
<groupId>org.jacoco</groupId>
114211
<artifactId>jacoco-maven-plugin</artifactId>
115-
<version>0.8.7</version>
212+
<version>0.8.6</version>
213+
</plugin>
214+
<plugin>
215+
<groupId>org.apache.maven.plugins</groupId>
216+
<artifactId>maven-source-plugin</artifactId>
217+
<version>3.2.1</version>
218+
<executions>
219+
<execution>
220+
<id>attach-sources</id>
221+
<phase>install</phase>
222+
<goals>
223+
<goal>jar-no-fork</goal>
224+
</goals>
225+
</execution>
226+
</executions>
227+
</plugin>
228+
<plugin>
229+
<groupId>org.apache.maven.plugins</groupId>
230+
<artifactId>maven-javadoc-plugin</artifactId>
231+
<version>3.2.0</version>
232+
<configuration>
233+
<source>${java.version}</source>
234+
</configuration>
235+
<executions>
236+
<execution>
237+
<id>attach-javadocs</id>
238+
<phase>install</phase>
239+
<goals>
240+
<goal>jar</goal>
241+
</goals>
242+
</execution>
243+
</executions>
116244
</plugin>
117245
<plugin>
118246
<groupId>org.codehaus.mojo</groupId>
@@ -122,7 +250,7 @@
122250
<plugin>
123251
<groupId>org.apache.maven.plugins</groupId>
124252
<artifactId>maven-checkstyle-plugin</artifactId>
125-
<version>2.17</version>
253+
<version>3.1.1</version>
126254
<configuration>
127255
<skip>true</skip>
128256
</configuration>
@@ -132,53 +260,62 @@
132260
<artifactId>maven-assembly-plugin</artifactId>
133261
<version>3.3.0</version>
134262
<configuration>
135-
<skipAssembly>true</skipAssembly>
136-
</configuration>
137-
</plugin>
138-
<plugin>
139-
<groupId>org.apache.maven.plugins</groupId>
140-
<artifactId>maven-javadoc-plugin</artifactId>
141-
<version>3.3.0</version>
142-
<configuration>
143-
<source>8</source>
263+
<descriptorRefs>
264+
<descriptorRef>jar-with-dependencies</descriptorRef>
265+
</descriptorRefs>
266+
<finalName>${project.name}-${project.version}</finalName>
267+
<appendAssemblyId>false</appendAssemblyId>
144268
</configuration>
269+
<executions>
270+
<execution>
271+
<id>make-assembly</id>
272+
<phase>package</phase>
273+
<goals>
274+
<goal>single</goal>
275+
</goals>
276+
</execution>
277+
</executions>
145278
</plugin>
146279
<plugin>
147280
<groupId>io.confluent</groupId>
148281
<artifactId>kafka-connect-maven-plugin</artifactId>
149-
<version>0.11.2</version>
282+
<version>0.12.0</version>
150283
<executions>
151284
<execution>
152-
<id>hub</id>
285+
<phase>package</phase>
153286
<goals>
154287
<goal>kafka-connect</goal>
155288
</goals>
156289
<configuration>
290+
<title>Redis Enterprise Kafka</title>
291+
<documentationUrl>https://redislabs-field-engineering.github.io/redis-enterprise-kafka/
292+
</documentationUrl>
293+
<ownerLogo>src/docs/asciidoc/images/redislabs.svg</ownerLogo>
294+
<ownerUsername>jruaux</ownerUsername>
295+
<ownerName>Redis Labs</ownerName>
296+
<ownerUrl>https://redislabs.com</ownerUrl>
297+
<sourceUrl>${project.scm.url}</sourceUrl>
298+
<supportProviderName>Redis Labs</supportProviderName>
299+
<supportSummary>
300+
<![CDATA[This connector is <a href="https://redislabs.com/company/support/">supported by Redis Labs</a> as part of a
301+
<a href="https://redislabs.com/redis-enterprise">Redis Enterprise</a> license.]]>
302+
</supportSummary>
303+
<supportUrl>${project.issueManagement.url}</supportUrl>
157304
<confluentControlCenterIntegration>true</confluentControlCenterIntegration>
158-
<documentationUrl>https://developer.redislabs.com/kafka</documentationUrl>
159305
<componentTypes>
160306
<componentType>sink</componentType>
161307
<componentType>source</componentType>
162308
</componentTypes>
309+
<requirements>
310+
<requirement>Redis Enterprise 6.0+</requirement>
311+
</requirements>
163312
<tags>
164313
<tag>redis</tag>
165314
<tag>enterprise</tag>
166315
</tags>
167-
<title>Redis Enterprise Kafka</title>
168-
<sourceUrl>https://github.com/RedisLabs-Field-Engineering/redis-enterprise-kafka</sourceUrl>
169-
<ownerName>Redis Labs</ownerName>
170-
<ownerUsername>redislabs</ownerUsername>
171-
<ownerUrl>https://github.com/RedisLabs-Field-Engineering/redis-enterprise-kafka</ownerUrl>
172-
<supportProviderName>Redis Labs</supportProviderName>
173-
<supportSummary>
174-
<![CDATA[This connector is <a href="https://redislabs.com/company/support/">supported by Redis Labs</a> as part of a
175-
<a href="https://redislabs.com/redis-enterprise">Redis Enterprise</a> license.]]>
176-
</supportSummary>
177-
<dockerNamespace>redislabs</dockerNamespace>
178-
<dockerName>redis-enterprise-kafka-docker</dockerName>
179-
<!-- <excludes>-->
180-
<!-- <exclude>io.netty:*</exclude>-->
181-
<!-- </excludes>-->
316+
<!-- <excludes>-->
317+
<!-- <exclude>io.netty:*</exclude>-->
318+
<!-- </excludes>-->
182319
</configuration>
183320
</execution>
184321
</executions>
@@ -227,7 +364,9 @@
227364
<name>kafka-connect-archive</name>
228365
<artifacts>
229366
<artifact>
230-
<path>target/components/packages/redislabs-${project.artifactId}-${project.version}.zip</path>
367+
<path>
368+
target/components/packages/redislabs-${project.artifactId}-${project.version}.zip
369+
</path>
231370
</artifact>
232371
</artifacts>
233372
</kafka-connect-archive>

0 commit comments

Comments
 (0)