blob: 6beda4a0fba58b44cdb49cf7ce8582e78c8cc7b8 [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>
267 </plugin>
268
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200269 <!-- Resources -->
270 <plugin>
271 <artifactId>maven-resources-plugin</artifactId>
272 <version>${resources-plugin.version}</version>
273 <executions>
274 <execution>
275 <id>copy-resources</id>
276 <phase>prepare-package</phase>
277 <goals>
278 <goal>copy-resources</goal>
279 </goals>
280 <configuration>
281 <outputDirectory>${basedir}/target/classes/META-INF/resources</outputDirectory>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200282 <overwrite>true</overwrite>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200283 <resources>
284 <resource>
285 <directory>${basedir}/src/main/resources/META-INF/resources/dist</directory>
Matthias Andreas Benkard3000a6a2020-09-10 15:50:42 +0200286 <filtering>false</filtering>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200287 </resource>
288 </resources>
289 </configuration>
290 </execution>
291 </executions>
292 </plugin>
293
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200294 <!-- Liquibase -->
295 <plugin>
296 <groupId>org.liquibase</groupId>
297 <artifactId>liquibase-maven-plugin</artifactId>
298 <version>${liquibase.version}</version>
299 <configuration>
300 <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
301 </configuration>
302 <dependencies>
303 <dependency>
304 <groupId>org.liquibase.ext</groupId>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200305 <artifactId>liquibase-hibernate5</artifactId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200306 <version>${liquibase.version}</version>
307 </dependency>
308 <dependency>
309 <groupId>org.hibernate</groupId>
310 <artifactId>hibernate-core</artifactId>
311 <version>${hibernate.version}</version>
312 </dependency>
313 <dependency>
314 <groupId>org.hibernate</groupId>
315 <artifactId>hibernate-entitymanager</artifactId>
316 <version>${hibernate.version}</version>
317 </dependency>
318 <dependency>
319 <groupId>org.hibernate</groupId>
320 <artifactId>hibernate-envers</artifactId>
321 <version>${hibernate.version}</version>
322 </dependency>
323 <dependency>
324 <groupId>org.postgresql</groupId>
325 <artifactId>postgresql</artifactId>
326 <version>${postgresql.version}</version>
327 </dependency>
328 </dependencies>
329 </plugin>
330
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100331 <!-- Google Java Code Formatter, for enforcing style conventions -->
332 <plugin>
333 <groupId>com.diffplug.spotless</groupId>
334 <artifactId>spotless-maven-plugin</artifactId>
335 <version>${spotless-plugin.version}</version>
336 <configuration>
337 <java>
338 <removeUnusedImports/>
339 <importOrder>
340 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
341 </importOrder>
342 <googleJavaFormat>
343 <version>${google.java.format.version}</version>
344 <style>GOOGLE</style>
345 </googleJavaFormat>
346 </java>
347 </configuration>
348 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100349
350 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200351 <artifactId>maven-antrun-plugin</artifactId>
352 <version>${antrun-plugin.version}</version>
353 <executions>
354 <execution>
355 <phase>generate-resources</phase>
356 <configuration>
357 <target>
358 <ant target="web.resources" />
359 </target>
360 </configuration>
361 <goals>
362 <goal>run</goal>
363 </goals>
364 </execution>
365 </executions>
366 </plugin>
367
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100368 </plugins>
369
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100370 <resources>
371 <resource>
372 <directory>src/main/resources</directory>
373 <excludes>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200374 <exclude>META-INF/resources/.cache</exclude>
375 <exclude>META-INF/resources/.eslintrc.js</exclude>
376 <exclude>META-INF/resources/.flowconfig</exclude>
Matthias Andreas Benkard89c25ea2020-06-15 21:01:01 +0200377 <exclude>META-INF/resources/.parcel-cache/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200378 <exclude>META-INF/resources/dist/**/*</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100379 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200380 <exclude>META-INF/resources/web_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100381 <exclude>META-INF/resources/package.json</exclude>
382 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100383 </excludes>
384 <filtering>false</filtering>
385 </resource>
386 </resources>
387
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100388 </build>
389
390 <profiles>
391
392 <profile>
393
394 <id>native</id>
395
396 <activation>
397 <property>
398 <name>native</name>
399 </property>
400 </activation>
401
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100402 <properties>
403 <quarkus.package.type>native</quarkus.package.type>
404 </properties>
405
406 </profile>
407
408 </profiles>
409
410</project>