NEU
[demos/kafka/chat] / 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4   <modelVersion>4.0.0</modelVersion>
5   <parent>
6     <groupId>org.springframework.boot</groupId>
7     <artifactId>spring-boot-starter-parent</artifactId>
8     <version>3.0.1</version>
9     <relativePath/> <!-- lookup parent from repository -->
10   </parent>
11   <groupId>de.juplo.kafka</groupId>
12   <artifactId>chat-backend</artifactId>
13   <version>0.0.1-SNAPSHOT</version>
14   <name>Chatroom Service</name>
15   <description>Simplified Chat-Service, that needs state on the server</description>
16   <properties>
17     <java.version>17</java.version>
18     <assertj-reactor.version>1.0.8</assertj-reactor.version>
19     <mongodb.version>4.7.2</mongodb.version>
20   </properties>
21   <dependencyManagement>
22     <dependencies>
23       <dependency>
24         <groupId>org.testcontainers</groupId>
25         <artifactId>testcontainers-bom</artifactId>
26         <version>1.17.6</version>
27         <type>pom</type>
28         <scope>import</scope>
29       </dependency>
30     </dependencies>
31   </dependencyManagement>
32   <dependencies>
33     <dependency>
34       <groupId>org.springframework.boot</groupId>
35       <artifactId>spring-boot-starter-webflux</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.springframework.boot</groupId>
39       <artifactId>spring-boot-starter-actuator</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.springframework.boot</groupId>
43       <artifactId>spring-boot-devtools</artifactId>
44       <scope>runtime</scope>
45       <optional>true</optional>
46     </dependency>
47     <dependency>
48       <groupId>org.springframework.boot</groupId>
49       <artifactId>spring-boot-configuration-processor</artifactId>
50       <optional>true</optional>
51     </dependency>
52     <dependency>
53       <groupId>org.projectlombok</groupId>
54       <artifactId>lombok</artifactId>
55       <optional>true</optional>
56     </dependency>
57     <dependency>
58       <groupId>org.springframework.boot</groupId>
59       <artifactId>spring-boot-starter-data-mongodb</artifactId>
60     </dependency>
61     <dependency>
62       <groupId>org.apache.kafka</groupId>
63       <artifactId>kafka-clients</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.springframework.kafka</groupId>
67       <artifactId>spring-kafka</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.springframework.boot</groupId>
71       <artifactId>spring-boot-starter-test</artifactId>
72       <scope>test</scope>
73     </dependency>
74     <dependency>
75       <groupId>pl.rzrz</groupId>
76       <artifactId>assertj-reactor</artifactId>
77       <version>${assertj-reactor.version}</version>
78       <scope>test</scope>
79     </dependency>
80     <dependency>
81       <groupId>org.mockito</groupId>
82       <artifactId>mockito-core</artifactId>
83       <scope>test</scope>
84     </dependency>
85     <dependency>
86       <groupId>org.testcontainers</groupId>
87       <artifactId>testcontainers</artifactId>
88       <scope>test</scope>
89     </dependency>
90     <dependency>
91       <groupId>org.testcontainers</groupId>
92       <artifactId>junit-jupiter</artifactId>
93       <scope>test</scope>
94     </dependency>
95     <dependency>
96       <groupId>org.awaitility</groupId>
97       <artifactId>awaitility</artifactId>
98       <scope>test</scope>
99     </dependency>
100   </dependencies>
101
102   <build>
103     <plugins>
104       <plugin>
105         <groupId>org.springframework.boot</groupId>
106         <artifactId>spring-boot-maven-plugin</artifactId>
107         <configuration>
108           <excludes>
109             <exclude>
110               <groupId>org.projectlombok</groupId>
111               <artifactId>lombok</artifactId>
112             </exclude>
113           </excludes>
114         </configuration>
115       </plugin>
116       <plugin>
117         <artifactId>maven-failsafe-plugin</artifactId>
118       </plugin>
119       <plugin>
120         <groupId>io.fabric8</groupId>
121         <artifactId>docker-maven-plugin</artifactId>
122         <version>0.33.0</version>
123         <configuration>
124           <images>
125             <image>
126               <name>juplo/%a:%v</name>
127             </image>
128           </images>
129         </configuration>
130         <executions>
131           <execution>
132              <id>build</id>
133              <phase>package</phase>
134              <goals>
135                <goal>build</goal>
136              </goals>
137           </execution>
138         </executions>
139       </plugin>
140     </plugins>
141   </build>
142
143 </project>