-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
364 lines (345 loc) · 16.3 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jesperancinha.logistics</groupId>
<artifactId>bridge-logistics</artifactId>
<version>2.0.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jesperancinha.plugins</groupId>
<artifactId>omni-coveragereporter-maven-plugin</artifactId>
<version>${omni-coveragereporter-maven-plugin.version}</version>
<configuration>
<fetchBranchNameFromEnv>true</fetchBranchNameFromEnv>
<useCoverallsCount>false</useCoverallsCount>
<extraSourceFolders>
<param>${project.basedir}/bl-bridge-server/bl-bridge-humidity-mqtt</param>
<param>${project.basedir}/bl-bridge-server/bl-bridge-temperature-coap</param>
<param>${project.basedir}/bl-simulation-data</param>
<param>${project.basedir}/bl-demo-server</param>
<param>${project.basedir}</param>
</extraSourceFolders>
<extraReportFolders>
<param>${project.basedir}/bl-bridge-server/bl-bridge-humidity-mqtt/coverage</param>
<param>${project.basedir}/bl-bridge-server/bl-bridge-temperature-coap/coverage</param>
<param>${project.basedir}</param>
</extraReportFolders>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>lcov</id>
<build>
<plugins>
<plugin>
<groupId>org.jesperancinha.plugins</groupId>
<artifactId>omni-coveragereporter-maven-plugin</artifactId>
<version>${omni-coveragereporter-maven-plugin.version}</version>
<configuration>
<useCoverallsCount>false</useCoverallsCount>
<extraSourceFolders>
<param>${project.basedir}/bl-bridge-server/bl-bridge-humidity-mqtt</param>
<param>${project.basedir}/bl-bridge-server/bl-bridge-temperature-coap</param>
<param>${project.basedir}/bl-simulation-data</param>
<param>${project.basedir}/bl-demo-server</param>
<param>${project.basedir}</param>
</extraSourceFolders>
<extraReportFolders>
<param>${project.basedir}/bl-bridge-server/bl-bridge-humidity-mqtt/coverage</param>
<param>${project.basedir}/bl-bridge-server/bl-bridge-temperature-coap/coverage</param>
<param>${project.basedir}</param>
</extraReportFolders>
<reportRejectList>
<param>clover.xml</param>
</reportRejectList>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>clover</id>
<build>
<plugins>
<plugin>
<groupId>org.jesperancinha.plugins</groupId>
<artifactId>omni-coveragereporter-maven-plugin</artifactId>
<version>${omni-coveragereporter-maven-plugin.version}</version>
<configuration>
<useCoverallsCount>false</useCoverallsCount>
<extraSourceFolders>
<param>${project.basedir}/bl-bridge-server/bl-bridge-humidity-mqtt</param>
<param>${project.basedir}/bl-bridge-server/bl-bridge-temperature-coap</param>
<param>${project.basedir}/bl-simulation-data</param>
<param>${project.basedir}/bl-demo-server</param>
<param>${project.basedir}</param>
</extraSourceFolders>
<extraReportFolders>
<param>${project.basedir}/bl-bridge-server/bl-bridge-humidity-mqtt/coverage</param>
<param>${project.basedir}/bl-bridge-server/bl-bridge-temperature-coap/coverage</param>
<param>${project.basedir}</param>
</extraReportFolders>
<reportRejectList>
<param>lcov.info</param>
</reportRejectList>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<packaging>pom</packaging>
<name>Bridge Logistics Parent</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>21</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.version>3.13.0</maven.compiler.version>
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
<maven-failsafe-plugin.version>3.5.2</maven-failsafe-plugin.version>
<maven-war-plugin.version>3.2.3</maven-war-plugin.version>
<kotlin.version>2.1.0</kotlin.version>
<spring-boot-starter-parent.version>3.3.5</spring-boot-starter-parent.version>
<spring-rabbit-test.version>3.2.1</spring-rabbit-test.version>
<activemq.version>6.1.4</activemq.version>
<amqp-client.version>5.7.1</amqp-client.version>
<combinatoricslib3.version>3.4.0</combinatoricslib3.version>
<javaee-api.version>8.0.1</javaee-api.version>
<slf4j-api.version>2.0.16</slf4j-api.version>
<postgresql.version>42.7.4</postgresql.version>
<kotest.version>5.9.1</kotest.version>
<springmockk.version>4.0.2</springmockk.version>
<kotest-extensions-spring.version>1.3.0</kotest-extensions-spring.version>
<mockk.version>1.13.14</mockk.version>
<failOnMissingWebXml>false</failOnMissingWebXml>
<arquillian-bom.version>1.5.0.Final</arquillian-bom.version>
<commons-io.version>1.3.2</commons-io.version>
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
<jaxb-api.version>2.3.1</jaxb-api.version>
<h2.version>2.3.232</h2.version>
<gson.version>2.11.0</gson.version>
<build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version>
<testcontainers.version>1.20.4</testcontainers.version>
<jdbc.version>1.20.4</jdbc.version>
<maven-assembly-plugin.version>3.5.0</maven-assembly-plugin.version>
<omni-coveragereporter-maven-plugin.version>0.4.4</omni-coveragereporter-maven-plugin.version>
<kotlinx-coroutines-debug.version>1.10.1</kotlinx-coroutines-debug.version>
<!-- Swagger -->
<springdoc-openapi-starter-webmvc-ui.version>2.6.0</springdoc-openapi-starter-webmvc-ui.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jesperancinha.logistics</groupId>
<artifactId>bl-domain-repository</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>${spring-boot-starter-parent.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>${springdoc-openapi-starter-webmvc-ui.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
<version>${spring-boot-starter-parent.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.amqp</groupId>
<artifactId>spring-rabbit-test</artifactId>
<version>${spring-rabbit-test.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${spring-boot-starter-parent.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql.version}</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-client</artifactId>
<version>${activemq.version}</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-broker</artifactId>
<version>${activemq.version}</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-kahadb-store</artifactId>
<version>${activemq.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-api.version}</version>
</dependency>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>${javaee-api.version}</version>
</dependency>
<dependency>
<groupId>com.github.dpaukov</groupId>
<artifactId>combinatoricslib3</artifactId>
<version>${combinatoricslib3.version}</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>io.mockk</groupId>
<artifactId>mockk</artifactId>
<version>${mockk.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.kotest.extensions</groupId>
<artifactId>kotest-extensions-spring</artifactId>
<version>${kotest-extensions-spring.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.kotest</groupId>
<artifactId>kotest-runner-junit5-jvm</artifactId>
<version>${kotest.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.kotest</groupId>
<artifactId>kotest-framework-api-jvm</artifactId>
<version>${kotest.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.kotest</groupId>
<artifactId>kotest-runner-junit5</artifactId>
<version>${kotest.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.kotest</groupId>
<artifactId>kotest-assertions-core-jvm</artifactId>
<version>${kotest.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.ninja-squad</groupId>
<artifactId>springmockk</artifactId>
<version>${springmockk.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>postgresql</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>jdbc</artifactId>
<version>${jdbc.version}</version>
<scope>test</scope>
</dependency>
<!-- This Dependency is added as a workaround for the following issue -->
<!--- https://github.com/Kotlin/kotlinx.coroutines/issues/3334 -->
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-debug</artifactId>
<version>${kotlinx-coroutines-debug.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-bom</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</dependencyManagement>
<modules>
<module>bl-central-server</module>
</modules>
</project>