Vereinfachtes setup aus Grundlagen-Übungen ü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>rest-producer</artifactId>
16   <name>REST Producer</name>
17   <description>A Simple Producer that takes messages via POST and confirms successs</description>
18   <version>1.0-SNAPSHOT</version>
19
20   <properties>
21     <java.version>17</java.version>
22   </properties>
23
24   <dependencies>
25     <dependency>
26       <groupId>org.springframework.boot</groupId>
27       <artifactId>spring-boot-starter-web</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.springframework.boot</groupId>
31       <artifactId>spring-boot-starter-actuator</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.springframework.boot</groupId>
35       <artifactId>spring-boot-configuration-processor</artifactId>
36       <optional>true</optional>
37     </dependency>
38     <dependency>
39       <groupId>org.springframework.boot</groupId>
40       <artifactId>spring-boot-starter-validation</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.apache.kafka</groupId>
44       <artifactId>kafka-clients</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.projectlombok</groupId>
48       <artifactId>lombok</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.springframework.boot</groupId>
52       <artifactId>spring-boot-starter-test</artifactId>
53       <scope>test</scope>
54     </dependency>
55     <dependency>
56       <groupId>org.springframework.kafka</groupId>
57       <artifactId>spring-kafka</artifactId>
58       <scope>test</scope>
59     </dependency>
60     <dependency>
61       <groupId>org.springframework.kafka</groupId>
62       <artifactId>spring-kafka-test</artifactId>
63       <scope>test</scope>
64     </dependency>
65     <dependency>
66       <groupId>org.awaitility</groupId>
67       <artifactId>awaitility</artifactId>
68       <scope>test</scope>
69     </dependency>
70   </dependencies>
71
72   <build>
73     <plugins>
74       <plugin>
75         <groupId>org.springframework.boot</groupId>
76         <artifactId>spring-boot-maven-plugin</artifactId>
77         <executions>
78           <execution>
79             <goals>
80               <goal>build-info</goal>
81             </goals>
82           </execution>
83         </executions>
84       </plugin>
85       <plugin>
86         <groupId>io.fabric8</groupId>
87         <artifactId>docker-maven-plugin</artifactId>
88         <version>0.33.0</version>
89         <configuration>
90           <images>
91             <image>
92               <name>juplo/%a:%v</name>
93             </image>
94           </images>
95         </configuration>
96         <executions>
97           <execution>
98              <id>build</id>
99              <phase>package</phase>
100              <goals>
101                <goal>build</goal>
102              </goals>
103           </execution>
104         </executions>
105       </plugin>
106     </plugins>
107   </build>
108
109 </project>