blob: 9e3411a54c1bafd2e9cce6b1bd5f99f5ff784683 [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>
9 <version>0.1.0-SNAPSHOT</version>
10
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 Benkard3bbba8d2020-06-13 15:40:15 +020019 <antrun-plugin.version>3.0.0</antrun-plugin.version>
Matthias Andreas Benkard55243c82020-04-13 20:49:15 +020020 <compiler-plugin.version>3.8.1</compiler-plugin.version>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +020021 <processor-plugin.version>4.2</processor-plugin.version>
Matthias Andreas Benkard7bc7e702020-09-10 14:28:20 +020022 <quarkus.version>1.8.0.Final</quarkus.version>
23 <resources-plugin.version>3.2.0</resources-plugin.version>
24 <spotless-plugin.version>2.1.0</spotless-plugin.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010025
Matthias Andreas Benkard2710bf32020-01-25 10:48:07 +010026 <!-- <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id> -->
27 <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010028 <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010029
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +020030 <basic-annotations.version>0.2.0</basic-annotations.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010031 <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
Matthias Andreas Benkard6b7e9412020-06-22 18:13:16 +020032 <flexmark.version>0.62.2</flexmark.version>
Matthias Andreas Benkarda0392372020-06-13 15:46:39 +020033 <google.java.format.version>1.8</google.java.format.version>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +020034 <hibernate.version>5.4.20.Final</hibernate.version>
35 <hibernate-types.version>2.9.13</hibernate-types.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010036 <jakarta-jacc-api.version>1.6.1</jakarta-jacc-api.version>
Matthias Andreas Benkardaa196aa2020-07-18 12:36:57 +020037 <jna.version>5.6.0</jna.version>
Matthias Andreas Benkard551f50c2020-03-15 12:34:07 +010038 <jsoup.version>1.13.1</jsoup.version>
Matthias Andreas Benkard7bc7e702020-09-10 14:28:20 +020039 <kotlin-annotations.version>1.4.10</kotlin-annotations.version>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +020040 <liquibase.version>3.9.0</liquibase.version>
Matthias Andreas Benkard7bc7e702020-09-10 14:28:20 +020041 <postgresql.version>42.2.16</postgresql.version>
Matthias Andreas Benkardaa196aa2020-07-18 12:36:57 +020042 <rome.version>1.15.0</rome.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010043 </properties>
44
45 <dependencyManagement>
46 <dependencies>
47
48 <dependency>
49 <groupId>${quarkus.platform.group-id}</groupId>
50 <artifactId>${quarkus.platform.artifact-id}</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +020051 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010052 <type>pom</type>
53 <scope>import</scope>
54 </dependency>
55
56 <!-- Hibernate PostgreSQL Extra Types -->
57 <dependency>
58 <groupId>com.vladmihalcea</groupId>
59 <artifactId>hibernate-types-52</artifactId>
60 <version>${hibernate-types.version}</version>
61 </dependency>
62
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +020063 <!-- Annotations -->
64 <dependency>
65 <groupId>pl.tlinkowski.annotation</groupId>
66 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
67 <version>${basic-annotations.version}</version>
68 <scope>provided</scope>
69 </dependency>
70
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +010071 <!-- Jsoup -->
72 <dependency>
73 <groupId>org.jsoup</groupId>
74 <artifactId>jsoup</artifactId>
75 <version>${jsoup.version}</version>
76 </dependency>
77
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +010078 <!-- FlexMark -->
79 <dependency>
80 <groupId>com.vladsch.flexmark</groupId>
81 <artifactId>flexmark-all</artifactId>
82 <version>${flexmark.version}</version>
83 </dependency>
84
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +010085 <!-- Rome -->
86 <dependency>
87 <groupId>com.rometools</groupId>
88 <artifactId>rome</artifactId>
89 <version>${rome.version}</version>
90 </dependency>
91
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010092 <!-- JNA -->
93 <dependency>
94 <groupId>net.java.dev.jna</groupId>
95 <artifactId>jna</artifactId>
96 <version>${jna.version}</version>
97 </dependency>
98
99 <!-- JACC -->
100 <dependency>
101 <groupId>jakarta.security.jacc</groupId>
102 <artifactId>jakarta.security.jacc-api</artifactId>
103 <version>${jakarta-jacc-api.version}</version>
104 </dependency>
105
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100106 <!-- JOSE for Java -->
107 <dependency>
108 <groupId>org.bitbucket.b_c</groupId>
109 <artifactId>jose4j</artifactId>
110 <version>0.7.0</version>
111 </dependency>
112
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100113 <!-- Annotations -->
114 <dependency>
115 <groupId>com.google.code.findbugs</groupId>
116 <artifactId>jsr305</artifactId>
117 <version>${findbugs-jsr305.version}</version>
118 <scope>provided</scope>
119 </dependency>
120
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100121 </dependencies>
122 </dependencyManagement>
123
124 <dependencies>
125
126 <dependency>
127 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100128 <artifactId>quarkus-agroal</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100129 </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 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>
164 <artifactId>quarkus-resteasy-qute</artifactId>
165 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100166 <dependency>
167 <groupId>io.quarkus</groupId>
168 <artifactId>quarkus-smallrye-jwt</artifactId>
169 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200170 <dependency>
171 <groupId>io.quarkus</groupId>
172 <artifactId>quarkus-container-image-jib</artifactId>
173 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100174
175 <!-- JNA -->
176 <dependency>
177 <groupId>net.java.dev.jna</groupId>
178 <artifactId>jna</artifactId>
179 </dependency>
180
181 <!-- JACC -->
182 <dependency>
183 <groupId>jakarta.security.jacc</groupId>
184 <artifactId>jakarta.security.jacc-api</artifactId>
185 </dependency>
186
187 <!-- Hibernate PostgreSQL Extra Types -->
188 <dependency>
189 <groupId>com.vladmihalcea</groupId>
190 <artifactId>hibernate-types-52</artifactId>
191 </dependency>
192
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200193 <!-- Annotations -->
194 <dependency>
195 <groupId>pl.tlinkowski.annotation</groupId>
196 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
197 <scope>provided</scope>
198 </dependency>
199
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100200 <!-- Jsoup -->
201 <dependency>
202 <groupId>org.jsoup</groupId>
203 <artifactId>jsoup</artifactId>
204 </dependency>
205
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100206 <!-- FlexMark -->
207 <dependency>
208 <groupId>com.vladsch.flexmark</groupId>
209 <artifactId>flexmark-all</artifactId>
210 </dependency>
211
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100212 <!-- Rome -->
213 <dependency>
214 <groupId>com.rometools</groupId>
215 <artifactId>rome</artifactId>
216 </dependency>
217
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100218 <!-- JOSE for Java -->
219 <dependency>
220 <groupId>org.bitbucket.b_c</groupId>
221 <artifactId>jose4j</artifactId>
222 </dependency>
223
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100224 <!-- Annotations -->
225 <dependency>
226 <groupId>com.google.code.findbugs</groupId>
227 <artifactId>jsr305</artifactId>
228 <scope>provided</scope>
229 </dependency>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200230 <dependency>
231 <groupId>org.jetbrains.kotlin</groupId>
232 <artifactId>kotlin-annotations-jvm</artifactId>
233 <version>${kotlin-annotations.version}</version>
234 <scope>provided</scope>
235 </dependency>
236
237 <!-- Hibernate -->
238 <dependency>
239 <groupId>org.hibernate</groupId>
240 <artifactId>hibernate-jpamodelgen</artifactId>
241 <version>${hibernate.version}</version>
242 <scope>provided</scope>
243 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100244
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100245 </dependencies>
246
247 <build>
248
249 <plugins>
250
251 <plugin>
252 <groupId>io.quarkus</groupId>
253 <artifactId>quarkus-maven-plugin</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +0200254 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100255 <executions>
256 <execution>
257 <goals>
258 <goal>build</goal>
259 </goals>
260 </execution>
261 </executions>
262 </plugin>
263
264 <plugin>
265 <artifactId>maven-compiler-plugin</artifactId>
266 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +0200267 <configuration>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200268 <compilerArgs>
269 <arg>-proc:none</arg>
270 </compilerArgs>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +0200271 </configuration>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100272 </plugin>
273
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200274 <!-- Resources -->
275 <plugin>
276 <artifactId>maven-resources-plugin</artifactId>
277 <version>${resources-plugin.version}</version>
278 <executions>
279 <execution>
280 <id>copy-resources</id>
281 <phase>prepare-package</phase>
282 <goals>
283 <goal>copy-resources</goal>
284 </goals>
285 <configuration>
286 <outputDirectory>${basedir}/target/classes/META-INF/resources</outputDirectory>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200287 <overwrite>true</overwrite>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200288 <resources>
289 <resource>
290 <directory>${basedir}/src/main/resources/META-INF/resources/dist</directory>
Matthias Andreas Benkard3000a6a2020-09-10 15:50:42 +0200291 <filtering>false</filtering>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200292 </resource>
293 </resources>
294 </configuration>
295 </execution>
296 </executions>
297 </plugin>
298
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200299 <!-- Liquibase -->
300 <plugin>
301 <groupId>org.liquibase</groupId>
302 <artifactId>liquibase-maven-plugin</artifactId>
303 <version>${liquibase.version}</version>
304 <configuration>
305 <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
306 </configuration>
307 <dependencies>
308 <dependency>
309 <groupId>org.liquibase.ext</groupId>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200310 <artifactId>liquibase-hibernate5</artifactId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200311 <version>${liquibase.version}</version>
312 </dependency>
313 <dependency>
314 <groupId>org.hibernate</groupId>
315 <artifactId>hibernate-core</artifactId>
316 <version>${hibernate.version}</version>
317 </dependency>
318 <dependency>
319 <groupId>org.hibernate</groupId>
320 <artifactId>hibernate-entitymanager</artifactId>
321 <version>${hibernate.version}</version>
322 </dependency>
323 <dependency>
324 <groupId>org.hibernate</groupId>
325 <artifactId>hibernate-envers</artifactId>
326 <version>${hibernate.version}</version>
327 </dependency>
328 <dependency>
329 <groupId>org.postgresql</groupId>
330 <artifactId>postgresql</artifactId>
331 <version>${postgresql.version}</version>
332 </dependency>
333 </dependencies>
334 </plugin>
335
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100336 <!-- Google Java Code Formatter, for enforcing style conventions -->
337 <plugin>
338 <groupId>com.diffplug.spotless</groupId>
339 <artifactId>spotless-maven-plugin</artifactId>
340 <version>${spotless-plugin.version}</version>
341 <configuration>
342 <java>
343 <removeUnusedImports/>
344 <importOrder>
345 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
346 </importOrder>
347 <googleJavaFormat>
348 <version>${google.java.format.version}</version>
349 <style>GOOGLE</style>
350 </googleJavaFormat>
351 </java>
352 </configuration>
353 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100354
355 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200356 <artifactId>maven-antrun-plugin</artifactId>
357 <version>${antrun-plugin.version}</version>
358 <executions>
359 <execution>
360 <phase>generate-resources</phase>
361 <configuration>
362 <target>
363 <ant target="web.resources" />
364 </target>
365 </configuration>
366 <goals>
367 <goal>run</goal>
368 </goals>
369 </execution>
370 </executions>
371 </plugin>
372
Matthias Andreas Benkard7e71d1c2020-04-16 17:07:59 +0200373 <plugin>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200374 <groupId>org.bsc.maven</groupId>
375 <artifactId>maven-processor-plugin</artifactId>
376 <version>${processor-plugin.version}</version>
377 <executions>
378 <execution>
379 <id>process</id>
380 <goals>
381 <goal>process</goal>
382 </goals>
383 <phase>generate-sources</phase>
384 </execution>
385 <execution>
386 <id>process-test</id>
387 <goals>
388 <goal>process-test</goal>
389 </goals>
390 <phase>generate-test-sources</phase>
391 </execution>
392 </executions>
393 </plugin>
394
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100395 </plugins>
396
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100397 <resources>
398 <resource>
399 <directory>src/main/resources</directory>
400 <excludes>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200401 <exclude>META-INF/resources/.cache</exclude>
402 <exclude>META-INF/resources/.eslintrc.js</exclude>
403 <exclude>META-INF/resources/.flowconfig</exclude>
Matthias Andreas Benkard89c25ea2020-06-15 21:01:01 +0200404 <exclude>META-INF/resources/.parcel-cache/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200405 <exclude>META-INF/resources/dist/**/*</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100406 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200407 <exclude>META-INF/resources/web_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100408 <exclude>META-INF/resources/package.json</exclude>
409 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100410 </excludes>
411 <filtering>false</filtering>
412 </resource>
413 </resources>
414
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100415 </build>
416
417 <profiles>
418
419 <profile>
420
421 <id>native</id>
422
423 <activation>
424 <property>
425 <name>native</name>
426 </property>
427 </activation>
428
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100429 <properties>
430 <quarkus.package.type>native</quarkus.package.type>
431 </properties>
432
433 </profile>
434
435 </profiles>
436
437</project>