|
23 | 23 | <protobuf.version>3.19.1</protobuf.version>
|
24 | 24 | <testcontainers.version>1.16.2</testcontainers.version>
|
25 | 25 | <kafka-libs.version>6.1.4</kafka-libs.version>
|
| 26 | + <docker.base.image>eclipse-temurin:11</docker.base.image> |
26 | 27 | </properties>
|
27 | 28 |
|
28 | 29 | <scm>
|
|
220 | 221 | </compilerArgs>
|
221 | 222 | </configuration>
|
222 | 223 | </plugin>
|
223 |
| - <plugin> |
224 |
| - <artifactId>maven-assembly-plugin</artifactId> |
225 |
| - <configuration> |
226 |
| - <descriptors> |
227 |
| - <descriptor>src/main/assembly/bin.xml</descriptor> |
228 |
| - </descriptors> |
229 |
| - </configuration> |
230 |
| - </plugin> |
231 | 224 | <plugin>
|
232 | 225 | <!-- Build an executable JAR -->
|
233 | 226 | <groupId>org.apache.maven.plugins</groupId>
|
|
243 | 236 | </configuration>
|
244 | 237 | </plugin>
|
245 | 238 | <plugin>
|
246 |
| - <groupId>com.spotify</groupId> |
| 239 | + <groupId>io.fabric8</groupId> |
247 | 240 | <artifactId>docker-maven-plugin</artifactId>
|
248 |
| - <version>1.2.0</version> |
| 241 | + <version>0.40.1</version> |
249 | 242 | <configuration>
|
250 |
| - <imageName>obsidiandynamics/kafdrop</imageName> |
251 |
| - <forceTags>true</forceTags> |
252 |
| - <dockerDirectory>${project.build.directory}/docker-ready</dockerDirectory> |
253 |
| - <imageTags> |
254 |
| - <imageTag>${project.version}</imageTag> |
255 |
| - <imageTag>latest</imageTag> |
256 |
| - </imageTags> |
257 |
| - <resources> |
258 |
| - <resource> |
259 |
| - <targetPath>/</targetPath> |
260 |
| - <directory>${project.build.directory}</directory> |
261 |
| - <include>${project.build.finalName}-bin.tar.gz</include> |
262 |
| - </resource> |
263 |
| - </resources> |
| 243 | + <verbose>true</verbose> |
| 244 | + <sourceDirectory>src/main/assembly</sourceDirectory> |
| 245 | + <images> |
| 246 | + <image> |
| 247 | + <name>obsidiandynamics/kafdrop</name> |
| 248 | + <build> |
| 249 | + <tags> |
| 250 | + <tag>${project.version}</tag> |
| 251 | + <tag>latest</tag> |
| 252 | + </tags> |
| 253 | + <contextDir>${project.build.directory}/docker-ready</contextDir> |
| 254 | + <assembly> |
| 255 | + <name>${project.build.finalName}</name> |
| 256 | + <mode>tar</mode> |
| 257 | + <descriptor>bin.xml</descriptor> |
| 258 | + </assembly> |
| 259 | + </build> |
| 260 | + </image> |
| 261 | + </images> |
264 | 262 | </configuration>
|
265 | 263 | </plugin>
|
266 | 264 | <plugin>
|
|
0 commit comments