blob: b54e55b01fe8b5f530c47bb5fe6913f0a9f4b084 [file] [log] [blame]
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +01001<?xml version="1.0"?>
2<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
5 <modelVersion>4.0.0</modelVersion>
6
7 <groupId>eu.mulk</groupId>
8 <artifactId>mulkcms2</artifactId>
Matthias Andreas Benkard77d0f7b2020-11-10 07:12:08 +01009 <version>${revision}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010010
11 <properties>
12 <maven.compiler.parameters>true</maven.compiler.parameters>
13 <maven.compiler.source>11</maven.compiler.source>
14 <maven.compiler.target>11</maven.compiler.target>
15
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
18
Matthias Andreas Benkard38531522020-11-08 10:52:26 +010019 <enforced.maven-version>3.6.2</enforced.maven-version>
20
Matthias Andreas Benkard3bbba8d2020-06-13 15:40:15 +020021 <antrun-plugin.version>3.0.0</antrun-plugin.version>
Matthias Andreas Benkard55243c82020-04-13 20:49:15 +020022 <compiler-plugin.version>3.8.1</compiler-plugin.version>
Matthias Andreas Benkard38531522020-11-08 10:52:26 +010023 <enforcer-plugin.version>3.0.0-M3</enforcer-plugin.version>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +020024 <processor-plugin.version>4.2</processor-plugin.version>
Matthias Andreas Benkard46022ab2021-07-17 21:29:32 +020025 <quarkus.version>2.0.2.Final</quarkus.version>
Matthias Andreas Benkard7bc7e702020-09-10 14:28:20 +020026 <resources-plugin.version>3.2.0</resources-plugin.version>
Matthias Andreas Benkarda50ac8d2021-06-28 19:58:36 +020027 <spotless-plugin.version>2.11.0</spotless-plugin.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010028
Matthias Andreas Benkardff358942020-11-03 06:16:17 +010029 <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010030 <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010031
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +020032 <basic-annotations.version>0.2.0</basic-annotations.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010033 <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
Matthias Andreas Benkard6b7e9412020-06-22 18:13:16 +020034 <flexmark.version>0.62.2</flexmark.version>
Matthias Andreas Benkard93076322021-07-17 22:32:08 +020035 <google.java.format.version>1.10.0</google.java.format.version>
Matthias Andreas Benkard93275332021-01-22 14:50:03 +010036 <hibernate.version>5.4.27.Final</hibernate.version>
Matthias Andreas Benkarda50ac8d2021-06-28 19:58:36 +020037 <hibernate-types.version>2.12.0</hibernate-types.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010038 <jakarta-jacc-api.version>1.6.1</jakarta-jacc-api.version>
Matthias Andreas Benkarda50ac8d2021-06-28 19:58:36 +020039 <jna.version>5.8.0</jna.version>
Matthias Andreas Benkard551f50c2020-03-15 12:34:07 +010040 <jsoup.version>1.13.1</jsoup.version>
Matthias Andreas Benkarda50ac8d2021-06-28 19:58:36 +020041 <kotlin-annotations.version>1.5.20</kotlin-annotations.version>
42 <liquibase.version>4.3.5</liquibase.version>
43 <postgresql.version>42.2.22</postgresql.version>
Matthias Andreas Benkardaa196aa2020-07-18 12:36:57 +020044 <rome.version>1.15.0</rome.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010045 </properties>
46
47 <dependencyManagement>
48 <dependencies>
49
50 <dependency>
51 <groupId>${quarkus.platform.group-id}</groupId>
52 <artifactId>${quarkus.platform.artifact-id}</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +020053 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010054 <type>pom</type>
55 <scope>import</scope>
56 </dependency>
57
58 <!-- Hibernate PostgreSQL Extra Types -->
59 <dependency>
60 <groupId>com.vladmihalcea</groupId>
61 <artifactId>hibernate-types-52</artifactId>
62 <version>${hibernate-types.version}</version>
63 </dependency>
64
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +020065 <!-- Annotations -->
66 <dependency>
67 <groupId>pl.tlinkowski.annotation</groupId>
68 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
69 <version>${basic-annotations.version}</version>
70 <scope>provided</scope>
71 </dependency>
72
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +010073 <!-- Jsoup -->
74 <dependency>
75 <groupId>org.jsoup</groupId>
76 <artifactId>jsoup</artifactId>
77 <version>${jsoup.version}</version>
78 </dependency>
79
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +010080 <!-- FlexMark -->
81 <dependency>
82 <groupId>com.vladsch.flexmark</groupId>
83 <artifactId>flexmark-all</artifactId>
84 <version>${flexmark.version}</version>
85 </dependency>
86
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +010087 <!-- Rome -->
88 <dependency>
89 <groupId>com.rometools</groupId>
90 <artifactId>rome</artifactId>
91 <version>${rome.version}</version>
92 </dependency>
93
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010094 <!-- JNA -->
95 <dependency>
96 <groupId>net.java.dev.jna</groupId>
97 <artifactId>jna</artifactId>
98 <version>${jna.version}</version>
99 </dependency>
100
101 <!-- JACC -->
102 <dependency>
103 <groupId>jakarta.security.jacc</groupId>
104 <artifactId>jakarta.security.jacc-api</artifactId>
105 <version>${jakarta-jacc-api.version}</version>
106 </dependency>
107
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100108 <!-- Annotations -->
109 <dependency>
110 <groupId>com.google.code.findbugs</groupId>
111 <artifactId>jsr305</artifactId>
112 <version>${findbugs-jsr305.version}</version>
113 <scope>provided</scope>
114 </dependency>
115
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100116 </dependencies>
117 </dependencyManagement>
118
119 <dependencies>
120
Matthias Andreas Benkardff358942020-11-03 06:16:17 +0100121 <!-- Quarkus -->
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100122 <dependency>
123 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100124 <artifactId>quarkus-agroal</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100125 </dependency>
126 <dependency>
127 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard2f931de2021-06-28 20:56:50 +0200128 <artifactId>quarkus-cache</artifactId>
129 </dependency>
130 <dependency>
131 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +0100132 <artifactId>quarkus-elytron-security-properties-file</artifactId>
133 </dependency>
134 <dependency>
135 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100136 <artifactId>quarkus-hibernate-orm-panache</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100137 </dependency>
138 <dependency>
139 <groupId>io.quarkus</groupId>
140 <artifactId>quarkus-hibernate-validator</artifactId>
141 </dependency>
142 <dependency>
143 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100144 <artifactId>quarkus-jdbc-postgresql</artifactId>
145 </dependency>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100146 <dependency>
147 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200148 <artifactId>quarkus-liquibase</artifactId>
149 </dependency>
150 <dependency>
151 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardba3e58c2020-11-01 12:58:35 +0100152 <artifactId>quarkus-mailer</artifactId>
153 </dependency>
154 <dependency>
155 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100156 <artifactId>quarkus-oidc</artifactId>
157 </dependency>
158 <dependency>
159 <groupId>io.quarkus</groupId>
160 <artifactId>quarkus-resteasy</artifactId>
161 </dependency>
162 <dependency>
163 <groupId>io.quarkus</groupId>
164 <artifactId>quarkus-resteasy-jsonb</artifactId>
165 </dependency>
166 <dependency>
167 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardff358942020-11-03 06:16:17 +0100168 <artifactId>quarkus-resteasy-mutiny</artifactId>
169 </dependency>
170 <dependency>
171 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100172 <artifactId>quarkus-resteasy-qute</artifactId>
173 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100174 <dependency>
175 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardba3e58c2020-11-01 12:58:35 +0100176 <artifactId>quarkus-scheduler</artifactId>
177 </dependency>
178 <dependency>
179 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard46022ab2021-07-17 21:29:32 +0200180 <artifactId>quarkus-smallrye-context-propagation</artifactId>
181 </dependency>
182 <dependency>
183 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard7413c542020-10-30 10:18:46 +0100184 <artifactId>quarkus-smallrye-health</artifactId>
185 </dependency>
186 <dependency>
187 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100188 <artifactId>quarkus-smallrye-jwt</artifactId>
189 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200190 <dependency>
191 <groupId>io.quarkus</groupId>
192 <artifactId>quarkus-container-image-jib</artifactId>
193 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100194
Matthias Andreas Benkardff358942020-11-03 06:16:17 +0100195
196 <!-- Quarkus universe -->
197 <dependency>
198 <groupId>org.apache.camel.quarkus</groupId>
199 <artifactId>camel-quarkus-mail</artifactId>
200 </dependency>
201
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100202 <!-- JNA -->
203 <dependency>
204 <groupId>net.java.dev.jna</groupId>
205 <artifactId>jna</artifactId>
206 </dependency>
207
208 <!-- JACC -->
209 <dependency>
210 <groupId>jakarta.security.jacc</groupId>
211 <artifactId>jakarta.security.jacc-api</artifactId>
212 </dependency>
213
214 <!-- Hibernate PostgreSQL Extra Types -->
215 <dependency>
216 <groupId>com.vladmihalcea</groupId>
217 <artifactId>hibernate-types-52</artifactId>
218 </dependency>
219
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200220 <!-- Annotations -->
221 <dependency>
222 <groupId>pl.tlinkowski.annotation</groupId>
223 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
224 <scope>provided</scope>
225 </dependency>
226
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100227 <!-- Jsoup -->
228 <dependency>
229 <groupId>org.jsoup</groupId>
230 <artifactId>jsoup</artifactId>
231 </dependency>
232
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100233 <!-- FlexMark -->
234 <dependency>
235 <groupId>com.vladsch.flexmark</groupId>
236 <artifactId>flexmark-all</artifactId>
237 </dependency>
238
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100239 <!-- Rome -->
240 <dependency>
241 <groupId>com.rometools</groupId>
242 <artifactId>rome</artifactId>
243 </dependency>
244
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100245 <!-- Annotations -->
246 <dependency>
247 <groupId>com.google.code.findbugs</groupId>
248 <artifactId>jsr305</artifactId>
249 <scope>provided</scope>
250 </dependency>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200251 <dependency>
252 <groupId>org.jetbrains.kotlin</groupId>
253 <artifactId>kotlin-annotations-jvm</artifactId>
254 <version>${kotlin-annotations.version}</version>
255 <scope>provided</scope>
256 </dependency>
257
258 <!-- Hibernate -->
259 <dependency>
260 <groupId>org.hibernate</groupId>
261 <artifactId>hibernate-jpamodelgen</artifactId>
262 <version>${hibernate.version}</version>
263 <scope>provided</scope>
264 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100265
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100266 </dependencies>
267
268 <build>
269
Matthias Andreas Benkard38531522020-11-08 10:52:26 +0100270 <pluginManagement>
271 <plugins>
272
273 <plugin>
274 <groupId>org.codehaus.mojo</groupId>
275 <artifactId>versions-maven-plugin</artifactId>
276 <configuration>
277 <generateBackupPoms>false</generateBackupPoms>
278 </configuration>
279 </plugin>
280
281 </plugins>
282 </pluginManagement>
283
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100284 <plugins>
285
286 <plugin>
287 <groupId>io.quarkus</groupId>
288 <artifactId>quarkus-maven-plugin</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +0200289 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100290 <executions>
291 <execution>
292 <goals>
293 <goal>build</goal>
294 </goals>
295 </execution>
296 </executions>
297 </plugin>
298
299 <plugin>
300 <artifactId>maven-compiler-plugin</artifactId>
301 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkardcf182b22020-12-02 19:29:45 +0100302 <configuration>
303 <parameters>true</parameters>
304 </configuration>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100305 </plugin>
306
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200307 <!-- Resources -->
308 <plugin>
309 <artifactId>maven-resources-plugin</artifactId>
310 <version>${resources-plugin.version}</version>
311 <executions>
312 <execution>
313 <id>copy-resources</id>
314 <phase>prepare-package</phase>
315 <goals>
316 <goal>copy-resources</goal>
317 </goals>
318 <configuration>
319 <outputDirectory>${basedir}/target/classes/META-INF/resources</outputDirectory>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200320 <overwrite>true</overwrite>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200321 <resources>
322 <resource>
323 <directory>${basedir}/src/main/resources/META-INF/resources/dist</directory>
Matthias Andreas Benkard3000a6a2020-09-10 15:50:42 +0200324 <filtering>false</filtering>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200325 </resource>
326 </resources>
327 </configuration>
328 </execution>
329 </executions>
330 </plugin>
331
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200332 <!-- Liquibase -->
333 <plugin>
334 <groupId>org.liquibase</groupId>
335 <artifactId>liquibase-maven-plugin</artifactId>
336 <version>${liquibase.version}</version>
337 <configuration>
338 <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
339 </configuration>
340 <dependencies>
341 <dependency>
342 <groupId>org.liquibase.ext</groupId>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200343 <artifactId>liquibase-hibernate5</artifactId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200344 <version>${liquibase.version}</version>
345 </dependency>
346 <dependency>
347 <groupId>org.hibernate</groupId>
348 <artifactId>hibernate-core</artifactId>
349 <version>${hibernate.version}</version>
350 </dependency>
351 <dependency>
352 <groupId>org.hibernate</groupId>
353 <artifactId>hibernate-entitymanager</artifactId>
354 <version>${hibernate.version}</version>
355 </dependency>
356 <dependency>
357 <groupId>org.hibernate</groupId>
358 <artifactId>hibernate-envers</artifactId>
359 <version>${hibernate.version}</version>
360 </dependency>
361 <dependency>
362 <groupId>org.postgresql</groupId>
363 <artifactId>postgresql</artifactId>
364 <version>${postgresql.version}</version>
365 </dependency>
366 </dependencies>
367 </plugin>
368
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100369 <!-- Google Java Code Formatter, for enforcing style conventions -->
370 <plugin>
371 <groupId>com.diffplug.spotless</groupId>
372 <artifactId>spotless-maven-plugin</artifactId>
373 <version>${spotless-plugin.version}</version>
374 <configuration>
375 <java>
376 <removeUnusedImports/>
377 <importOrder>
378 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
379 </importOrder>
380 <googleJavaFormat>
381 <version>${google.java.format.version}</version>
382 <style>GOOGLE</style>
383 </googleJavaFormat>
384 </java>
385 </configuration>
386 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100387
388 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200389 <artifactId>maven-antrun-plugin</artifactId>
390 <version>${antrun-plugin.version}</version>
391 <executions>
392 <execution>
393 <phase>generate-resources</phase>
394 <configuration>
395 <target>
396 <ant target="web.resources" />
397 </target>
398 </configuration>
399 <goals>
400 <goal>run</goal>
401 </goals>
402 </execution>
403 </executions>
404 </plugin>
405
Matthias Andreas Benkard38531522020-11-08 10:52:26 +0100406 <plugin>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-enforcer-plugin</artifactId>
409 <version>${enforcer-plugin.version}</version>
410 <executions>
411 <execution>
412 <id>enforce-maven</id>
413 <goals>
414 <goal>enforce</goal>
415 </goals>
416 <configuration>
417 <rules>
418 <requireMavenVersion>
419 <version>${enforced.maven-version}</version>
420 </requireMavenVersion>
421 </rules>
422 </configuration>
423 </execution>
424 </executions>
425 </plugin>
426
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100427 </plugins>
428
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100429 <resources>
430 <resource>
431 <directory>src/main/resources</directory>
432 <excludes>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200433 <exclude>META-INF/resources/.cache</exclude>
434 <exclude>META-INF/resources/.eslintrc.js</exclude>
435 <exclude>META-INF/resources/.flowconfig</exclude>
Matthias Andreas Benkard89c25ea2020-06-15 21:01:01 +0200436 <exclude>META-INF/resources/.parcel-cache/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200437 <exclude>META-INF/resources/dist/**/*</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100438 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200439 <exclude>META-INF/resources/web_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100440 <exclude>META-INF/resources/package.json</exclude>
441 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100442 </excludes>
443 <filtering>false</filtering>
444 </resource>
445 </resources>
446
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100447 </build>
448
449 <profiles>
450
451 <profile>
452
453 <id>native</id>
454
455 <activation>
456 <property>
457 <name>native</name>
458 </property>
459 </activation>
460
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100461 <properties>
462 <quarkus.package.type>native</quarkus.package.type>
463 </properties>
464
465 </profile>
466
467 </profiles>
468
469</project>