-
Notifications
You must be signed in to change notification settings - Fork 2
/
pom.xml
472 lines (454 loc) · 22.6 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
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.redlink.more</groupId>
<artifactId>studymanager-parent</artifactId>
<version>1.0.${revision}${sha1}${changelist}</version>
<packaging>pom</packaging>
<modules>
<module>studymanager</module>
<module>studymanager-core</module>
<module>studymanager-observation</module>
<module>studymanager-intervention</module>
</modules>
<name>MORE Study Manager</name>
<description>MORE Study Manager Backend</description>
<url>https://github.com/MORE-Platform/more-studymanager-backend</url>
<inceptionYear>2022</inceptionYear>
<organization>
<name>Redlink GmbH</name>
<url>https://redlink.at/</url>
</organization>
<properties>
<revision>0</revision>
<changelist>-SNAPSHOT</changelist>
<sha1/>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>17</java.version>
<spring-boot.version>3.3.3</spring-boot.version>
<testcontainers.version>1.20.1</testcontainers.version>
<docker.namespace>more-project</docker.namespace>
<start-class>io.redlink.more.studymanager.Application</start-class>
<maven.install.skip>false</maven.install.skip>
</properties>
<scm>
<connection>https://github.com/MORE-Platform/more-studymanager-backend.git</connection>
<developerConnection>[email protected]:MORE-Platform/more-studymanager-backend.git</developerConnection>
<url>https://github.com/MORE-Platform/more-studymanager-backend</url>
<tag>HEAD</tag>
</scm>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten-clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<release>${java.version}</release>
<parameters>true</parameters>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<skip>${maven.install.skip}</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<executions>
<execution>
<id>spring-boot:repackage</id>
<phase>package</phase>
<goals><goal>repackage</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.4.0</version>
<executions>
<execution>
<id>generate-third-party</id>
<goals>
<goal>add-third-party</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<fileTemplate>/org/codehaus/mojo/license/third-party-file-groupByLicense.ftl</fileTemplate>
<failOnBlacklist>false</failOnBlacklist>
</configuration>
</execution>
<execution>
<id>validate-third-party</id>
<goals>
<goal>add-third-party</goal>
</goals>
<phase>compile</phase>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
<failOnBlacklist>true</failOnBlacklist>
</configuration>
</execution>
</executions>
<configuration>
<excludedGroups>\Q${project.groupId}\E</excludedGroups>
<useMissingFile>true</useMissingFile>
<failOnMissing>true</failOnMissing>
<includedLicenses>
<includedLicense>Apache License, Version 2.0</includedLicense>
<includedLicense>Common Development and Distribution License 1.0</includedLicense>
<includedLicense>Common Development and Distribution License 1.1</includedLicense>
<includedLicense>Creative Commons Attribution 3.0 Unported</includedLicense>
<includedLicense>Creative Commons Attribution 4.0 Unported</includedLicense>
<includedLicense>Creative Commons Zero</includedLicense>
<includedLicense>Do What The F*ck You Want To Public License</includedLicense>
<includedLicense>Eclipse Public License - 1.0</includedLicense>
<includedLicense>Eclipse Public License - 2.0</includedLicense>
<includedLicense>GNU General Public License v2.0 w/Classpath exception</includedLicense>
<includedLicense>GNU Lesser General Public License v2.1 or later</includedLicense>
<includedLicense>GNU Lesser General Public License v3.0 or later</includedLicense>
<includedLicense>Go License</includedLicense>
<includedLicense>ISC License</includedLicense>
<includedLicense>MIT License</includedLicense>
<includedLicense>MIT No Attribution</includedLicense>
<includedLicense>Python License 2.0</includedLicense>
<includedLicense>The 2-Clause BSD License</includedLicense>
<includedLicense>The 3-Clause BSD License</includedLicense>
<includedLicense>The Unlicense</includedLicense>
<includedLicense>zlib License</includedLicense>
</includedLicenses>
<licenseMerges>
<licenseMerge>
Apache License, Version 2.0
|Apache-2.0
|Apache License Version 2.0|Apache License 2.0|ASL, version 2|Apache 2|Apache 2.0
|Apache 2.0 license
|Apache License|Apache Software Licenses
|The Apache Software License, Version 2.0|Apache License v2|Apache License v2.0
|The Apache License, Version 2.0
|Apache License, version 2.0
</licenseMerge>
<licenseMerge>
Common Development and Distribution License 1.0
|CDDL-1.0
|CDDL 1.0|CDDL, v1.0|CDDL 1.0 license
|Common Development and Distribution License (CDDL) v1.0
</licenseMerge>
<licenseMerge>
Common Development and Distribution License 1.1
|CDDL-1.1
|CDDL 1.1
|CDDL License
|Common Development and Distribution License (CDDL) v1.1
|CDDL or GPLv2 with exceptions|CDDL + GPLv2 with classpath exception|CDDL/GPLv2+CE
</licenseMerge>
<licenseMerge>
Creative Commons Attribution 3.0 Unported
|CC-BY-3.0
|CC BY-SA 3.0
|Creative Commons 3.0 BY-SA
</licenseMerge>
<licenseMerge>
Creative Commons Attribution 4.0 Unported
|CC-BY-4.0
</licenseMerge>
<licenseMerge>
Creative Commons Zero
|CC0-1.0
|CC0
|Public Domain, per Creative Commons CC0
</licenseMerge>
<licenseMerge>
Do What The F*ck You Want To Public License
|WTFPL
|WTF Public License
</licenseMerge>
<licenseMerge>
Eclipse Public License - 1.0
|EPL-1.0
|Eclipse Public License 1.0
|Eclipse Public License Version 1.0|Eclipse Public License, Version 1.0
|Eclipse Public License - v 1.0
|EPL 1.0 license
</licenseMerge>
<licenseMerge>
Eclipse Public License - 2.0
|EPL-2.0
|EPL 2.0|Eclipse Public License - v 2.0
|Eclipse Public License 2.0
|Eclipse Public License v. 2.0
|Eclipse Public License v2.0
</licenseMerge>
<licenseMerge>
GNU General Public License v2.0 w/Classpath exception
|GPL-2.0-with-classpath-exception
|GPL 2.0 with Classpath Exception
|GNU General Public License, version 2 with the GNU Classpath Exception
|GPL2 w/ CPE
</licenseMerge>
<licenseMerge>
GNU Lesser General Public License v2.1 or later
|LGPL-2.1-or-later|LGPL 2.1
|GNU Lesser General Public License, Version 2.1
|GNU Lesser General Public License, version 2.1
|LGPL, v2.1 or later|LGPL, version 2.1|LGPL 2.1 license
|GNU Library General Public License v2.1 or later
|GNU Lesser General Public License (LGPL), Version 2.1
|GNU LESSER GENERAL PUBLIC LICENSE, Version 2.1
|GNU Lesser General Public License (LGPL), version 2.1 or later
</licenseMerge>
<licenseMerge>
GNU Lesser General Public License v3.0 or later
|LGPL-3.0
|GNU Lesser General Public License v3.0
|LGPL 3.0|LGPL 3.0 license
</licenseMerge>
<licenseMerge>
Go License
</licenseMerge>
<licenseMerge>
ISC License
</licenseMerge>
<licenseMerge>
MIT License
|MIT
|MIT License (MIT)|MIT license
|The MIT License
</licenseMerge>
<licenseMerge>
MIT No Attribution
|MIT-0
</licenseMerge>
<licenseMerge>
Mozilla Public License 1.1
|MPL-1.1
|MPL 1.1
</licenseMerge>
<licenseMerge>
Python License 2.0
</licenseMerge>
<licenseMerge>
The 2-Clause BSD License
|BSD-2-Clause
|FreeBSD License
</licenseMerge>
<licenseMerge>
The 3-Clause BSD License
|BSD-3-Clause
|BSD 3-Clause "New" or "Revised" License
|BSD License|BSD License 3|BSD New license
|BSD|BSD 3-Clause License|BSD 3-clause
|New BSD License|New BSD license|The New BSD License
|The BSD License
|Eclipse Distribution License 1.0
|EDL 1.0
|Eclipse Distribution License - v 1.0
</licenseMerge>
<licenseMerge>
The Unlicense
</licenseMerge>
<licenseMerge>
zlib License
</licenseMerge>
</licenseMerges>
</configuration>
</plugin>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>3.4.3</version>
<executions>
<execution>
<id>jib-deploy</id>
<phase>deploy</phase>
<goals><goal>build</goal></goals>
<configuration>
<from>
<platforms>
<platform>
<architecture>amd64</architecture>
<os>linux</os>
</platform>
<platform>
<architecture>arm64</architecture>
<os>linux</os>
</platform>
</platforms>
</from>
</configuration>
</execution>
<execution>
<id>jib-install</id>
<phase>install</phase>
<goals><goal>dockerBuild</goal></goals>
</execution>
<execution>
<id>jib-package</id>
<phase>package</phase>
<goals><goal>buildTar</goal></goals>
</execution>
</executions>
<configuration>
<from>
<image>eclipse-temurin:${java.version}-jre</image>
</from>
<to>
<image>${docker.namespace}/more-study-manager-backend:${project.version}</image>
</to>
<container>
<user>nobody:root</user>
<ports>
<port>8080</port>
</ports>
<labels>
<org.opencontainers.image.title>${project.name}</org.opencontainers.image.title>
<org.opencontainers.image.description>${project.description}</org.opencontainers.image.description>
<org.opencontainers.image.url>${project.url}</org.opencontainers.image.url>
<org.opencontainers.image.source>${project.scm.url}</org.opencontainers.image.source>
<org.opencontainers.image.version>${project.version}</org.opencontainers.image.version>
<org.opencontainers.image.created>${maven.build.timestamp}</org.opencontainers.image.created>
<!-- org.opencontainers.image.licenses/ -->
</labels>
<environment>
<POSTGRES_HOST>postgres</POSTGRES_HOST>
<ELASTIC_HOST>elastic</ELASTIC_HOST>
<SPRING_PROFILES_ACTIVE>docker</SPRING_PROFILES_ACTIVE>
</environment>
</container>
<outputPaths>
<tar>${project.build.directory}/${project.artifactId}-${project.version}.docker.tar</tar>
<imageJson>${project.build.directory}/${project.artifactId}-${project.version}.json</imageJson>
</outputPaths>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>${testcontainers.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>co.elastic.clients</groupId>
<artifactId>elasticsearch-java</artifactId>
<version>8.14.3</version>
</dependency>
<dependency>
<groupId>com.google.firebase</groupId>
<artifactId>firebase-admin</artifactId>
<version>9.3.0</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.14</version>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artifactId>
<version>0.10.1</version>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.10.2</version>
</dependency>
<dependency>
<groupId>jakarta.json</groupId>
<artifactId>jakarta.json-api</artifactId>
<version>2.1.3</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.2.1-jre</version>
</dependency>
<dependency>
<groupId>net.sf.biweekly</groupId>
<artifactId>biweekly</artifactId>
<version>0.6.8</version>
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<profile>
<id>quick</id>
<activation>
<property>
<name>quick</name>
</property>
</activation>
<properties>
<skipTests>true</skipTests>
<skipITs>true</skipITs>
</properties>
</profile>
</profiles>
</project>