test: RED - Added a test for a put to a non-existent chat-room
[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     <dependency>
101       <groupId>org.springframework.kafka</groupId>
102       <artifactId>spring-kafka-test</artifactId>
103       <scope>test</scope>
104     </dependency>
105   </dependencies>
106
107   <build>
108     <plugins>
109       <plugin>
110         <groupId>org.springframework.boot</groupId>
111         <artifactId>spring-boot-maven-plugin</artifactId>
112         <configuration>
113           <excludes>
114             <exclude>
115               <groupId>org.projectlombok</groupId>
116               <artifactId>lombok</artifactId>
117             </exclude>
118           </excludes>
119         </configuration>
120       </plugin>
121       <plugin>
122         <artifactId>maven-failsafe-plugin</artifactId>
123       </plugin>
124       <plugin>
125         <groupId>io.fabric8</groupId>
126         <artifactId>docker-maven-plugin</artifactId>
127         <version>0.33.0</version>
128         <configuration>
129           <images>
130             <image>
131               <name>juplo/%a:%v</name>
132             </image>
133           </images>
134         </configuration>
135         <executions>
136           <execution>
137              <id>build</id>
138              <phase>package</phase>
139              <goals>
140                <goal>build</goal>
141              </goals>
142           </execution>
143         </executions>
144       </plugin>
145     </plugins>
146   </build>
147
148 </project>