blob: 68307dd10a643b28d86b40fc40e46876d0116650 [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 Benkard45983ef2020-10-30 10:20:15 +010022 <quarkus.version>1.9.1.Final</quarkus.version>
Matthias Andreas Benkard7bc7e702020-09-10 14:28:20 +020023 <resources-plugin.version>3.2.0</resources-plugin.version>
Matthias Andreas Benkard45983ef2020-10-30 10:20:15 +010024 <spotless-plugin.version>2.4.1</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>
Matthias Andreas Benkard45983ef2020-10-30 10:20:15 +010035 <hibernate-types.version>2.10.0</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>
Matthias Andreas Benkard45983ef2020-10-30 10:20:15 +0100110 <version>0.7.2</version>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100111 </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>
Matthias Andreas Benkard7413c542020-10-30 10:18:46 +0100168 <artifactId>quarkus-smallrye-health</artifactId>
169 </dependency>
170 <dependency>
171 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100172 <artifactId>quarkus-smallrye-jwt</artifactId>
173 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200174 <dependency>
175 <groupId>io.quarkus</groupId>
176 <artifactId>quarkus-container-image-jib</artifactId>
177 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100178
179 <!-- JNA -->
180 <dependency>
181 <groupId>net.java.dev.jna</groupId>
182 <artifactId>jna</artifactId>
183 </dependency>
184
185 <!-- JACC -->
186 <dependency>
187 <groupId>jakarta.security.jacc</groupId>
188 <artifactId>jakarta.security.jacc-api</artifactId>
189 </dependency>
190
191 <!-- Hibernate PostgreSQL Extra Types -->
192 <dependency>
193 <groupId>com.vladmihalcea</groupId>
194 <artifactId>hibernate-types-52</artifactId>
195 </dependency>
196
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200197 <!-- Annotations -->
198 <dependency>
199 <groupId>pl.tlinkowski.annotation</groupId>
200 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
201 <scope>provided</scope>
202 </dependency>
203
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100204 <!-- Jsoup -->
205 <dependency>
206 <groupId>org.jsoup</groupId>
207 <artifactId>jsoup</artifactId>
208 </dependency>
209
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100210 <!-- FlexMark -->
211 <dependency>
212 <groupId>com.vladsch.flexmark</groupId>
213 <artifactId>flexmark-all</artifactId>
214 </dependency>
215
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100216 <!-- Rome -->
217 <dependency>
218 <groupId>com.rometools</groupId>
219 <artifactId>rome</artifactId>
220 </dependency>
221
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100222 <!-- JOSE for Java -->
223 <dependency>
224 <groupId>org.bitbucket.b_c</groupId>
225 <artifactId>jose4j</artifactId>
226 </dependency>
227
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100228 <!-- Annotations -->
229 <dependency>
230 <groupId>com.google.code.findbugs</groupId>
231 <artifactId>jsr305</artifactId>
232 <scope>provided</scope>
233 </dependency>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200234 <dependency>
235 <groupId>org.jetbrains.kotlin</groupId>
236 <artifactId>kotlin-annotations-jvm</artifactId>
237 <version>${kotlin-annotations.version}</version>
238 <scope>provided</scope>
239 </dependency>
240
241 <!-- Hibernate -->
242 <dependency>
243 <groupId>org.hibernate</groupId>
244 <artifactId>hibernate-jpamodelgen</artifactId>
245 <version>${hibernate.version}</version>
246 <scope>provided</scope>
247 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100248
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100249 </dependencies>
250
251 <build>
252
253 <plugins>
254
255 <plugin>
256 <groupId>io.quarkus</groupId>
257 <artifactId>quarkus-maven-plugin</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +0200258 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100259 <executions>
260 <execution>
261 <goals>
262 <goal>build</goal>
263 </goals>
264 </execution>
265 </executions>
266 </plugin>
267
268 <plugin>
269 <artifactId>maven-compiler-plugin</artifactId>
270 <version>${compiler-plugin.version}</version>
271 </plugin>
272
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200273 <!-- Resources -->
274 <plugin>
275 <artifactId>maven-resources-plugin</artifactId>
276 <version>${resources-plugin.version}</version>
277 <executions>
278 <execution>
279 <id>copy-resources</id>
280 <phase>prepare-package</phase>
281 <goals>
282 <goal>copy-resources</goal>
283 </goals>
284 <configuration>
285 <outputDirectory>${basedir}/target/classes/META-INF/resources</outputDirectory>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200286 <overwrite>true</overwrite>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200287 <resources>
288 <resource>
289 <directory>${basedir}/src/main/resources/META-INF/resources/dist</directory>
Matthias Andreas Benkard3000a6a2020-09-10 15:50:42 +0200290 <filtering>false</filtering>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200291 </resource>
292 </resources>
293 </configuration>
294 </execution>
295 </executions>
296 </plugin>
297
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200298 <!-- Liquibase -->
299 <plugin>
300 <groupId>org.liquibase</groupId>
301 <artifactId>liquibase-maven-plugin</artifactId>
302 <version>${liquibase.version}</version>
303 <configuration>
304 <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
305 </configuration>
306 <dependencies>
307 <dependency>
308 <groupId>org.liquibase.ext</groupId>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200309 <artifactId>liquibase-hibernate5</artifactId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200310 <version>${liquibase.version}</version>
311 </dependency>
312 <dependency>
313 <groupId>org.hibernate</groupId>
314 <artifactId>hibernate-core</artifactId>
315 <version>${hibernate.version}</version>
316 </dependency>
317 <dependency>
318 <groupId>org.hibernate</groupId>
319 <artifactId>hibernate-entitymanager</artifactId>
320 <version>${hibernate.version}</version>
321 </dependency>
322 <dependency>
323 <groupId>org.hibernate</groupId>
324 <artifactId>hibernate-envers</artifactId>
325 <version>${hibernate.version}</version>
326 </dependency>
327 <dependency>
328 <groupId>org.postgresql</groupId>
329 <artifactId>postgresql</artifactId>
330 <version>${postgresql.version}</version>
331 </dependency>
332 </dependencies>
333 </plugin>
334
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100335 <!-- Google Java Code Formatter, for enforcing style conventions -->
336 <plugin>
337 <groupId>com.diffplug.spotless</groupId>
338 <artifactId>spotless-maven-plugin</artifactId>
339 <version>${spotless-plugin.version}</version>
340 <configuration>
341 <java>
342 <removeUnusedImports/>
343 <importOrder>
344 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
345 </importOrder>
346 <googleJavaFormat>
347 <version>${google.java.format.version}</version>
348 <style>GOOGLE</style>
349 </googleJavaFormat>
350 </java>
351 </configuration>
352 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100353
354 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200355 <artifactId>maven-antrun-plugin</artifactId>
356 <version>${antrun-plugin.version}</version>
357 <executions>
358 <execution>
359 <phase>generate-resources</phase>
360 <configuration>
361 <target>
362 <ant target="web.resources" />
363 </target>
364 </configuration>
365 <goals>
366 <goal>run</goal>
367 </goals>
368 </execution>
369 </executions>
370 </plugin>
371
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100372 </plugins>
373
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100374 <resources>
375 <resource>
376 <directory>src/main/resources</directory>
377 <excludes>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200378 <exclude>META-INF/resources/.cache</exclude>
379 <exclude>META-INF/resources/.eslintrc.js</exclude>
380 <exclude>META-INF/resources/.flowconfig</exclude>
Matthias Andreas Benkard89c25ea2020-06-15 21:01:01 +0200381 <exclude>META-INF/resources/.parcel-cache/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200382 <exclude>META-INF/resources/dist/**/*</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100383 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200384 <exclude>META-INF/resources/web_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100385 <exclude>META-INF/resources/package.json</exclude>
386 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100387 </excludes>
388 <filtering>false</filtering>
389 </resource>
390 </resources>
391
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100392 </build>
393
394 <profiles>
395
396 <profile>
397
398 <id>native</id>
399
400 <activation>
401 <property>
402 <name>native</name>
403 </property>
404 </activation>
405
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100406 <properties>
407 <quarkus.package.type>native</quarkus.package.type>
408 </properties>
409
410 </profile>
411
412 </profiles>
413
414</project>