1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <parent >
6+ <artifactId >kafka-ui</artifactId >
7+ <groupId >com.provectus</groupId >
8+ <version >0.0.10-SNAPSHOT</version >
9+ </parent >
10+ <modelVersion >4.0.0</modelVersion >
11+
12+ <artifactId >kafka-ui-api</artifactId >
13+
14+ <dependencyManagement >
15+ <dependencies >
16+ <dependency >
17+ <groupId >org.springframework.boot</groupId >
18+ <artifactId >spring-boot-dependencies</artifactId >
19+ <version >${spring-boot.version}</version >
20+ <type >pom</type >
21+ <scope >import</scope >
22+ </dependency >
23+ </dependencies >
24+ </dependencyManagement >
25+
26+ <dependencies >
27+ <dependency >
28+ <groupId >org.springframework.boot</groupId >
29+ <artifactId >spring-boot-starter-webflux</artifactId >
30+ <exclusions >
31+ <exclusion >
32+ <groupId >org.springframework.boot</groupId >
33+ <artifactId >spring-boot-starter-logging</artifactId >
34+ </exclusion >
35+ </exclusions >
36+ </dependency >
37+ <dependency >
38+ <groupId >org.springframework.boot</groupId >
39+ <artifactId >spring-boot-starter-security</artifactId >
40+ </dependency >
41+ <dependency >
42+ <groupId >org.springframework.security</groupId >
43+ <artifactId >spring-security-oauth2-client</artifactId >
44+ </dependency >
45+ <dependency >
46+ <groupId >com.provectus</groupId >
47+ <artifactId >kafka-ui-contract</artifactId >
48+ <version >${project.version}</version >
49+ </dependency >
50+ <dependency >
51+ <groupId >org.springdoc</groupId >
52+ <artifactId >springdoc-openapi-webflux-ui</artifactId >
53+ <version >${springdoc-openapi-webflux-ui.version}</version >
54+ </dependency >
55+ <dependency >
56+ <groupId >org.apache.kafka</groupId >
57+ <artifactId >kafka-clients</artifactId >
58+ <version >${kafka-clients.version}</version >
59+ </dependency >
60+ <dependency >
61+ <groupId >org.apache.kafka</groupId >
62+ <artifactId >kafka_2.13</artifactId >
63+ <version >${kafka.version}</version >
64+ </dependency >
65+ <dependency >
66+ <groupId >com.101tec</groupId >
67+ <artifactId >zkclient</artifactId >
68+ <version >${zkclient.version}</version >
69+ </dependency >
70+ <dependency >
71+ <groupId >org.projectlombok</groupId >
72+ <artifactId >lombok</artifactId >
73+ <scope >provided</scope >
74+ </dependency >
75+ <dependency >
76+ <groupId >org.mapstruct</groupId >
77+ <artifactId >mapstruct</artifactId >
78+ <version >${org.mapstruct.version}</version >
79+ </dependency >
80+ <dependency >
81+ <groupId >io.confluent</groupId >
82+ <artifactId >kafka-schema-registry-client</artifactId >
83+ <version >${confluent.version}</version >
84+ </dependency >
85+ <dependency >
86+ <groupId >io.confluent</groupId >
87+ <artifactId >kafka-avro-serializer</artifactId >
88+ <version >${confluent.version}</version >
89+ </dependency >
90+ <dependency >
91+ <groupId >io.confluent</groupId >
92+ <artifactId >kafka-protobuf-serializer</artifactId >
93+ <version >${confluent.version}</version >
94+ </dependency >
95+
96+ <dependency >
97+ <groupId >org.apache.avro</groupId >
98+ <artifactId >avro</artifactId >
99+ <version >${avro.version}</version >
100+ </dependency >
101+
102+ <dependency >
103+ <groupId >org.springframework.boot</groupId >
104+ <artifactId >spring-boot-starter-log4j2</artifactId >
105+ </dependency >
106+
107+ <dependency >
108+ <groupId >org.springframework.boot</groupId >
109+ <artifactId >spring-boot-starter-test</artifactId >
110+ <scope >test</scope >
111+ </dependency >
112+ <dependency >
113+ <groupId >io.projectreactor</groupId >
114+ <artifactId >reactor-test</artifactId >
115+ <scope >test</scope >
116+ </dependency >
117+ <dependency >
118+ <groupId >org.apache.commons</groupId >
119+ <artifactId >commons-pool2</artifactId >
120+ <version >${apache.commons.version}</version >
121+ </dependency >
122+ <dependency >
123+ <groupId >org.testcontainers</groupId >
124+ <artifactId >testcontainers</artifactId >
125+ <version >${test.containers.version}</version >
126+ <scope >test</scope >
127+ </dependency >
128+ <dependency >
129+ <groupId >org.testcontainers</groupId >
130+ <artifactId >kafka</artifactId >
131+ <version >${test.containers.version}</version >
132+ <scope >test</scope >
133+ </dependency >
134+ <dependency >
135+ <groupId >org.testcontainers</groupId >
136+ <artifactId >junit-jupiter</artifactId >
137+ <version >${test.containers.version}</version >
138+ <scope >test</scope >
139+ </dependency >
140+ <dependency >
141+ <groupId >org.junit.jupiter</groupId >
142+ <artifactId >junit-jupiter-engine</artifactId >
143+ <version >${junit-jupiter-engine.version}</version >
144+ <scope >test</scope >
145+ </dependency >
146+ </dependencies >
147+
148+ <build >
149+ <plugins >
150+ <plugin >
151+ <groupId >org.springframework.boot</groupId >
152+ <artifactId >spring-boot-maven-plugin</artifactId >
153+ <version >${spring-boot.version}</version >
154+ <executions >
155+ <execution >
156+ <goals >
157+ <goal >repackage</goal >
158+ </goals >
159+ </execution >
160+ </executions >
161+ </plugin >
162+ <plugin >
163+ <groupId >org.apache.maven.plugins</groupId >
164+ <artifactId >maven-compiler-plugin</artifactId >
165+ <version >${maven-compiler-plugin.version}</version >
166+ <configuration >
167+ <source >13</source >
168+ <target >13</target >
169+ <annotationProcessorPaths >
170+ <path >
171+ <groupId >org.mapstruct</groupId >
172+ <artifactId >mapstruct-processor</artifactId >
173+ <version >${org.mapstruct.version}</version >
174+ </path >
175+ <path >
176+ <groupId >org.projectlombok</groupId >
177+ <artifactId >lombok</artifactId >
178+ <version >${org.projectlombok.version}</version >
179+ </path >
180+ <path >
181+ <groupId >org.springframework.boot</groupId >
182+ <artifactId >spring-boot-configuration-processor</artifactId >
183+ <version >${spring-boot.version}</version >
184+ </path >
185+ </annotationProcessorPaths >
186+ </configuration >
187+ </plugin >
188+ </plugins >
189+ </build >
190+
191+ <profiles >
192+ <profile >
193+ <id >prod</id >
194+ <build >
195+ <plugins >
196+ <plugin >
197+ <artifactId >maven-resources-plugin</artifactId >
198+ <executions >
199+ <execution >
200+ <id >copy-resources</id >
201+ <phase >process-classes</phase >
202+ <goals >
203+ <goal >copy-resources</goal >
204+ </goals >
205+ <configuration >
206+ <outputDirectory >${basedir}/target/classes/static</outputDirectory >
207+ <resources >
208+ <resource >
209+ <directory >../kafka-ui-react-app/build</directory >
210+ </resource >
211+ </resources >
212+ </configuration >
213+ </execution >
214+ </executions >
215+ </plugin >
216+ <plugin >
217+ <groupId >com.github.eirslett</groupId >
218+ <artifactId >frontend-maven-plugin</artifactId >
219+ <version >${frontend-maven-plugin.version}</version >
220+ <configuration >
221+ <workingDirectory >../kafka-ui-react-app</workingDirectory >
222+ </configuration >
223+ <executions >
224+ <execution >
225+ <id >install node and npm</id >
226+ <goals >
227+ <goal >install-node-and-npm</goal >
228+ </goals >
229+ <configuration >
230+ <nodeVersion >${node.version}</nodeVersion >
231+ </configuration >
232+ </execution >
233+ <execution >
234+ <id >npm install</id >
235+ <goals >
236+ <goal >npm</goal >
237+ </goals >
238+ <configuration >
239+ <arguments >install</arguments >
240+ </configuration >
241+ </execution >
242+ <execution >
243+ <id >npm run build</id >
244+ <goals >
245+ <goal >npm</goal >
246+ </goals >
247+ <configuration >
248+ <arguments >run build</arguments >
249+ </configuration >
250+ </execution >
251+ </executions >
252+ </plugin >
253+ <plugin >
254+ <groupId >com.spotify</groupId >
255+ <artifactId >dockerfile-maven-plugin</artifactId >
256+ <version >${dockerfile-maven-plugin.version}</version >
257+ <configuration >
258+ <skipPush >true</skipPush >
259+ </configuration >
260+ <executions >
261+ <execution >
262+ <id >default</id >
263+ <phase >package</phase >
264+ <goals >
265+ <goal >build</goal >
266+ </goals >
267+ <configuration >
268+ <tag >${git.revision}</tag >
269+ <repository >kafka-ui</repository >
270+ <buildArgs >
271+ <JAR_FILE >${project.build.finalName}.jar</JAR_FILE >
272+ <JAR_NAME >${project.artifactId}.jar</JAR_NAME >
273+ </buildArgs >
274+ </configuration >
275+ </execution >
276+ </executions >
277+ </plugin >
278+ </plugins >
279+ </build >
280+ </profile >
281+ </profiles >
282+
283+
284+ </project >
0 commit comments