|
3 | 3 | xmlns="http://maven.apache.org/POM/4.0.0"
|
4 | 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
5 | 5 | <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> |
11 | 6 | <groupId>com.redislabs</groupId>
|
12 | 7 | <artifactId>redis-enterprise-kafka</artifactId>
|
13 | 8 | <version>1.0.0-SNAPSHOT</version>
|
|
18 | 13 | <properties>
|
19 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
20 | 15 | <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> |
21 | 19 | <asciidoctor.maven.plugin.version>2.1.0</asciidoctor.maven.plugin.version>
|
22 | 20 | <asciidoctorj.version>2.5.1</asciidoctorj.version>
|
23 | 21 | <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> |
24 | 25 | </properties>
|
25 | 26 | <licenses>
|
26 | 27 | <license>
|
|
61 | 62 | </repository>
|
62 | 63 | </repositories>
|
63 | 64 | <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> |
64 | 81 | <dependency>
|
65 | 82 | <groupId>com.redislabs</groupId>
|
66 | 83 | <artifactId>mesclun</artifactId>
|
|
69 | 86 | <dependency>
|
70 | 87 | <groupId>org.slf4j</groupId>
|
71 | 88 | <artifactId>slf4j-api</artifactId>
|
72 |
| - <version>1.7.30</version> |
| 89 | + <version>${slf4j.version}</version> |
73 | 90 | </dependency>
|
74 | 91 | <dependency>
|
75 | 92 | <groupId>com.redislabs</groupId>
|
76 | 93 | <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> |
78 | 100 | </dependency>
|
79 | 101 | <dependency>
|
80 | 102 | <groupId>org.projectlombok</groupId>
|
|
84 | 106 | </dependency>
|
85 | 107 | <dependency>
|
86 | 108 | <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> |
89 | 129 | <scope>test</scope>
|
90 | 130 | </dependency>
|
91 | 131 | <dependency>
|
92 | 132 | <groupId>com.redislabs</groupId>
|
93 | 133 | <artifactId>testcontainers-redis</artifactId>
|
94 |
| - <version>1.1.6</version> |
| 134 | + <version>1.1.7-SNAPSHOT</version> |
95 | 135 | <scope>test</scope>
|
96 | 136 | </dependency>
|
97 | 137 | <dependency>
|
|
106 | 146 | <version>3.4.6</version>
|
107 | 147 | <scope>test</scope>
|
108 | 148 | </dependency>
|
| 149 | + <dependency> |
| 150 | + <groupId>org.mockito</groupId> |
| 151 | + <artifactId>mockito-core</artifactId> |
| 152 | + <version>${mockito.version}</version> |
| 153 | + <scope>test</scope> |
| 154 | + </dependency> |
109 | 155 | </dependencies>
|
110 | 156 | <build>
|
111 | 157 | <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> |
112 | 209 | <plugin>
|
113 | 210 | <groupId>org.jacoco</groupId>
|
114 | 211 | <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> |
116 | 244 | </plugin>
|
117 | 245 | <plugin>
|
118 | 246 | <groupId>org.codehaus.mojo</groupId>
|
|
122 | 250 | <plugin>
|
123 | 251 | <groupId>org.apache.maven.plugins</groupId>
|
124 | 252 | <artifactId>maven-checkstyle-plugin</artifactId>
|
125 |
| - <version>2.17</version> |
| 253 | + <version>3.1.1</version> |
126 | 254 | <configuration>
|
127 | 255 | <skip>true</skip>
|
128 | 256 | </configuration>
|
|
132 | 260 | <artifactId>maven-assembly-plugin</artifactId>
|
133 | 261 | <version>3.3.0</version>
|
134 | 262 | <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> |
144 | 268 | </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> |
145 | 278 | </plugin>
|
146 | 279 | <plugin>
|
147 | 280 | <groupId>io.confluent</groupId>
|
148 | 281 | <artifactId>kafka-connect-maven-plugin</artifactId>
|
149 |
| - <version>0.11.2</version> |
| 282 | + <version>0.12.0</version> |
150 | 283 | <executions>
|
151 | 284 | <execution>
|
152 |
| - <id>hub</id> |
| 285 | + <phase>package</phase> |
153 | 286 | <goals>
|
154 | 287 | <goal>kafka-connect</goal>
|
155 | 288 | </goals>
|
156 | 289 | <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> |
157 | 304 | <confluentControlCenterIntegration>true</confluentControlCenterIntegration>
|
158 |
| - <documentationUrl>https://developer.redislabs.com/kafka</documentationUrl> |
159 | 305 | <componentTypes>
|
160 | 306 | <componentType>sink</componentType>
|
161 | 307 | <componentType>source</componentType>
|
162 | 308 | </componentTypes>
|
| 309 | + <requirements> |
| 310 | + <requirement>Redis Enterprise 6.0+</requirement> |
| 311 | + </requirements> |
163 | 312 | <tags>
|
164 | 313 | <tag>redis</tag>
|
165 | 314 | <tag>enterprise</tag>
|
166 | 315 | </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>--> |
182 | 319 | </configuration>
|
183 | 320 | </execution>
|
184 | 321 | </executions>
|
|
227 | 364 | <name>kafka-connect-archive</name>
|
228 | 365 | <artifacts>
|
229 | 366 | <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> |
231 | 370 | </artifact>
|
232 | 371 | </artifacts>
|
233 | 372 | </kafka-connect-archive>
|
|
0 commit comments