`git-commit-id-plugin` stört bei neuem (alten) Setup für Musterlösungen
[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>simple-consumer</artifactId>
16   <name>Simple Consumer-Group</name>
17   <description>Super Simple Consumer-Group, that is implemented as a plain Java-program</description>
18   <version>1.0-SNAPSHOT</version>
19
20   <dependencies>
21     <dependency>
22       <groupId>org.apache.kafka</groupId>
23       <artifactId>kafka-clients</artifactId>
24     </dependency>
25     <dependency>
26       <groupId>org.projectlombok</groupId>
27       <artifactId>lombok</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>ch.qos.logback</groupId>
31       <artifactId>logback-classic</artifactId>
32     </dependency>
33   </dependencies>
34
35   <build>
36     <plugins>
37       <plugin>
38         <groupId>org.apache.maven.plugins</groupId>
39         <artifactId>maven-dependency-plugin</artifactId>
40         <executions>
41           <execution>
42             <id>copy-dependencies</id>
43             <phase>package</phase>
44             <goals>
45               <goal>copy-dependencies</goal>
46             </goals>
47             <configuration>
48               <outputDirectory>${project.build.directory}/libs</outputDirectory>
49             </configuration>
50           </execution>
51         </executions>
52       </plugin>
53       <plugin>
54         <groupId>org.apache.maven.plugins</groupId>
55         <artifactId>maven-jar-plugin</artifactId>
56         <configuration>
57           <archive>
58             <manifest>
59               <addClasspath>true</addClasspath>
60               <classpathPrefix>libs/</classpathPrefix>
61               <mainClass>de.juplo.kafka.SimpleConsumer</mainClass>
62             </manifest>
63           </archive>
64         </configuration>
65       </plugin>
66       <plugin>
67         <groupId>io.fabric8</groupId>
68         <artifactId>docker-maven-plugin</artifactId>
69         <version>0.33.0</version>
70         <configuration>
71           <images>
72             <image>
73               <name>juplo/%a:%v</name>
74             </image>
75           </images>
76         </configuration>
77         <executions>
78           <execution>
79              <id>build</id>
80              <phase>package</phase>
81              <goals>
82                <goal>build</goal>
83              </goals>
84           </execution>
85         </executions>
86       </plugin>
87     </plugins>
88   </build>
89
90
91 </project>