Das Spring-Boot-Maven-Plugin generiert Build-Info
[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-producer</artifactId>
16   <name>Endless Producer: a Simple Producer that endlessly writes numbers into a topic</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         <executions>
54           <execution>
55             <goals>
56               <goal>build-info</goal>
57             </goals>
58           </execution>
59         </executions>
60       </plugin>
61       <plugin>
62         <groupId>io.fabric8</groupId>
63         <artifactId>docker-maven-plugin</artifactId>
64         <version>0.33.0</version>
65         <configuration>
66           <images>
67             <image>
68               <name>juplo/%a:%v</name>
69             </image>
70           </images>
71         </configuration>
72         <executions>
73           <execution>
74              <id>build</id>
75              <phase>package</phase>
76              <goals>
77                <goal>build</goal>
78              </goals>
79           </execution>
80         </executions>
81       </plugin>
82     </plugins>
83   </build>
84
85 </project>