blob: bacda3e6ac7f2252f33ea92d3dfc3cc339f177a3 [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 Benkard0925ce22022-05-13 21:54:17 +020027 <quarkus.version>2.9.0.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>
176 <artifactId>quarkus-resteasy-qute</artifactId>
177 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100178 <dependency>
179 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardba3e58c2020-11-01 12:58:35 +0100180 <artifactId>quarkus-scheduler</artifactId>
181 </dependency>
182 <dependency>
183 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard46022ab2021-07-17 21:29:32 +0200184 <artifactId>quarkus-smallrye-context-propagation</artifactId>
185 </dependency>
186 <dependency>
187 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard7413c542020-10-30 10:18:46 +0100188 <artifactId>quarkus-smallrye-health</artifactId>
189 </dependency>
190 <dependency>
191 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100192 <artifactId>quarkus-smallrye-jwt</artifactId>
193 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200194 <dependency>
195 <groupId>io.quarkus</groupId>
196 <artifactId>quarkus-container-image-jib</artifactId>
197 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100198
Matthias Andreas Benkardff358942020-11-03 06:16:17 +0100199 <!-- Quarkus universe -->
200 <dependency>
Matthias Andreas Benkardab36adb2022-03-20 16:10:42 +0100201 <groupId>com.blazebit</groupId>
202 <artifactId>blaze-persistence-integration-quarkus</artifactId>
203 </dependency>
204 <dependency>
205 <groupId>com.blazebit</groupId>
206 <artifactId>blaze-persistence-integration-hibernate-5.6</artifactId>
207 <scope>runtime</scope>
208 </dependency>
209 <dependency>
210 <groupId>com.blazebit</groupId>
211 <artifactId>blaze-persistence-entity-view-processor</artifactId>
212 <scope>provided</scope>
213 </dependency>
214 <dependency>
Matthias Andreas Benkardff358942020-11-03 06:16:17 +0100215 <groupId>org.apache.camel.quarkus</groupId>
216 <artifactId>camel-quarkus-mail</artifactId>
217 </dependency>
218
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100219 <!-- JNA -->
220 <dependency>
221 <groupId>net.java.dev.jna</groupId>
222 <artifactId>jna</artifactId>
223 </dependency>
224
225 <!-- JACC -->
226 <dependency>
227 <groupId>jakarta.security.jacc</groupId>
228 <artifactId>jakarta.security.jacc-api</artifactId>
229 </dependency>
230
231 <!-- Hibernate PostgreSQL Extra Types -->
232 <dependency>
233 <groupId>com.vladmihalcea</groupId>
Matthias Andreas Benkard0dfcd142022-03-19 13:19:20 +0100234 <artifactId>hibernate-types-55</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100235 </dependency>
236
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200237 <!-- Annotations -->
238 <dependency>
239 <groupId>pl.tlinkowski.annotation</groupId>
240 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
241 <scope>provided</scope>
242 </dependency>
243
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100244 <!-- Jsoup -->
245 <dependency>
246 <groupId>org.jsoup</groupId>
247 <artifactId>jsoup</artifactId>
248 </dependency>
249
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100250 <!-- FlexMark -->
251 <dependency>
252 <groupId>com.vladsch.flexmark</groupId>
253 <artifactId>flexmark-all</artifactId>
254 </dependency>
255
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100256 <!-- Rome -->
257 <dependency>
258 <groupId>com.rometools</groupId>
259 <artifactId>rome</artifactId>
260 </dependency>
261
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100262 <!-- Annotations -->
263 <dependency>
264 <groupId>com.google.code.findbugs</groupId>
265 <artifactId>jsr305</artifactId>
266 <scope>provided</scope>
267 </dependency>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200268 <dependency>
269 <groupId>org.jetbrains.kotlin</groupId>
270 <artifactId>kotlin-annotations-jvm</artifactId>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200271 <scope>provided</scope>
272 </dependency>
273
274 <!-- Hibernate -->
275 <dependency>
276 <groupId>org.hibernate</groupId>
277 <artifactId>hibernate-jpamodelgen</artifactId>
278 <version>${hibernate.version}</version>
279 <scope>provided</scope>
280 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100281
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100282 </dependencies>
283
284 <build>
285
Matthias Andreas Benkard38531522020-11-08 10:52:26 +0100286 <pluginManagement>
287 <plugins>
288
289 <plugin>
290 <groupId>org.codehaus.mojo</groupId>
291 <artifactId>versions-maven-plugin</artifactId>
292 <configuration>
293 <generateBackupPoms>false</generateBackupPoms>
294 </configuration>
295 </plugin>
296
297 </plugins>
298 </pluginManagement>
299
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100300 <plugins>
301
302 <plugin>
303 <groupId>io.quarkus</groupId>
304 <artifactId>quarkus-maven-plugin</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +0200305 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100306 <executions>
307 <execution>
308 <goals>
309 <goal>build</goal>
310 </goals>
311 </execution>
312 </executions>
313 </plugin>
314
315 <plugin>
316 <artifactId>maven-compiler-plugin</artifactId>
317 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkardcf182b22020-12-02 19:29:45 +0100318 <configuration>
319 <parameters>true</parameters>
320 </configuration>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100321 </plugin>
322
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200323 <!-- Resources -->
324 <plugin>
325 <artifactId>maven-resources-plugin</artifactId>
326 <version>${resources-plugin.version}</version>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200327 </plugin>
328
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200329 <!-- Liquibase -->
330 <plugin>
331 <groupId>org.liquibase</groupId>
332 <artifactId>liquibase-maven-plugin</artifactId>
333 <version>${liquibase.version}</version>
334 <configuration>
335 <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
336 </configuration>
337 <dependencies>
338 <dependency>
339 <groupId>org.liquibase.ext</groupId>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200340 <artifactId>liquibase-hibernate5</artifactId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200341 <version>${liquibase.version}</version>
342 </dependency>
343 <dependency>
344 <groupId>org.hibernate</groupId>
345 <artifactId>hibernate-core</artifactId>
346 <version>${hibernate.version}</version>
347 </dependency>
348 <dependency>
349 <groupId>org.hibernate</groupId>
350 <artifactId>hibernate-entitymanager</artifactId>
351 <version>${hibernate.version}</version>
352 </dependency>
353 <dependency>
354 <groupId>org.hibernate</groupId>
355 <artifactId>hibernate-envers</artifactId>
356 <version>${hibernate.version}</version>
357 </dependency>
358 <dependency>
359 <groupId>org.postgresql</groupId>
360 <artifactId>postgresql</artifactId>
361 <version>${postgresql.version}</version>
362 </dependency>
363 </dependencies>
364 </plugin>
365
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100366 <!-- Google Java Code Formatter, for enforcing style conventions -->
367 <plugin>
368 <groupId>com.diffplug.spotless</groupId>
369 <artifactId>spotless-maven-plugin</artifactId>
370 <version>${spotless-plugin.version}</version>
371 <configuration>
372 <java>
373 <removeUnusedImports/>
374 <importOrder>
375 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
376 </importOrder>
377 <googleJavaFormat>
378 <version>${google.java.format.version}</version>
379 <style>GOOGLE</style>
380 </googleJavaFormat>
381 </java>
382 </configuration>
383 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100384
385 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200386 <artifactId>maven-antrun-plugin</artifactId>
387 <version>${antrun-plugin.version}</version>
388 <executions>
389 <execution>
390 <phase>generate-resources</phase>
391 <configuration>
392 <target>
Matthias Andreas Benkard0dfcd142022-03-19 13:19:20 +0100393 <ant target="web.resources"/>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200394 </target>
395 </configuration>
396 <goals>
397 <goal>run</goal>
398 </goals>
399 </execution>
400 </executions>
401 </plugin>
402
Matthias Andreas Benkard38531522020-11-08 10:52:26 +0100403 <plugin>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-enforcer-plugin</artifactId>
406 <version>${enforcer-plugin.version}</version>
407 <executions>
408 <execution>
409 <id>enforce-maven</id>
410 <goals>
411 <goal>enforce</goal>
412 </goals>
413 <configuration>
414 <rules>
415 <requireMavenVersion>
416 <version>${enforced.maven-version}</version>
417 </requireMavenVersion>
418 </rules>
419 </configuration>
420 </execution>
421 </executions>
422 </plugin>
423
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100424 </plugins>
425
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100426 <resources>
427 <resource>
Matthias Andreas Benkardd383b6a2022-05-14 20:43:57 +0200428 <targetPath>META-INF/resources</targetPath>
429 <directory>${project.basedir}/src/main/resources/META-INF/resources/dist</directory>
430 <filtering>false</filtering>
431 </resource>
432 <resource>
433 <directory>${project.basedir}/src/main/resources</directory>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100434 <excludes>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200435 <exclude>META-INF/resources/.cache</exclude>
436 <exclude>META-INF/resources/.eslintrc.js</exclude>
437 <exclude>META-INF/resources/.flowconfig</exclude>
Matthias Andreas Benkard89c25ea2020-06-15 21:01:01 +0200438 <exclude>META-INF/resources/.parcel-cache/**/*</exclude>
Matthias Andreas Benkardd383b6a2022-05-14 20:43:57 +0200439 <exclude>META-INF/resources/build/**/*</exclude>
440 <exclude>META-INF/resources/cms2/fonts/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200441 <exclude>META-INF/resources/dist/**/*</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100442 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200443 <exclude>META-INF/resources/web_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100444 <exclude>META-INF/resources/package.json</exclude>
445 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100446 </excludes>
447 <filtering>false</filtering>
448 </resource>
449 </resources>
450
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100451 </build>
452
453 <profiles>
454
455 <profile>
456
457 <id>native</id>
458
459 <activation>
460 <property>
461 <name>native</name>
462 </property>
463 </activation>
464
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100465 <properties>
466 <quarkus.package.type>native</quarkus.package.type>
467 </properties>
468
469 </profile>
470
471 </profiles>
472
473</project>