Vorlage
[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--json</artifactId>
16   <name>REST Producer</name>
17   <description>A Producer that takes messages via POST and sends JSON-requests to the Sumup-Adder</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.springframework.kafka</groupId>
44       <artifactId>spring-kafka</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-test</artifactId>
58       <scope>test</scope>
59     </dependency>
60     <dependency>
61       <groupId>org.awaitility</groupId>
62       <artifactId>awaitility</artifactId>
63       <scope>test</scope>
64     </dependency>
65   </dependencies>
66
67   <build>
68     <plugins>
69       <plugin>
70         <groupId>org.springframework.boot</groupId>
71         <artifactId>spring-boot-maven-plugin</artifactId>
72         <executions>
73           <execution>
74             <goals>
75               <goal>build-info</goal>
76             </goals>
77           </execution>
78         </executions>
79       </plugin>
80       <plugin>
81         <groupId>io.fabric8</groupId>
82         <artifactId>docker-maven-plugin</artifactId>
83         <version>0.33.0</version>
84         <configuration>
85           <images>
86             <image>
87               <name>juplo/%a:%v</name>
88             </image>
89           </images>
90         </configuration>
91         <executions>
92           <execution>
93              <id>build</id>
94              <phase>package</phase>
95              <goals>
96                <goal>build</goal>
97              </goals>
98           </execution>
99         </executions>
100       </plugin>
101     </plugins>
102   </build>
103
104 </project>