Tests: Erste Version eines synchronen Integration-Test implementiert
[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.6.5</version>
11     <relativePath/> <!-- lookup parent from repository -->
12   </parent>
13
14   <groupId>de.juplo.kafka</groupId>
15   <artifactId>endless-consumer</artifactId>
16   <version>1.0-SNAPSHOT</version>
17   <name>Endless Consumer: a Simple Consumer-Group that reads and prints the topic and counts the received messages for each key by topic</name>
18
19   <dependencies>
20     <dependency>
21       <groupId>org.springframework.boot</groupId>
22       <artifactId>spring-boot-starter-web</artifactId>
23     </dependency>
24     <dependency>
25       <groupId>org.springframework.boot</groupId>
26       <artifactId>spring-boot-starter-validation</artifactId>
27     </dependency>
28     <dependency>
29       <groupId>org.springframework.boot</groupId>
30       <artifactId>spring-boot-starter-actuator</artifactId>
31     </dependency>
32     <dependency>
33       <groupId>org.springframework.boot</groupId>
34       <artifactId>spring-boot-configuration-processor</artifactId>
35       <optional>true</optional>
36     </dependency>
37     <dependency>
38       <groupId>org.apache.kafka</groupId>
39       <artifactId>kafka-clients</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.projectlombok</groupId>
43       <artifactId>lombok</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>org.springframework.boot</groupId>
47       <artifactId>spring-boot-starter-test</artifactId>
48       <scope>test</scope>
49     </dependency>
50     <dependency>
51       <groupId>org.springframework.kafka</groupId>
52       <artifactId>spring-kafka-test</artifactId>
53       <scope>test</scope>
54     </dependency>
55   </dependencies>
56
57   <build>
58     <plugins>
59       <plugin>
60         <groupId>org.springframework.boot</groupId>
61         <artifactId>spring-boot-maven-plugin</artifactId>
62         <executions>
63           <execution>
64             <goals>
65               <goal>build-info</goal>
66             </goals>
67           </execution>
68         </executions>
69       </plugin>
70       <plugin>
71         <groupId>pl.project13.maven</groupId>
72         <artifactId>git-commit-id-plugin</artifactId>
73       </plugin>
74       <plugin>
75         <groupId>io.fabric8</groupId>
76         <artifactId>docker-maven-plugin</artifactId>
77         <version>0.33.0</version>
78         <configuration>
79           <images>
80             <image>
81               <name>juplo/%a:%v</name>
82             </image>
83           </images>
84         </configuration>
85         <executions>
86           <execution>
87              <id>build</id>
88              <phase>package</phase>
89              <goals>
90                <goal>build</goal>
91              </goals>
92           </execution>
93         </executions>
94       </plugin>
95     </plugins>
96   </build>
97
98 </project>