blob: a1d5cec4614a84c1e47cc92aed8ae6b2b56741f8 [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 Benkardd570ad52020-11-08 10:52:13 +010022 <quarkus.version>1.9.2.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 Benkardff358942020-11-03 06:16:17 +010026 <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010027 <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010028
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +020029 <basic-annotations.version>0.2.0</basic-annotations.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010030 <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
Matthias Andreas Benkard6b7e9412020-06-22 18:13:16 +020031 <flexmark.version>0.62.2</flexmark.version>
Matthias Andreas Benkarda0392372020-06-13 15:46:39 +020032 <google.java.format.version>1.8</google.java.format.version>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +020033 <hibernate.version>5.4.20.Final</hibernate.version>
Matthias Andreas Benkard45983ef2020-10-30 10:20:15 +010034 <hibernate-types.version>2.10.0</hibernate-types.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010035 <jakarta-jacc-api.version>1.6.1</jakarta-jacc-api.version>
Matthias Andreas Benkardaa196aa2020-07-18 12:36:57 +020036 <jna.version>5.6.0</jna.version>
Matthias Andreas Benkard551f50c2020-03-15 12:34:07 +010037 <jsoup.version>1.13.1</jsoup.version>
Matthias Andreas Benkard7bc7e702020-09-10 14:28:20 +020038 <kotlin-annotations.version>1.4.10</kotlin-annotations.version>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +020039 <liquibase.version>3.9.0</liquibase.version>
Matthias Andreas Benkard7bc7e702020-09-10 14:28:20 +020040 <postgresql.version>42.2.16</postgresql.version>
Matthias Andreas Benkardaa196aa2020-07-18 12:36:57 +020041 <rome.version>1.15.0</rome.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010042 </properties>
43
44 <dependencyManagement>
45 <dependencies>
46
47 <dependency>
48 <groupId>${quarkus.platform.group-id}</groupId>
49 <artifactId>${quarkus.platform.artifact-id}</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +020050 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010051 <type>pom</type>
52 <scope>import</scope>
53 </dependency>
54
55 <!-- Hibernate PostgreSQL Extra Types -->
56 <dependency>
57 <groupId>com.vladmihalcea</groupId>
58 <artifactId>hibernate-types-52</artifactId>
59 <version>${hibernate-types.version}</version>
60 </dependency>
61
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +020062 <!-- Annotations -->
63 <dependency>
64 <groupId>pl.tlinkowski.annotation</groupId>
65 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
66 <version>${basic-annotations.version}</version>
67 <scope>provided</scope>
68 </dependency>
69
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +010070 <!-- Jsoup -->
71 <dependency>
72 <groupId>org.jsoup</groupId>
73 <artifactId>jsoup</artifactId>
74 <version>${jsoup.version}</version>
75 </dependency>
76
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +010077 <!-- FlexMark -->
78 <dependency>
79 <groupId>com.vladsch.flexmark</groupId>
80 <artifactId>flexmark-all</artifactId>
81 <version>${flexmark.version}</version>
82 </dependency>
83
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +010084 <!-- Rome -->
85 <dependency>
86 <groupId>com.rometools</groupId>
87 <artifactId>rome</artifactId>
88 <version>${rome.version}</version>
89 </dependency>
90
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010091 <!-- JNA -->
92 <dependency>
93 <groupId>net.java.dev.jna</groupId>
94 <artifactId>jna</artifactId>
95 <version>${jna.version}</version>
96 </dependency>
97
98 <!-- JACC -->
99 <dependency>
100 <groupId>jakarta.security.jacc</groupId>
101 <artifactId>jakarta.security.jacc-api</artifactId>
102 <version>${jakarta-jacc-api.version}</version>
103 </dependency>
104
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100105 <!-- Annotations -->
106 <dependency>
107 <groupId>com.google.code.findbugs</groupId>
108 <artifactId>jsr305</artifactId>
109 <version>${findbugs-jsr305.version}</version>
110 <scope>provided</scope>
111 </dependency>
112
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100113 </dependencies>
114 </dependencyManagement>
115
116 <dependencies>
117
Matthias Andreas Benkardff358942020-11-03 06:16:17 +0100118 <!-- Quarkus -->
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100119 <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>
Matthias Andreas Benkardff358942020-11-03 06:16:17 +0100161 <artifactId>quarkus-resteasy-mutiny</artifactId>
162 </dependency>
163 <dependency>
164 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100165 <artifactId>quarkus-resteasy-qute</artifactId>
166 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100167 <dependency>
168 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardba3e58c2020-11-01 12:58:35 +0100169 <artifactId>quarkus-scheduler</artifactId>
170 </dependency>
171 <dependency>
172 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard7413c542020-10-30 10:18:46 +0100173 <artifactId>quarkus-smallrye-health</artifactId>
174 </dependency>
175 <dependency>
176 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100177 <artifactId>quarkus-smallrye-jwt</artifactId>
178 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200179 <dependency>
180 <groupId>io.quarkus</groupId>
181 <artifactId>quarkus-container-image-jib</artifactId>
182 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100183
Matthias Andreas Benkardff358942020-11-03 06:16:17 +0100184
185 <!-- Quarkus universe -->
186 <dependency>
187 <groupId>org.apache.camel.quarkus</groupId>
188 <artifactId>camel-quarkus-mail</artifactId>
189 </dependency>
190
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100191 <!-- JNA -->
192 <dependency>
193 <groupId>net.java.dev.jna</groupId>
194 <artifactId>jna</artifactId>
195 </dependency>
196
197 <!-- JACC -->
198 <dependency>
199 <groupId>jakarta.security.jacc</groupId>
200 <artifactId>jakarta.security.jacc-api</artifactId>
201 </dependency>
202
203 <!-- Hibernate PostgreSQL Extra Types -->
204 <dependency>
205 <groupId>com.vladmihalcea</groupId>
206 <artifactId>hibernate-types-52</artifactId>
207 </dependency>
208
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200209 <!-- Annotations -->
210 <dependency>
211 <groupId>pl.tlinkowski.annotation</groupId>
212 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
213 <scope>provided</scope>
214 </dependency>
215
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100216 <!-- Jsoup -->
217 <dependency>
218 <groupId>org.jsoup</groupId>
219 <artifactId>jsoup</artifactId>
220 </dependency>
221
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100222 <!-- FlexMark -->
223 <dependency>
224 <groupId>com.vladsch.flexmark</groupId>
225 <artifactId>flexmark-all</artifactId>
226 </dependency>
227
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100228 <!-- Rome -->
229 <dependency>
230 <groupId>com.rometools</groupId>
231 <artifactId>rome</artifactId>
232 </dependency>
233
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100234 <!-- Annotations -->
235 <dependency>
236 <groupId>com.google.code.findbugs</groupId>
237 <artifactId>jsr305</artifactId>
238 <scope>provided</scope>
239 </dependency>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200240 <dependency>
241 <groupId>org.jetbrains.kotlin</groupId>
242 <artifactId>kotlin-annotations-jvm</artifactId>
243 <version>${kotlin-annotations.version}</version>
244 <scope>provided</scope>
245 </dependency>
246
247 <!-- Hibernate -->
248 <dependency>
249 <groupId>org.hibernate</groupId>
250 <artifactId>hibernate-jpamodelgen</artifactId>
251 <version>${hibernate.version}</version>
252 <scope>provided</scope>
253 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100254
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100255 </dependencies>
256
257 <build>
258
259 <plugins>
260
261 <plugin>
262 <groupId>io.quarkus</groupId>
263 <artifactId>quarkus-maven-plugin</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +0200264 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100265 <executions>
266 <execution>
267 <goals>
268 <goal>build</goal>
269 </goals>
270 </execution>
271 </executions>
272 </plugin>
273
274 <plugin>
275 <artifactId>maven-compiler-plugin</artifactId>
276 <version>${compiler-plugin.version}</version>
277 </plugin>
278
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200279 <!-- Resources -->
280 <plugin>
281 <artifactId>maven-resources-plugin</artifactId>
282 <version>${resources-plugin.version}</version>
283 <executions>
284 <execution>
285 <id>copy-resources</id>
286 <phase>prepare-package</phase>
287 <goals>
288 <goal>copy-resources</goal>
289 </goals>
290 <configuration>
291 <outputDirectory>${basedir}/target/classes/META-INF/resources</outputDirectory>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200292 <overwrite>true</overwrite>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200293 <resources>
294 <resource>
295 <directory>${basedir}/src/main/resources/META-INF/resources/dist</directory>
Matthias Andreas Benkard3000a6a2020-09-10 15:50:42 +0200296 <filtering>false</filtering>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200297 </resource>
298 </resources>
299 </configuration>
300 </execution>
301 </executions>
302 </plugin>
303
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200304 <!-- Liquibase -->
305 <plugin>
306 <groupId>org.liquibase</groupId>
307 <artifactId>liquibase-maven-plugin</artifactId>
308 <version>${liquibase.version}</version>
309 <configuration>
310 <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
311 </configuration>
312 <dependencies>
313 <dependency>
314 <groupId>org.liquibase.ext</groupId>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200315 <artifactId>liquibase-hibernate5</artifactId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200316 <version>${liquibase.version}</version>
317 </dependency>
318 <dependency>
319 <groupId>org.hibernate</groupId>
320 <artifactId>hibernate-core</artifactId>
321 <version>${hibernate.version}</version>
322 </dependency>
323 <dependency>
324 <groupId>org.hibernate</groupId>
325 <artifactId>hibernate-entitymanager</artifactId>
326 <version>${hibernate.version}</version>
327 </dependency>
328 <dependency>
329 <groupId>org.hibernate</groupId>
330 <artifactId>hibernate-envers</artifactId>
331 <version>${hibernate.version}</version>
332 </dependency>
333 <dependency>
334 <groupId>org.postgresql</groupId>
335 <artifactId>postgresql</artifactId>
336 <version>${postgresql.version}</version>
337 </dependency>
338 </dependencies>
339 </plugin>
340
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100341 <!-- Google Java Code Formatter, for enforcing style conventions -->
342 <plugin>
343 <groupId>com.diffplug.spotless</groupId>
344 <artifactId>spotless-maven-plugin</artifactId>
345 <version>${spotless-plugin.version}</version>
346 <configuration>
347 <java>
348 <removeUnusedImports/>
349 <importOrder>
350 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
351 </importOrder>
352 <googleJavaFormat>
353 <version>${google.java.format.version}</version>
354 <style>GOOGLE</style>
355 </googleJavaFormat>
356 </java>
357 </configuration>
358 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100359
360 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200361 <artifactId>maven-antrun-plugin</artifactId>
362 <version>${antrun-plugin.version}</version>
363 <executions>
364 <execution>
365 <phase>generate-resources</phase>
366 <configuration>
367 <target>
368 <ant target="web.resources" />
369 </target>
370 </configuration>
371 <goals>
372 <goal>run</goal>
373 </goals>
374 </execution>
375 </executions>
376 </plugin>
377
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100378 </plugins>
379
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100380 <resources>
381 <resource>
382 <directory>src/main/resources</directory>
383 <excludes>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200384 <exclude>META-INF/resources/.cache</exclude>
385 <exclude>META-INF/resources/.eslintrc.js</exclude>
386 <exclude>META-INF/resources/.flowconfig</exclude>
Matthias Andreas Benkard89c25ea2020-06-15 21:01:01 +0200387 <exclude>META-INF/resources/.parcel-cache/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200388 <exclude>META-INF/resources/dist/**/*</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100389 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200390 <exclude>META-INF/resources/web_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100391 <exclude>META-INF/resources/package.json</exclude>
392 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100393 </excludes>
394 <filtering>false</filtering>
395 </resource>
396 </resources>
397
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100398 </build>
399
400 <profiles>
401
402 <profile>
403
404 <id>native</id>
405
406 <activation>
407 <property>
408 <name>native</name>
409 </property>
410 </activation>
411
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100412 <properties>
413 <quarkus.package.type>native</quarkus.package.type>
414 </properties>
415
416 </profile>
417
418 </profiles>
419
420</project>