Demonstration für das Wordcount-Beispiel angepasst
[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>wordcount</artifactId>
16   <version>1.0-SNAPSHOT</version>
17   <name>Wordcount</name>
18   <description>Splits the incomming sentences into words and counts the words per user.</description>
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-data-mongodb</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.springframework.boot</groupId>
31       <artifactId>spring-boot-starter-validation</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.springframework.boot</groupId>
35       <artifactId>spring-boot-starter-actuator</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.springframework.boot</groupId>
39       <artifactId>spring-boot-configuration-processor</artifactId>
40       <optional>true</optional>
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-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     <dependency>
66       <groupId>de.flapdoodle.embed</groupId>
67       <artifactId>de.flapdoodle.embed.mongo</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>pl.project13.maven</groupId>
87         <artifactId>git-commit-id-plugin</artifactId>
88       </plugin>
89       <plugin>
90         <groupId>io.fabric8</groupId>
91         <artifactId>docker-maven-plugin</artifactId>
92         <version>0.33.0</version>
93         <configuration>
94           <images>
95             <image>
96               <name>juplo/%a:%v</name>
97             </image>
98           </images>
99         </configuration>
100         <executions>
101           <execution>
102              <id>build</id>
103              <phase>package</phase>
104              <goals>
105                <goal>build</goal>
106              </goals>
107           </execution>
108         </executions>
109       </plugin>
110     </plugins>
111   </build>
112
113 </project>