1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
8 <groupId>org.springframework.boot</groupId>
9 <artifactId>spring-boot-starter-parent</artifactId>
10 <version>2.7.2</version>
11 <relativePath/> <!-- lookup parent from repository -->
14 <groupId>de.juplo.kafka</groupId>
15 <artifactId>simple-producer</artifactId>
16 <name>Super Simple Producer</name>
17 <version>1.0-SNAPSHOT</version>
20 <java.version>17</java.version>
25 <groupId>org.apache.kafka</groupId>
26 <artifactId>kafka-clients</artifactId>
29 <groupId>org.projectlombok</groupId>
30 <artifactId>lombok</artifactId>
33 <groupId>ch.qos.logback</groupId>
34 <artifactId>logback-classic</artifactId>
37 <groupId>org.springframework.kafka</groupId>
38 <artifactId>spring-kafka-test</artifactId>
42 <groupId>org.assertj</groupId>
43 <artifactId>assertj-core</artifactId>
51 <groupId>org.apache.maven.plugins</groupId>
52 <artifactId>maven-dependency-plugin</artifactId>
55 <id>copy-dependencies</id>
56 <phase>package</phase>
58 <goal>copy-dependencies</goal>
61 <outputDirectory>${project.build.directory}/libs</outputDirectory>
67 <groupId>org.apache.maven.plugins</groupId>
68 <artifactId>maven-jar-plugin</artifactId>
72 <addClasspath>true</addClasspath>
73 <classpathPrefix>libs/</classpathPrefix>
74 <mainClass>de.juplo.kafka.SimpleProducer</mainClass>
80 <groupId>io.fabric8</groupId>
81 <artifactId>docker-maven-plugin</artifactId>
82 <version>0.33.0</version>
86 <name>juplo/%a:%v</name>
93 <phase>package</phase>