Aktualisierung auf Java 17
[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>spring-consumer-kafkalistener</artifactId>
16   <name>Spring Consumer</name>
17   <description>Super Simple Consumer-Group, that is implemented as Spring-Boot application and configured by Spring Kafka</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-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.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   </dependencies>
61
62   <build>
63     <plugins>
64       <plugin>
65         <groupId>pl.project13.maven</groupId>
66         <artifactId>git-commit-id-plugin</artifactId>
67       </plugin>
68       <plugin>
69         <groupId>org.springframework.boot</groupId>
70         <artifactId>spring-boot-maven-plugin</artifactId>
71         <executions>
72           <execution>
73             <goals>
74               <goal>build-info</goal>
75             </goals>
76           </execution>
77         </executions>
78       </plugin>
79       <plugin>
80         <groupId>io.fabric8</groupId>
81         <artifactId>docker-maven-plugin</artifactId>
82         <version>0.33.0</version>
83         <configuration>
84           <images>
85             <image>
86               <name>juplo/%a:%v</name>
87             </image>
88           </images>
89         </configuration>
90         <executions>
91           <execution>
92              <id>build</id>
93              <phase>package</phase>
94              <goals>
95                <goal>build</goal>
96              </goals>
97           </execution>
98         </executions>
99       </plugin>
100       <plugin>
101         <artifactId>maven-failsafe-plugin</artifactId>
102       </plugin>
103     </plugins>
104   </build>
105
106 </project>