blob: ab3f5ac04041bf77aaf43d33efb25090e7029515 [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 Benkard8ddaf662020-01-19 20:21:57 +0100106 <!-- Annotations -->
107 <dependency>
108 <groupId>com.google.code.findbugs</groupId>
109 <artifactId>jsr305</artifactId>
110 <version>${findbugs-jsr305.version}</version>
111 <scope>provided</scope>
112 </dependency>
113
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100114 </dependencies>
115 </dependencyManagement>
116
117 <dependencies>
118
119 <dependency>
120 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100121 <artifactId>quarkus-agroal</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100122 </dependency>
123 <dependency>
124 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +0100125 <artifactId>quarkus-elytron-security-properties-file</artifactId>
126 </dependency>
127 <dependency>
128 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100129 <artifactId>quarkus-hibernate-orm-panache</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100130 </dependency>
131 <dependency>
132 <groupId>io.quarkus</groupId>
133 <artifactId>quarkus-hibernate-validator</artifactId>
134 </dependency>
135 <dependency>
136 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100137 <artifactId>quarkus-jdbc-postgresql</artifactId>
138 </dependency>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100139 <dependency>
140 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200141 <artifactId>quarkus-liquibase</artifactId>
142 </dependency>
143 <dependency>
144 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardba3e58c2020-11-01 12:58:35 +0100145 <artifactId>quarkus-mailer</artifactId>
146 </dependency>
147 <dependency>
148 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100149 <artifactId>quarkus-oidc</artifactId>
150 </dependency>
151 <dependency>
152 <groupId>io.quarkus</groupId>
153 <artifactId>quarkus-resteasy</artifactId>
154 </dependency>
155 <dependency>
156 <groupId>io.quarkus</groupId>
157 <artifactId>quarkus-resteasy-jsonb</artifactId>
158 </dependency>
159 <dependency>
160 <groupId>io.quarkus</groupId>
161 <artifactId>quarkus-resteasy-qute</artifactId>
162 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100163 <dependency>
164 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardba3e58c2020-11-01 12:58:35 +0100165 <artifactId>quarkus-scheduler</artifactId>
166 </dependency>
167 <dependency>
168 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard7413c542020-10-30 10:18:46 +0100169 <artifactId>quarkus-smallrye-health</artifactId>
170 </dependency>
171 <dependency>
172 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100173 <artifactId>quarkus-smallrye-jwt</artifactId>
174 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200175 <dependency>
176 <groupId>io.quarkus</groupId>
177 <artifactId>quarkus-container-image-jib</artifactId>
178 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100179
180 <!-- JNA -->
181 <dependency>
182 <groupId>net.java.dev.jna</groupId>
183 <artifactId>jna</artifactId>
184 </dependency>
185
186 <!-- JACC -->
187 <dependency>
188 <groupId>jakarta.security.jacc</groupId>
189 <artifactId>jakarta.security.jacc-api</artifactId>
190 </dependency>
191
192 <!-- Hibernate PostgreSQL Extra Types -->
193 <dependency>
194 <groupId>com.vladmihalcea</groupId>
195 <artifactId>hibernate-types-52</artifactId>
196 </dependency>
197
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200198 <!-- Annotations -->
199 <dependency>
200 <groupId>pl.tlinkowski.annotation</groupId>
201 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
202 <scope>provided</scope>
203 </dependency>
204
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100205 <!-- Jsoup -->
206 <dependency>
207 <groupId>org.jsoup</groupId>
208 <artifactId>jsoup</artifactId>
209 </dependency>
210
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100211 <!-- FlexMark -->
212 <dependency>
213 <groupId>com.vladsch.flexmark</groupId>
214 <artifactId>flexmark-all</artifactId>
215 </dependency>
216
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100217 <!-- Rome -->
218 <dependency>
219 <groupId>com.rometools</groupId>
220 <artifactId>rome</artifactId>
221 </dependency>
222
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100223 <!-- Annotations -->
224 <dependency>
225 <groupId>com.google.code.findbugs</groupId>
226 <artifactId>jsr305</artifactId>
227 <scope>provided</scope>
228 </dependency>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200229 <dependency>
230 <groupId>org.jetbrains.kotlin</groupId>
231 <artifactId>kotlin-annotations-jvm</artifactId>
232 <version>${kotlin-annotations.version}</version>
233 <scope>provided</scope>
234 </dependency>
235
236 <!-- Hibernate -->
237 <dependency>
238 <groupId>org.hibernate</groupId>
239 <artifactId>hibernate-jpamodelgen</artifactId>
240 <version>${hibernate.version}</version>
241 <scope>provided</scope>
242 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100243
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100244 </dependencies>
245
246 <build>
247
248 <plugins>
249
250 <plugin>
251 <groupId>io.quarkus</groupId>
252 <artifactId>quarkus-maven-plugin</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +0200253 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100254 <executions>
255 <execution>
256 <goals>
257 <goal>build</goal>
258 </goals>
259 </execution>
260 </executions>
261 </plugin>
262
263 <plugin>
264 <artifactId>maven-compiler-plugin</artifactId>
265 <version>${compiler-plugin.version}</version>
266 </plugin>
267
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200268 <!-- Resources -->
269 <plugin>
270 <artifactId>maven-resources-plugin</artifactId>
271 <version>${resources-plugin.version}</version>
272 <executions>
273 <execution>
274 <id>copy-resources</id>
275 <phase>prepare-package</phase>
276 <goals>
277 <goal>copy-resources</goal>
278 </goals>
279 <configuration>
280 <outputDirectory>${basedir}/target/classes/META-INF/resources</outputDirectory>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200281 <overwrite>true</overwrite>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200282 <resources>
283 <resource>
284 <directory>${basedir}/src/main/resources/META-INF/resources/dist</directory>
Matthias Andreas Benkard3000a6a2020-09-10 15:50:42 +0200285 <filtering>false</filtering>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200286 </resource>
287 </resources>
288 </configuration>
289 </execution>
290 </executions>
291 </plugin>
292
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200293 <!-- Liquibase -->
294 <plugin>
295 <groupId>org.liquibase</groupId>
296 <artifactId>liquibase-maven-plugin</artifactId>
297 <version>${liquibase.version}</version>
298 <configuration>
299 <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
300 </configuration>
301 <dependencies>
302 <dependency>
303 <groupId>org.liquibase.ext</groupId>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200304 <artifactId>liquibase-hibernate5</artifactId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200305 <version>${liquibase.version}</version>
306 </dependency>
307 <dependency>
308 <groupId>org.hibernate</groupId>
309 <artifactId>hibernate-core</artifactId>
310 <version>${hibernate.version}</version>
311 </dependency>
312 <dependency>
313 <groupId>org.hibernate</groupId>
314 <artifactId>hibernate-entitymanager</artifactId>
315 <version>${hibernate.version}</version>
316 </dependency>
317 <dependency>
318 <groupId>org.hibernate</groupId>
319 <artifactId>hibernate-envers</artifactId>
320 <version>${hibernate.version}</version>
321 </dependency>
322 <dependency>
323 <groupId>org.postgresql</groupId>
324 <artifactId>postgresql</artifactId>
325 <version>${postgresql.version}</version>
326 </dependency>
327 </dependencies>
328 </plugin>
329
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100330 <!-- Google Java Code Formatter, for enforcing style conventions -->
331 <plugin>
332 <groupId>com.diffplug.spotless</groupId>
333 <artifactId>spotless-maven-plugin</artifactId>
334 <version>${spotless-plugin.version}</version>
335 <configuration>
336 <java>
337 <removeUnusedImports/>
338 <importOrder>
339 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
340 </importOrder>
341 <googleJavaFormat>
342 <version>${google.java.format.version}</version>
343 <style>GOOGLE</style>
344 </googleJavaFormat>
345 </java>
346 </configuration>
347 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100348
349 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200350 <artifactId>maven-antrun-plugin</artifactId>
351 <version>${antrun-plugin.version}</version>
352 <executions>
353 <execution>
354 <phase>generate-resources</phase>
355 <configuration>
356 <target>
357 <ant target="web.resources" />
358 </target>
359 </configuration>
360 <goals>
361 <goal>run</goal>
362 </goals>
363 </execution>
364 </executions>
365 </plugin>
366
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100367 </plugins>
368
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100369 <resources>
370 <resource>
371 <directory>src/main/resources</directory>
372 <excludes>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200373 <exclude>META-INF/resources/.cache</exclude>
374 <exclude>META-INF/resources/.eslintrc.js</exclude>
375 <exclude>META-INF/resources/.flowconfig</exclude>
Matthias Andreas Benkard89c25ea2020-06-15 21:01:01 +0200376 <exclude>META-INF/resources/.parcel-cache/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200377 <exclude>META-INF/resources/dist/**/*</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100378 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200379 <exclude>META-INF/resources/web_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100380 <exclude>META-INF/resources/package.json</exclude>
381 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100382 </excludes>
383 <filtering>false</filtering>
384 </resource>
385 </resources>
386
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100387 </build>
388
389 <profiles>
390
391 <profile>
392
393 <id>native</id>
394
395 <activation>
396 <property>
397 <name>native</name>
398 </property>
399 </activation>
400
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100401 <properties>
402 <quarkus.package.type>native</quarkus.package.type>
403 </properties>
404
405 </profile>
406
407 </profiles>
408
409</project>