blob: ec332711d370a7b7fba115a03d18c62a67f4504e [file] [log] [blame]
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +01001<?xml version="1.0"?>
Matthias Andreas Benkard0dfcd142022-03-19 13:19:20 +01002<project
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4 xmlns="http://maven.apache.org/POM/4.0.0"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +01006
7 <modelVersion>4.0.0</modelVersion>
8
9 <groupId>eu.mulk</groupId>
10 <artifactId>mulkcms2</artifactId>
Matthias Andreas Benkard77d0f7b2020-11-10 07:12:08 +010011 <version>${revision}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010012
13 <properties>
14 <maven.compiler.parameters>true</maven.compiler.parameters>
Matthias Andreas Benkard1ef241d2022-04-03 15:11:37 +020015 <maven.compiler.source>18</maven.compiler.source>
16 <maven.compiler.target>18</maven.compiler.target>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010017
18 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
20
Matthias Andreas Benkard38531522020-11-08 10:52:26 +010021 <enforced.maven-version>3.6.2</enforced.maven-version>
22
Matthias Andreas Benkard3bbba8d2020-06-13 15:40:15 +020023 <antrun-plugin.version>3.0.0</antrun-plugin.version>
Matthias Andreas Benkard55243c82020-04-13 20:49:15 +020024 <compiler-plugin.version>3.8.1</compiler-plugin.version>
Matthias Andreas Benkard0dfcd142022-03-19 13:19:20 +010025 <enforcer-plugin.version>3.0.0</enforcer-plugin.version>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +020026 <processor-plugin.version>4.2</processor-plugin.version>
Matthias Andreas Benkardf435e662022-06-05 16:27:10 +020027 <quarkus.version>2.9.2.Final</quarkus.version>
Matthias Andreas Benkard7bc7e702020-09-10 14:28:20 +020028 <resources-plugin.version>3.2.0</resources-plugin.version>
Matthias Andreas Benkard0dfcd142022-03-19 13:19:20 +010029 <spotless-plugin.version>2.19.0</spotless-plugin.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010030
Matthias Andreas Benkardff358942020-11-03 06:16:17 +010031 <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010032 <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010033
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +020034 <basic-annotations.version>0.2.0</basic-annotations.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010035 <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
Matthias Andreas Benkard0dfcd142022-03-19 13:19:20 +010036 <flexmark.version>0.64.0</flexmark.version>
37 <google.java.format.version>1.15.0</google.java.format.version>
38 <hibernate.version>5.6.5.Final</hibernate.version>
39 <hibernate-types.version>2.14.0</hibernate-types.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010040 <jakarta-jacc-api.version>1.6.1</jakarta-jacc-api.version>
Matthias Andreas Benkard0dfcd142022-03-19 13:19:20 +010041 <jna.version>5.10.0</jna.version>
42 <jsoup.version>1.14.3</jsoup.version>
Matthias Andreas Benkard1ef241d2022-04-03 15:11:37 +020043 <kotlin-annotations.version>1.6.20</kotlin-annotations.version>
44 <liquibase.version>4.9.1</liquibase.version>
Matthias Andreas Benkard0dfcd142022-03-19 13:19:20 +010045 <postgresql.version>42.3.3</postgresql.version>
46 <rome.version>1.18.0</rome.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010047 </properties>
48
49 <dependencyManagement>
50 <dependencies>
51
52 <dependency>
53 <groupId>${quarkus.platform.group-id}</groupId>
54 <artifactId>${quarkus.platform.artifact-id}</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +020055 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010056 <type>pom</type>
57 <scope>import</scope>
58 </dependency>
59
60 <!-- Hibernate PostgreSQL Extra Types -->
61 <dependency>
62 <groupId>com.vladmihalcea</groupId>
Matthias Andreas Benkard0dfcd142022-03-19 13:19:20 +010063 <artifactId>hibernate-types-55</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010064 <version>${hibernate-types.version}</version>
65 </dependency>
66
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +020067 <!-- Annotations -->
68 <dependency>
69 <groupId>pl.tlinkowski.annotation</groupId>
70 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
71 <version>${basic-annotations.version}</version>
72 <scope>provided</scope>
73 </dependency>
74
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +010075 <!-- Jsoup -->
76 <dependency>
77 <groupId>org.jsoup</groupId>
78 <artifactId>jsoup</artifactId>
79 <version>${jsoup.version}</version>
80 </dependency>
81
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +010082 <!-- FlexMark -->
83 <dependency>
84 <groupId>com.vladsch.flexmark</groupId>
85 <artifactId>flexmark-all</artifactId>
86 <version>${flexmark.version}</version>
87 </dependency>
88
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +010089 <!-- Rome -->
90 <dependency>
91 <groupId>com.rometools</groupId>
92 <artifactId>rome</artifactId>
93 <version>${rome.version}</version>
94 </dependency>
95
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010096 <!-- JNA -->
97 <dependency>
98 <groupId>net.java.dev.jna</groupId>
99 <artifactId>jna</artifactId>
100 <version>${jna.version}</version>
101 </dependency>
102
103 <!-- JACC -->
104 <dependency>
105 <groupId>jakarta.security.jacc</groupId>
106 <artifactId>jakarta.security.jacc-api</artifactId>
107 <version>${jakarta-jacc-api.version}</version>
108 </dependency>
109
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100110 <!-- Annotations -->
111 <dependency>
112 <groupId>com.google.code.findbugs</groupId>
113 <artifactId>jsr305</artifactId>
114 <version>${findbugs-jsr305.version}</version>
115 <scope>provided</scope>
116 </dependency>
Matthias Andreas Benkard1ef241d2022-04-03 15:11:37 +0200117 <dependency>
118 <groupId>org.jetbrains.kotlin</groupId>
119 <artifactId>kotlin-annotations-jvm</artifactId>
120 <version>${kotlin-annotations.version}</version>
121 <scope>provided</scope>
122 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100123
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100124 </dependencies>
125 </dependencyManagement>
126
127 <dependencies>
128
Matthias Andreas Benkardff358942020-11-03 06:16:17 +0100129 <!-- Quarkus -->
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100130 <dependency>
131 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100132 <artifactId>quarkus-agroal</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100133 </dependency>
134 <dependency>
135 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard2f931de2021-06-28 20:56:50 +0200136 <artifactId>quarkus-cache</artifactId>
137 </dependency>
138 <dependency>
139 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +0100140 <artifactId>quarkus-elytron-security-properties-file</artifactId>
141 </dependency>
142 <dependency>
143 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100144 <artifactId>quarkus-hibernate-orm-panache</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100145 </dependency>
146 <dependency>
147 <groupId>io.quarkus</groupId>
148 <artifactId>quarkus-hibernate-validator</artifactId>
149 </dependency>
150 <dependency>
151 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100152 <artifactId>quarkus-jdbc-postgresql</artifactId>
153 </dependency>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100154 <dependency>
155 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200156 <artifactId>quarkus-liquibase</artifactId>
157 </dependency>
158 <dependency>
159 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardba3e58c2020-11-01 12:58:35 +0100160 <artifactId>quarkus-mailer</artifactId>
161 </dependency>
162 <dependency>
163 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100164 <artifactId>quarkus-oidc</artifactId>
165 </dependency>
166 <dependency>
167 <groupId>io.quarkus</groupId>
168 <artifactId>quarkus-resteasy</artifactId>
169 </dependency>
170 <dependency>
171 <groupId>io.quarkus</groupId>
172 <artifactId>quarkus-resteasy-jsonb</artifactId>
173 </dependency>
174 <dependency>
175 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardc9809522022-06-05 12:31:20 +0200176 <artifactId>quarkus-resteasy-mutiny</artifactId>
177 </dependency>
178 <dependency>
179 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100180 <artifactId>quarkus-resteasy-qute</artifactId>
181 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100182 <dependency>
183 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardba3e58c2020-11-01 12:58:35 +0100184 <artifactId>quarkus-scheduler</artifactId>
185 </dependency>
186 <dependency>
187 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard46022ab2021-07-17 21:29:32 +0200188 <artifactId>quarkus-smallrye-context-propagation</artifactId>
189 </dependency>
190 <dependency>
191 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard7413c542020-10-30 10:18:46 +0100192 <artifactId>quarkus-smallrye-health</artifactId>
193 </dependency>
194 <dependency>
195 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100196 <artifactId>quarkus-smallrye-jwt</artifactId>
197 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200198 <dependency>
199 <groupId>io.quarkus</groupId>
200 <artifactId>quarkus-container-image-jib</artifactId>
201 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100202
Matthias Andreas Benkardff358942020-11-03 06:16:17 +0100203 <!-- Quarkus universe -->
204 <dependency>
Matthias Andreas Benkardab36adb2022-03-20 16:10:42 +0100205 <groupId>com.blazebit</groupId>
206 <artifactId>blaze-persistence-integration-quarkus</artifactId>
207 </dependency>
208 <dependency>
209 <groupId>com.blazebit</groupId>
210 <artifactId>blaze-persistence-integration-hibernate-5.6</artifactId>
211 <scope>runtime</scope>
212 </dependency>
213 <dependency>
214 <groupId>com.blazebit</groupId>
215 <artifactId>blaze-persistence-entity-view-processor</artifactId>
216 <scope>provided</scope>
217 </dependency>
218 <dependency>
Matthias Andreas Benkardff358942020-11-03 06:16:17 +0100219 <groupId>org.apache.camel.quarkus</groupId>
220 <artifactId>camel-quarkus-mail</artifactId>
221 </dependency>
222
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100223 <!-- JNA -->
224 <dependency>
225 <groupId>net.java.dev.jna</groupId>
226 <artifactId>jna</artifactId>
227 </dependency>
228
229 <!-- JACC -->
230 <dependency>
231 <groupId>jakarta.security.jacc</groupId>
232 <artifactId>jakarta.security.jacc-api</artifactId>
233 </dependency>
234
235 <!-- Hibernate PostgreSQL Extra Types -->
236 <dependency>
237 <groupId>com.vladmihalcea</groupId>
Matthias Andreas Benkard0dfcd142022-03-19 13:19:20 +0100238 <artifactId>hibernate-types-55</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100239 </dependency>
240
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200241 <!-- Annotations -->
242 <dependency>
243 <groupId>pl.tlinkowski.annotation</groupId>
244 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
245 <scope>provided</scope>
246 </dependency>
247
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100248 <!-- Jsoup -->
249 <dependency>
250 <groupId>org.jsoup</groupId>
251 <artifactId>jsoup</artifactId>
252 </dependency>
253
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100254 <!-- FlexMark -->
255 <dependency>
256 <groupId>com.vladsch.flexmark</groupId>
257 <artifactId>flexmark-all</artifactId>
258 </dependency>
259
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100260 <!-- Rome -->
261 <dependency>
262 <groupId>com.rometools</groupId>
263 <artifactId>rome</artifactId>
264 </dependency>
265
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100266 <!-- Annotations -->
267 <dependency>
268 <groupId>com.google.code.findbugs</groupId>
269 <artifactId>jsr305</artifactId>
270 <scope>provided</scope>
271 </dependency>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200272 <dependency>
273 <groupId>org.jetbrains.kotlin</groupId>
274 <artifactId>kotlin-annotations-jvm</artifactId>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200275 <scope>provided</scope>
276 </dependency>
277
278 <!-- Hibernate -->
279 <dependency>
280 <groupId>org.hibernate</groupId>
281 <artifactId>hibernate-jpamodelgen</artifactId>
282 <version>${hibernate.version}</version>
283 <scope>provided</scope>
284 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100285
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100286 </dependencies>
287
288 <build>
289
Matthias Andreas Benkard38531522020-11-08 10:52:26 +0100290 <pluginManagement>
291 <plugins>
292
293 <plugin>
294 <groupId>org.codehaus.mojo</groupId>
295 <artifactId>versions-maven-plugin</artifactId>
296 <configuration>
297 <generateBackupPoms>false</generateBackupPoms>
298 </configuration>
299 </plugin>
300
301 </plugins>
302 </pluginManagement>
303
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100304 <plugins>
305
306 <plugin>
307 <groupId>io.quarkus</groupId>
308 <artifactId>quarkus-maven-plugin</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +0200309 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100310 <executions>
311 <execution>
312 <goals>
313 <goal>build</goal>
314 </goals>
315 </execution>
316 </executions>
317 </plugin>
318
319 <plugin>
320 <artifactId>maven-compiler-plugin</artifactId>
321 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkardcf182b22020-12-02 19:29:45 +0100322 <configuration>
323 <parameters>true</parameters>
324 </configuration>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100325 </plugin>
326
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200327 <!-- Resources -->
328 <plugin>
329 <artifactId>maven-resources-plugin</artifactId>
330 <version>${resources-plugin.version}</version>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200331 </plugin>
332
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200333 <!-- Liquibase -->
334 <plugin>
335 <groupId>org.liquibase</groupId>
336 <artifactId>liquibase-maven-plugin</artifactId>
337 <version>${liquibase.version}</version>
338 <configuration>
339 <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
340 </configuration>
341 <dependencies>
342 <dependency>
343 <groupId>org.liquibase.ext</groupId>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200344 <artifactId>liquibase-hibernate5</artifactId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200345 <version>${liquibase.version}</version>
346 </dependency>
347 <dependency>
348 <groupId>org.hibernate</groupId>
349 <artifactId>hibernate-core</artifactId>
350 <version>${hibernate.version}</version>
351 </dependency>
352 <dependency>
353 <groupId>org.hibernate</groupId>
354 <artifactId>hibernate-entitymanager</artifactId>
355 <version>${hibernate.version}</version>
356 </dependency>
357 <dependency>
358 <groupId>org.hibernate</groupId>
359 <artifactId>hibernate-envers</artifactId>
360 <version>${hibernate.version}</version>
361 </dependency>
362 <dependency>
363 <groupId>org.postgresql</groupId>
364 <artifactId>postgresql</artifactId>
365 <version>${postgresql.version}</version>
366 </dependency>
367 </dependencies>
368 </plugin>
369
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100370 <!-- Google Java Code Formatter, for enforcing style conventions -->
371 <plugin>
372 <groupId>com.diffplug.spotless</groupId>
373 <artifactId>spotless-maven-plugin</artifactId>
374 <version>${spotless-plugin.version}</version>
375 <configuration>
376 <java>
377 <removeUnusedImports/>
378 <importOrder>
379 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
380 </importOrder>
381 <googleJavaFormat>
382 <version>${google.java.format.version}</version>
383 <style>GOOGLE</style>
384 </googleJavaFormat>
385 </java>
386 </configuration>
387 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100388
389 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200390 <artifactId>maven-antrun-plugin</artifactId>
391 <version>${antrun-plugin.version}</version>
392 <executions>
393 <execution>
394 <phase>generate-resources</phase>
395 <configuration>
396 <target>
Matthias Andreas Benkard0dfcd142022-03-19 13:19:20 +0100397 <ant target="web.resources"/>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200398 </target>
399 </configuration>
400 <goals>
401 <goal>run</goal>
402 </goals>
403 </execution>
404 </executions>
405 </plugin>
406
Matthias Andreas Benkard38531522020-11-08 10:52:26 +0100407 <plugin>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-enforcer-plugin</artifactId>
410 <version>${enforcer-plugin.version}</version>
411 <executions>
412 <execution>
413 <id>enforce-maven</id>
414 <goals>
415 <goal>enforce</goal>
416 </goals>
417 <configuration>
418 <rules>
419 <requireMavenVersion>
420 <version>${enforced.maven-version}</version>
421 </requireMavenVersion>
422 </rules>
423 </configuration>
424 </execution>
425 </executions>
426 </plugin>
427
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100428 </plugins>
429
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100430 <resources>
431 <resource>
Matthias Andreas Benkardd383b6a2022-05-14 20:43:57 +0200432 <targetPath>META-INF/resources</targetPath>
433 <directory>${project.basedir}/src/main/resources/META-INF/resources/dist</directory>
434 <filtering>false</filtering>
435 </resource>
436 <resource>
437 <directory>${project.basedir}/src/main/resources</directory>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100438 <excludes>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200439 <exclude>META-INF/resources/.cache</exclude>
440 <exclude>META-INF/resources/.eslintrc.js</exclude>
441 <exclude>META-INF/resources/.flowconfig</exclude>
Matthias Andreas Benkard89c25ea2020-06-15 21:01:01 +0200442 <exclude>META-INF/resources/.parcel-cache/**/*</exclude>
Matthias Andreas Benkardd383b6a2022-05-14 20:43:57 +0200443 <exclude>META-INF/resources/build/**/*</exclude>
444 <exclude>META-INF/resources/cms2/fonts/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200445 <exclude>META-INF/resources/dist/**/*</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100446 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200447 <exclude>META-INF/resources/web_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100448 <exclude>META-INF/resources/package.json</exclude>
449 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100450 </excludes>
451 <filtering>false</filtering>
452 </resource>
453 </resources>
454
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100455 </build>
456
457 <profiles>
458
459 <profile>
460
461 <id>native</id>
462
463 <activation>
464 <property>
465 <name>native</name>
466 </property>
467 </activation>
468
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100469 <properties>
470 <quarkus.package.type>native</quarkus.package.type>
471 </properties>
472
473 </profile>
474
475 </profiles>
476
477</project>