Korrekturen & Verbesserungen von simple-producer übernommen
[demos/kafka/training] / pom.xml
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">
4
5   <modelVersion>4.0.0</modelVersion>
6
7   <parent>
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 -->
12   </parent>
13
14   <groupId>de.juplo.kafka</groupId>
15   <artifactId>supersimple-producer</artifactId>
16   <name>Super Simple Producer</name>
17   <description>Most minimal Kafka Producer ever!</description>
18   <version>1.0-SNAPSHOT</version>
19
20   <properties>
21     <java.version>11</java.version>
22   </properties>
23
24   <dependencies>
25     <dependency>
26       <groupId>org.springframework.boot</groupId>
27       <artifactId>spring-boot-starter</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.springframework.boot</groupId>
31       <artifactId>spring-boot-configuration-processor</artifactId>
32       <optional>true</optional>
33     </dependency>
34     <dependency>
35       <groupId>org.springframework.kafka</groupId>
36       <artifactId>spring-kafka</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.projectlombok</groupId>
40       <artifactId>lombok</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.springframework.boot</groupId>
44       <artifactId>spring-boot-starter-test</artifactId>
45       <scope>test</scope>
46     </dependency>
47     <dependency>
48       <groupId>org.springframework.kafka</groupId>
49       <artifactId>spring-kafka-test</artifactId>
50       <scope>test</scope>
51     </dependency>
52   </dependencies>
53
54   <build>
55     <plugins>
56       <plugin>
57         <groupId>org.springframework.boot</groupId>
58         <artifactId>spring-boot-maven-plugin</artifactId>
59         <executions>
60           <execution>
61             <goals>
62               <goal>build-info</goal>
63             </goals>
64           </execution>
65         </executions>
66       </plugin>
67       <plugin>
68         <groupId>pl.project13.maven</groupId>
69         <artifactId>git-commit-id-plugin</artifactId>
70       </plugin>
71       <plugin>
72         <groupId>io.fabric8</groupId>
73         <artifactId>docker-maven-plugin</artifactId>
74         <version>0.33.0</version>
75         <configuration>
76           <images>
77             <image>
78               <name>juplo/%a:%v</name>
79             </image>
80           </images>
81         </configuration>
82         <executions>
83           <execution>
84              <id>build</id>
85              <phase>package</phase>
86              <goals>
87                <goal>build</goal>
88              </goals>
89           </execution>
90         </executions>
91       </plugin>
92       <plugin>
93         <artifactId>maven-failsafe-plugin</artifactId>
94       </plugin>
95     </plugins>
96   </build>
97
98 </project>