|
6 | 6 |
|
7 | 7 | <groupId>ai.superstream</groupId>
|
8 | 8 | <artifactId>superstream-clients</artifactId>
|
9 |
| - <version>1.0.9</version> |
| 9 | + <version>1.0.10</version> |
10 | 10 | <packaging>jar</packaging>
|
11 | 11 |
|
12 | 12 | <name>Superstream Kafka Client Optimizer</name>
|
|
60 | 60 | <groupId>org.apache.kafka</groupId>
|
61 | 61 | <artifactId>kafka-clients</artifactId>
|
62 | 62 | <version>${kafka.version}</version>
|
63 |
| - <exclusions> |
64 |
| - <exclusion> |
65 |
| - <groupId>org.slf4j</groupId> |
66 |
| - <artifactId>slf4j-nop</artifactId> |
67 |
| - </exclusion> |
68 |
| - <exclusion> |
69 |
| - <groupId>org.slf4j</groupId> |
70 |
| - <artifactId>slf4j-simple</artifactId> |
71 |
| - </exclusion> |
72 |
| - <exclusion> |
73 |
| - <groupId>org.slf4j</groupId> |
74 |
| - <artifactId>slf4j-log4j12</artifactId> |
75 |
| - </exclusion> |
76 |
| - <exclusion> |
77 |
| - <groupId>org.slf4j</groupId> |
78 |
| - <artifactId>slf4j-jdk14</artifactId> |
79 |
| - </exclusion> |
80 |
| - <exclusion> |
81 |
| - <groupId>org.slf4j</groupId> |
82 |
| - <artifactId>slf4j-jcl</artifactId> |
83 |
| - </exclusion> |
84 |
| - <exclusion> |
85 |
| - <groupId>ch.qos.logback</groupId> |
86 |
| - <artifactId>logback-classic</artifactId> |
87 |
| - </exclusion> |
88 |
| - <exclusion> |
89 |
| - <groupId>org.slf4j</groupId> |
90 |
| - <artifactId>slf4j-api</artifactId> |
91 |
| - </exclusion> |
92 |
| - </exclusions> |
93 |
| - </dependency> |
94 |
| - |
95 |
| - <!-- SLF4J API --> |
96 |
| - <dependency> |
97 |
| - <groupId>org.slf4j</groupId> |
98 |
| - <artifactId>slf4j-api</artifactId> |
99 |
| - <version>2.0.11</version> |
100 |
| - </dependency> |
101 |
| - |
102 |
| - <dependency> |
103 |
| - <groupId>ch.qos.logback</groupId> |
104 |
| - <artifactId>logback-classic</artifactId> |
105 |
| - <version>1.4.14</version> |
106 | 63 | </dependency>
|
107 | 64 |
|
108 | 65 | <!-- ByteBuddy for bytecode manipulation -->
|
|
186 | 143 | <pattern>com.fasterxml</pattern>
|
187 | 144 | <shadedPattern>ai.superstream.shaded.com.fasterxml</shadedPattern>
|
188 | 145 | </relocation>
|
| 146 | + <!-- Add Kafka relocation --> |
| 147 | + <relocation> |
| 148 | + <pattern>org.apache.kafka</pattern> |
| 149 | + <shadedPattern>ai.superstream.shaded.org.apache.kafka</shadedPattern> |
| 150 | + </relocation> |
189 | 151 | </relocations>
|
| 152 | + <!-- Optional: Filter to transform MANIFEST files to avoid conflicts --> |
| 153 | + <filters> |
| 154 | + <filter> |
| 155 | + <artifact>*:*</artifact> |
| 156 | + <excludes> |
| 157 | + <exclude>META-INF/*.SF</exclude> |
| 158 | + <exclude>META-INF/*.DSA</exclude> |
| 159 | + <exclude>META-INF/*.RSA</exclude> |
| 160 | + </excludes> |
| 161 | + </filter> |
| 162 | + </filters> |
| 163 | + <!-- Optional: Transformer to handle service providers --> |
| 164 | + <transformers> |
| 165 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 166 | + </transformers> |
190 | 167 | </configuration>
|
191 | 168 | </execution>
|
192 | 169 | </executions>
|
|
240 | 217 | </executions>
|
241 | 218 | </plugin>
|
242 | 219 |
|
243 |
| - <!-- maven-install-plugin --> |
244 |
| - <plugin> |
| 220 | + <!-- maven-install-plugin --> |
| 221 | + <plugin> |
245 | 222 | <artifactId>maven-install-plugin</artifactId>
|
246 | 223 | <version>2.5.2</version>
|
247 | 224 | </plugin>
|
248 | 225 |
|
249 |
| - <!-- central-publishing-maven-plugin --> |
250 |
| - <plugin> |
| 226 | + <!-- central-publishing-maven-plugin --> |
| 227 | + <plugin> |
251 | 228 | <groupId>org.sonatype.central</groupId>
|
252 | 229 | <artifactId>central-publishing-maven-plugin</artifactId>
|
253 | 230 | <version>0.4.0</version>
|
|
264 | 241 | </configuration>
|
265 | 242 | </execution>
|
266 | 243 | </executions>
|
267 |
| - </plugin> |
268 |
| - <!-- Disabling the default maven-deploy-plugin --> |
269 |
| - <plugin> |
| 244 | + </plugin> |
| 245 | + <!-- Disabling the default maven-deploy-plugin --> |
| 246 | + <plugin> |
270 | 247 | <artifactId>maven-deploy-plugin</artifactId>
|
271 | 248 | <version>3.1.1</version>
|
272 | 249 | <executions>
|
|
277 | 254 | </executions>
|
278 | 255 | </plugin>
|
279 | 256 |
|
280 |
| - <plugin> |
| 257 | + <plugin> |
281 | 258 | <groupId>org.apache.maven.plugins</groupId>
|
282 | 259 | <artifactId>maven-gpg-plugin</artifactId>
|
283 | 260 | <version>3.2.3</version>
|
|
296 | 273 | </configuration>
|
297 | 274 | </execution>
|
298 | 275 | </executions>
|
299 |
| - </plugin> |
| 276 | + </plugin> |
300 | 277 | </plugins>
|
301 | 278 | <resources>
|
302 | 279 | <resource>
|
|
309 | 286 | <include>README.md</include>
|
310 | 287 | </includes>
|
311 | 288 | <targetPath>.</targetPath> <!-- place it in root of jar -->
|
312 |
| - </resource> |
| 289 | + </resource> |
313 | 290 | </resources>
|
314 | 291 | </build>
|
315 | 292 |
|
|
0 commit comments