blob: f096d58f0e22b10d7b873ca95cc74964896f23f2 [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 Benkarda50ac8d2021-06-28 19:58:36 +020025 <quarkus.version>1.13.7.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 Benkard8d1f4d42020-11-24 14:47:22 +010035 <google.java.format.version>1.9</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 Benkardc27d1cb2020-01-26 11:11:24 +0100128 <artifactId>quarkus-elytron-security-properties-file</artifactId>
129 </dependency>
130 <dependency>
131 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100132 <artifactId>quarkus-hibernate-orm-panache</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100133 </dependency>
134 <dependency>
135 <groupId>io.quarkus</groupId>
136 <artifactId>quarkus-hibernate-validator</artifactId>
137 </dependency>
138 <dependency>
139 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100140 <artifactId>quarkus-jdbc-postgresql</artifactId>
141 </dependency>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100142 <dependency>
143 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200144 <artifactId>quarkus-liquibase</artifactId>
145 </dependency>
146 <dependency>
147 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardba3e58c2020-11-01 12:58:35 +0100148 <artifactId>quarkus-mailer</artifactId>
149 </dependency>
150 <dependency>
151 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100152 <artifactId>quarkus-oidc</artifactId>
153 </dependency>
154 <dependency>
155 <groupId>io.quarkus</groupId>
156 <artifactId>quarkus-resteasy</artifactId>
157 </dependency>
158 <dependency>
159 <groupId>io.quarkus</groupId>
160 <artifactId>quarkus-resteasy-jsonb</artifactId>
161 </dependency>
162 <dependency>
163 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardff358942020-11-03 06:16:17 +0100164 <artifactId>quarkus-resteasy-mutiny</artifactId>
165 </dependency>
166 <dependency>
167 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100168 <artifactId>quarkus-resteasy-qute</artifactId>
169 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100170 <dependency>
171 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardba3e58c2020-11-01 12:58:35 +0100172 <artifactId>quarkus-scheduler</artifactId>
173 </dependency>
174 <dependency>
175 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard7413c542020-10-30 10:18:46 +0100176 <artifactId>quarkus-smallrye-health</artifactId>
177 </dependency>
178 <dependency>
179 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100180 <artifactId>quarkus-smallrye-jwt</artifactId>
181 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200182 <dependency>
183 <groupId>io.quarkus</groupId>
184 <artifactId>quarkus-container-image-jib</artifactId>
185 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100186
Matthias Andreas Benkardff358942020-11-03 06:16:17 +0100187
188 <!-- Quarkus universe -->
189 <dependency>
190 <groupId>org.apache.camel.quarkus</groupId>
191 <artifactId>camel-quarkus-mail</artifactId>
192 </dependency>
193
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100194 <!-- JNA -->
195 <dependency>
196 <groupId>net.java.dev.jna</groupId>
197 <artifactId>jna</artifactId>
198 </dependency>
199
200 <!-- JACC -->
201 <dependency>
202 <groupId>jakarta.security.jacc</groupId>
203 <artifactId>jakarta.security.jacc-api</artifactId>
204 </dependency>
205
206 <!-- Hibernate PostgreSQL Extra Types -->
207 <dependency>
208 <groupId>com.vladmihalcea</groupId>
209 <artifactId>hibernate-types-52</artifactId>
210 </dependency>
211
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200212 <!-- Annotations -->
213 <dependency>
214 <groupId>pl.tlinkowski.annotation</groupId>
215 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
216 <scope>provided</scope>
217 </dependency>
218
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100219 <!-- Jsoup -->
220 <dependency>
221 <groupId>org.jsoup</groupId>
222 <artifactId>jsoup</artifactId>
223 </dependency>
224
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100225 <!-- FlexMark -->
226 <dependency>
227 <groupId>com.vladsch.flexmark</groupId>
228 <artifactId>flexmark-all</artifactId>
229 </dependency>
230
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100231 <!-- Rome -->
232 <dependency>
233 <groupId>com.rometools</groupId>
234 <artifactId>rome</artifactId>
235 </dependency>
236
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100237 <!-- Annotations -->
238 <dependency>
239 <groupId>com.google.code.findbugs</groupId>
240 <artifactId>jsr305</artifactId>
241 <scope>provided</scope>
242 </dependency>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200243 <dependency>
244 <groupId>org.jetbrains.kotlin</groupId>
245 <artifactId>kotlin-annotations-jvm</artifactId>
246 <version>${kotlin-annotations.version}</version>
247 <scope>provided</scope>
248 </dependency>
249
250 <!-- Hibernate -->
251 <dependency>
252 <groupId>org.hibernate</groupId>
253 <artifactId>hibernate-jpamodelgen</artifactId>
254 <version>${hibernate.version}</version>
255 <scope>provided</scope>
256 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100257
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100258 </dependencies>
259
260 <build>
261
Matthias Andreas Benkard38531522020-11-08 10:52:26 +0100262 <pluginManagement>
263 <plugins>
264
265 <plugin>
266 <groupId>org.codehaus.mojo</groupId>
267 <artifactId>versions-maven-plugin</artifactId>
268 <configuration>
269 <generateBackupPoms>false</generateBackupPoms>
270 </configuration>
271 </plugin>
272
273 </plugins>
274 </pluginManagement>
275
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100276 <plugins>
277
278 <plugin>
279 <groupId>io.quarkus</groupId>
280 <artifactId>quarkus-maven-plugin</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +0200281 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100282 <executions>
283 <execution>
284 <goals>
285 <goal>build</goal>
286 </goals>
287 </execution>
288 </executions>
289 </plugin>
290
291 <plugin>
292 <artifactId>maven-compiler-plugin</artifactId>
293 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkardcf182b22020-12-02 19:29:45 +0100294 <configuration>
295 <parameters>true</parameters>
296 </configuration>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100297 </plugin>
298
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200299 <!-- Resources -->
300 <plugin>
301 <artifactId>maven-resources-plugin</artifactId>
302 <version>${resources-plugin.version}</version>
303 <executions>
304 <execution>
305 <id>copy-resources</id>
306 <phase>prepare-package</phase>
307 <goals>
308 <goal>copy-resources</goal>
309 </goals>
310 <configuration>
311 <outputDirectory>${basedir}/target/classes/META-INF/resources</outputDirectory>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200312 <overwrite>true</overwrite>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200313 <resources>
314 <resource>
315 <directory>${basedir}/src/main/resources/META-INF/resources/dist</directory>
Matthias Andreas Benkard3000a6a2020-09-10 15:50:42 +0200316 <filtering>false</filtering>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200317 </resource>
318 </resources>
319 </configuration>
320 </execution>
321 </executions>
322 </plugin>
323
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200324 <!-- Liquibase -->
325 <plugin>
326 <groupId>org.liquibase</groupId>
327 <artifactId>liquibase-maven-plugin</artifactId>
328 <version>${liquibase.version}</version>
329 <configuration>
330 <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
331 </configuration>
332 <dependencies>
333 <dependency>
334 <groupId>org.liquibase.ext</groupId>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200335 <artifactId>liquibase-hibernate5</artifactId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200336 <version>${liquibase.version}</version>
337 </dependency>
338 <dependency>
339 <groupId>org.hibernate</groupId>
340 <artifactId>hibernate-core</artifactId>
341 <version>${hibernate.version}</version>
342 </dependency>
343 <dependency>
344 <groupId>org.hibernate</groupId>
345 <artifactId>hibernate-entitymanager</artifactId>
346 <version>${hibernate.version}</version>
347 </dependency>
348 <dependency>
349 <groupId>org.hibernate</groupId>
350 <artifactId>hibernate-envers</artifactId>
351 <version>${hibernate.version}</version>
352 </dependency>
353 <dependency>
354 <groupId>org.postgresql</groupId>
355 <artifactId>postgresql</artifactId>
356 <version>${postgresql.version}</version>
357 </dependency>
358 </dependencies>
359 </plugin>
360
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100361 <!-- Google Java Code Formatter, for enforcing style conventions -->
362 <plugin>
363 <groupId>com.diffplug.spotless</groupId>
364 <artifactId>spotless-maven-plugin</artifactId>
365 <version>${spotless-plugin.version}</version>
366 <configuration>
367 <java>
368 <removeUnusedImports/>
369 <importOrder>
370 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
371 </importOrder>
372 <googleJavaFormat>
373 <version>${google.java.format.version}</version>
374 <style>GOOGLE</style>
375 </googleJavaFormat>
376 </java>
377 </configuration>
378 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100379
380 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200381 <artifactId>maven-antrun-plugin</artifactId>
382 <version>${antrun-plugin.version}</version>
383 <executions>
384 <execution>
385 <phase>generate-resources</phase>
386 <configuration>
387 <target>
388 <ant target="web.resources" />
389 </target>
390 </configuration>
391 <goals>
392 <goal>run</goal>
393 </goals>
394 </execution>
395 </executions>
396 </plugin>
397
Matthias Andreas Benkard38531522020-11-08 10:52:26 +0100398 <plugin>
399 <groupId>org.apache.maven.plugins</groupId>
400 <artifactId>maven-enforcer-plugin</artifactId>
401 <version>${enforcer-plugin.version}</version>
402 <executions>
403 <execution>
404 <id>enforce-maven</id>
405 <goals>
406 <goal>enforce</goal>
407 </goals>
408 <configuration>
409 <rules>
410 <requireMavenVersion>
411 <version>${enforced.maven-version}</version>
412 </requireMavenVersion>
413 </rules>
414 </configuration>
415 </execution>
416 </executions>
417 </plugin>
418
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100419 </plugins>
420
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100421 <resources>
422 <resource>
423 <directory>src/main/resources</directory>
424 <excludes>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200425 <exclude>META-INF/resources/.cache</exclude>
426 <exclude>META-INF/resources/.eslintrc.js</exclude>
427 <exclude>META-INF/resources/.flowconfig</exclude>
Matthias Andreas Benkard89c25ea2020-06-15 21:01:01 +0200428 <exclude>META-INF/resources/.parcel-cache/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200429 <exclude>META-INF/resources/dist/**/*</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100430 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200431 <exclude>META-INF/resources/web_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100432 <exclude>META-INF/resources/package.json</exclude>
433 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100434 </excludes>
435 <filtering>false</filtering>
436 </resource>
437 </resources>
438
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100439 </build>
440
441 <profiles>
442
443 <profile>
444
445 <id>native</id>
446
447 <activation>
448 <property>
449 <name>native</name>
450 </property>
451 </activation>
452
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100453 <properties>
454 <quarkus.package.type>native</quarkus.package.type>
455 </properties>
456
457 </profile>
458
459 </profiles>
460
461</project>