Skip to content

Commit 311f91b

Browse files
NIFI-14546 Moved Kafka3ConnectionService to nifi-kafka-service-shared
- Updated nifi-kafka-3-service to depend on nifi-kafka-service-shared - Updated nifi-kafka-service-aws to depend on nifi-kafka-service-shared
1 parent 344799d commit 311f91b

File tree

17 files changed

+89
-53
lines changed

17 files changed

+89
-53
lines changed

nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-3-service/pom.xml

Lines changed: 1 addition & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -28,59 +28,8 @@
2828
<dependencies>
2929
<dependency>
3030
<groupId>org.apache.nifi</groupId>
31-
<artifactId>nifi-kafka-service-api</artifactId>
31+
<artifactId>nifi-kafka-service-shared</artifactId>
3232
<version>2.5.0-SNAPSHOT</version>
33-
<scope>provided</scope>
34-
</dependency>
35-
<dependency>
36-
<groupId>org.apache.nifi</groupId>
37-
<artifactId>nifi-ssl-context-service-api</artifactId>
38-
</dependency>
39-
<dependency>
40-
<groupId>org.apache.nifi</groupId>
41-
<artifactId>nifi-security-utils-api</artifactId>
42-
</dependency>
43-
<dependency>
44-
<groupId>org.apache.nifi</groupId>
45-
<artifactId>nifi-kerberos-user-service-api</artifactId>
46-
</dependency>
47-
<dependency>
48-
<groupId>org.apache.nifi</groupId>
49-
<artifactId>nifi-utils</artifactId>
50-
</dependency>
51-
<dependency>
52-
<groupId>org.apache.nifi</groupId>
53-
<artifactId>nifi-kafka-shared</artifactId>
54-
<version>2.5.0-SNAPSHOT</version>
55-
</dependency>
56-
<dependency>
57-
<groupId>org.testcontainers</groupId>
58-
<artifactId>junit-jupiter</artifactId>
59-
<version>${testcontainers.version}</version>
60-
<scope>test</scope>
61-
</dependency>
62-
<dependency>
63-
<groupId>org.testcontainers</groupId>
64-
<artifactId>kafka</artifactId>
65-
<version>${testcontainers.version}</version>
66-
<scope>test</scope>
67-
</dependency>
68-
<dependency>
69-
<groupId>org.apache.kafka</groupId>
70-
<artifactId>kafka-clients</artifactId>
71-
<version>${kafka4.version}</version>
72-
</dependency>
73-
<dependency>
74-
<groupId>org.apache.nifi</groupId>
75-
<artifactId>nifi-security-cert-builder</artifactId>
76-
<version>2.5.0-SNAPSHOT</version>
77-
<scope>test</scope>
78-
</dependency>
79-
<dependency>
80-
<groupId>org.apache.nifi</groupId>
81-
<artifactId>nifi-security-ssl</artifactId>
82-
<version>2.5.0-SNAPSHOT</version>
83-
<scope>test</scope>
8433
</dependency>
8534
</dependencies>
8635
</project>

nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-service-aws/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<!-- Kafka Service implementation required for extending the Controller Service class -->
3636
<dependency>
3737
<groupId>org.apache.nifi</groupId>
38-
<artifactId>nifi-kafka-3-service</artifactId>
38+
<artifactId>nifi-kafka-service-shared</artifactId>
3939
<version>${project.version}</version>
4040
</dependency>
4141
<!-- Controller Service API modules required for extending Kafka3ConnectionService -->
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one or more
4+
contributor license agreements. See the NOTICE file distributed with
5+
this work for additional information regarding copyright ownership.
6+
The ASF licenses this file to You under the Apache License, Version 2.0
7+
(the "License"); you may not use this file except in compliance with
8+
the License. You may obtain a copy of the License at
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
17+
<modelVersion>4.0.0</modelVersion>
18+
19+
<parent>
20+
<groupId>org.apache.nifi</groupId>
21+
<artifactId>nifi-kafka-bundle</artifactId>
22+
<version>2.5.0-SNAPSHOT</version>
23+
</parent>
24+
25+
<artifactId>nifi-kafka-service-shared</artifactId>
26+
<packaging>jar</packaging>
27+
28+
<dependencies>
29+
<dependency>
30+
<groupId>org.apache.nifi</groupId>
31+
<artifactId>nifi-kafka-service-api</artifactId>
32+
<version>2.5.0-SNAPSHOT</version>
33+
<scope>provided</scope>
34+
</dependency>
35+
<dependency>
36+
<groupId>org.apache.nifi</groupId>
37+
<artifactId>nifi-ssl-context-service-api</artifactId>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.apache.nifi</groupId>
41+
<artifactId>nifi-security-utils-api</artifactId>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.apache.nifi</groupId>
45+
<artifactId>nifi-kerberos-user-service-api</artifactId>
46+
</dependency>
47+
<dependency>
48+
<groupId>org.apache.nifi</groupId>
49+
<artifactId>nifi-utils</artifactId>
50+
</dependency>
51+
<dependency>
52+
<groupId>org.apache.nifi</groupId>
53+
<artifactId>nifi-kafka-shared</artifactId>
54+
<version>2.5.0-SNAPSHOT</version>
55+
</dependency>
56+
<dependency>
57+
<groupId>org.testcontainers</groupId>
58+
<artifactId>junit-jupiter</artifactId>
59+
<version>${testcontainers.version}</version>
60+
<scope>test</scope>
61+
</dependency>
62+
<dependency>
63+
<groupId>org.testcontainers</groupId>
64+
<artifactId>kafka</artifactId>
65+
<version>${testcontainers.version}</version>
66+
<scope>test</scope>
67+
</dependency>
68+
<dependency>
69+
<groupId>org.apache.kafka</groupId>
70+
<artifactId>kafka-clients</artifactId>
71+
<version>${kafka4.version}</version>
72+
</dependency>
73+
<dependency>
74+
<groupId>org.apache.nifi</groupId>
75+
<artifactId>nifi-security-cert-builder</artifactId>
76+
<version>2.5.0-SNAPSHOT</version>
77+
<scope>test</scope>
78+
</dependency>
79+
<dependency>
80+
<groupId>org.apache.nifi</groupId>
81+
<artifactId>nifi-security-ssl</artifactId>
82+
<version>2.5.0-SNAPSHOT</version>
83+
<scope>test</scope>
84+
</dependency>
85+
</dependencies>
86+
</project>

nifi-extension-bundles/nifi-kafka-bundle/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<module>nifi-kafka-service-api</module>
4242
<module>nifi-kafka-service-aws</module>
4343
<module>nifi-kafka-service-aws-nar</module>
44+
<module>nifi-kafka-service-shared</module>
4445
<module>nifi-kafka-shared</module>
4546
</modules>
4647

0 commit comments

Comments
 (0)