Tags für die Übung ergänzt
[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>rest-producer</artifactId>
16   <name>REST Producer: a Simple Producer that takes messages via POST and confirms successs</name>
17   <version>1.0-SNAPSHOT</version>
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-actuator</artifactId>
27     </dependency>
28     <dependency>
29       <groupId>org.springframework.boot</groupId>
30       <artifactId>spring-boot-configuration-processor</artifactId>
31       <optional>true</optional>
32     </dependency>
33     <dependency>
34       <groupId>org.apache.kafka</groupId>
35       <artifactId>kafka-clients</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.projectlombok</groupId>
39       <artifactId>lombok</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.springframework.boot</groupId>
43       <artifactId>spring-boot-starter-test</artifactId>
44       <scope>test</scope>
45     </dependency>
46   </dependencies>
47
48   <build>
49     <plugins>
50       <plugin>
51         <groupId>org.springframework.boot</groupId>
52         <artifactId>spring-boot-maven-plugin</artifactId>
53       </plugin>
54       <plugin>
55         <groupId>io.fabric8</groupId>
56         <artifactId>docker-maven-plugin</artifactId>
57         <version>0.33.0</version>
58         <configuration>
59           <images>
60             <image>
61               <name>juplo/%a:%v</name>
62             </image>
63           </images>
64         </configuration>
65         <executions>
66           <execution>
67              <id>build</id>
68              <phase>package</phase>
69              <goals>
70                <goal>build</goal>
71              </goals>
72           </execution>
73         </executions>
74       </plugin>
75     </plugins>
76   </build>
77
78 </project>