refactor: `RestProducer` wird explizit erzeugt
[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   <dependencies>
21     <dependency>
22       <groupId>org.springframework.boot</groupId>
23       <artifactId>spring-boot-starter-web</artifactId>
24     </dependency>
25     <dependency>
26       <groupId>org.springframework.boot</groupId>
27       <artifactId>spring-boot-starter-actuator</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.apache.kafka</groupId>
36       <artifactId>kafka-clients</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</artifactId>
50       <scope>test</scope>
51     </dependency>
52     <dependency>
53       <groupId>org.springframework.kafka</groupId>
54       <artifactId>spring-kafka-test</artifactId>
55       <scope>test</scope>
56     </dependency>
57     <dependency>
58       <groupId>org.awaitility</groupId>
59       <artifactId>awaitility</artifactId>
60       <scope>test</scope>
61     </dependency>
62   </dependencies>
63
64   <build>
65     <plugins>
66       <plugin>
67         <groupId>org.springframework.boot</groupId>
68         <artifactId>spring-boot-maven-plugin</artifactId>
69         <executions>
70           <execution>
71             <goals>
72               <goal>build-info</goal>
73             </goals>
74           </execution>
75         </executions>
76       </plugin>
77       <plugin>
78         <groupId>pl.project13.maven</groupId>
79         <artifactId>git-commit-id-plugin</artifactId>
80       </plugin>
81       <plugin>
82         <groupId>io.fabric8</groupId>
83         <artifactId>docker-maven-plugin</artifactId>
84         <version>0.33.0</version>
85         <configuration>
86           <images>
87             <image>
88               <name>juplo/%a:%v</name>
89             </image>
90           </images>
91         </configuration>
92         <executions>
93           <execution>
94              <id>build</id>
95              <phase>package</phase>
96              <goals>
97                <goal>build</goal>
98              </goals>
99           </execution>
100         </executions>
101       </plugin>
102     </plugins>
103   </build>
104
105 </project>