WIP:sharding-in-implementation
[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.boot</groupId>
67       <artifactId>spring-boot-starter-test</artifactId>
68       <scope>test</scope>
69     </dependency>
70     <dependency>
71       <groupId>pl.rzrz</groupId>
72       <artifactId>assertj-reactor</artifactId>
73       <version>${assertj-reactor.version}</version>
74       <scope>test</scope>
75     </dependency>
76     <dependency>
77       <groupId>org.mockito</groupId>
78       <artifactId>mockito-core</artifactId>
79       <scope>test</scope>
80     </dependency>
81     <dependency>
82       <groupId>org.testcontainers</groupId>
83       <artifactId>testcontainers</artifactId>
84       <scope>test</scope>
85     </dependency>
86     <dependency>
87       <groupId>org.testcontainers</groupId>
88       <artifactId>junit-jupiter</artifactId>
89       <scope>test</scope>
90     </dependency>
91     <dependency>
92       <groupId>org.awaitility</groupId>
93       <artifactId>awaitility</artifactId>
94       <scope>test</scope>
95     </dependency>
96   </dependencies>
97
98   <build>
99     <plugins>
100       <plugin>
101         <groupId>org.springframework.boot</groupId>
102         <artifactId>spring-boot-maven-plugin</artifactId>
103         <configuration>
104           <excludes>
105             <exclude>
106               <groupId>org.projectlombok</groupId>
107               <artifactId>lombok</artifactId>
108             </exclude>
109           </excludes>
110         </configuration>
111       </plugin>
112       <plugin>
113         <artifactId>maven-failsafe-plugin</artifactId>
114       </plugin>
115       <plugin>
116         <groupId>io.fabric8</groupId>
117         <artifactId>docker-maven-plugin</artifactId>
118         <version>0.33.0</version>
119         <configuration>
120           <images>
121             <image>
122               <name>juplo/%a:%v</name>
123             </image>
124           </images>
125         </configuration>
126         <executions>
127           <execution>
128              <id>build</id>
129              <phase>package</phase>
130              <goals>
131                <goal>build</goal>
132              </goals>
133           </execution>
134         </executions>
135       </plugin>
136     </plugins>
137   </build>
138
139 </project>