blob: bbd263ad805afaffe7b8359e0aaf7ec2a2deaac8 [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 Benkard7f4dacc2020-04-13 11:25:19 +020019 <antrun-plugin.version>1.8</antrun-plugin.version>
Matthias Andreas Benkard55243c82020-04-13 20:49:15 +020020 <compiler-plugin.version>3.8.1</compiler-plugin.version>
Matthias Andreas Benkardb2244512020-04-17 21:25:24 +020021 <quarkus-plugin.version>1.4.0.CR1</quarkus-plugin.version>
Matthias Andreas Benkard55243c82020-04-13 20:49:15 +020022 <spotless-plugin.version>1.30.0</spotless-plugin.version>
23 <surefire-plugin.version>3.0.0-M4</surefire-plugin.version>
Matthias Andreas Benkarddf7485c2020-04-20 08:38:31 +020024 <failsafe-plugin.version>3.0.0-M4</failsafe-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 Benkardb2244512020-04-17 21:25:24 +020029 <quarkus.platform.version>1.4.0.CR1</quarkus.platform.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010030
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +020031 <basic-annotations.version>0.2.0</basic-annotations.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010032 <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
Matthias Andreas Benkarddf7485c2020-04-20 08:38:31 +020033 <flexmark.version>0.61.16</flexmark.version>
Matthias Andreas Benkard593765d2020-04-18 20:44:07 +020034 <google.java.format.version>1.7</google.java.format.version>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +020035 <hibernate.version>5.4.14.Final</hibernate.version>
Matthias Andreas Benkard699e9ab2020-04-10 15:52:54 +020036 <hibernate-types.version>2.9.8</hibernate-types.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010037 <jakarta-jacc-api.version>1.6.1</jakarta-jacc-api.version>
38 <jna.version>5.5.0</jna.version>
Matthias Andreas Benkard551f50c2020-03-15 12:34:07 +010039 <jsoup.version>1.13.1</jsoup.version>
Matthias Andreas Benkard06849562020-02-14 20:13:17 +010040 <mapstruct.version>1.3.1.Final</mapstruct.version>
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +010041 <rome.version>1.12.2</rome.version>
Matthias Andreas Benkard70d27952020-04-17 21:30:09 +020042 <testcontainers.version>1.14.0</testcontainers.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>
51 <version>${quarkus.platform.version}</version>
52 <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 <!-- MapStruct -->
114 <dependency>
115 <groupId>org.mapstruct</groupId>
116 <artifactId>mapstruct</artifactId>
117 <version>${mapstruct.version}</version>
118 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100119
120 <!-- Annotations -->
121 <dependency>
122 <groupId>com.google.code.findbugs</groupId>
123 <artifactId>jsr305</artifactId>
124 <version>${findbugs-jsr305.version}</version>
125 <scope>provided</scope>
126 </dependency>
127
128 <!-- Testing -->
129 <dependency>
130 <groupId>org.testcontainers</groupId>
131 <artifactId>testcontainers</artifactId>
132 <version>${testcontainers.version}</version>
133 <scope>test</scope>
134 </dependency>
135 <dependency>
136 <groupId>org.testcontainers</groupId>
137 <artifactId>postgresql</artifactId>
138 <version>${testcontainers.version}</version>
139 <scope>test</scope>
140 </dependency>
141
142 </dependencies>
143 </dependencyManagement>
144
145 <dependencies>
146
147 <dependency>
148 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100149 <artifactId>quarkus-agroal</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100150 </dependency>
151 <dependency>
152 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +0100153 <artifactId>quarkus-elytron-security-properties-file</artifactId>
154 </dependency>
155 <dependency>
156 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100157 <artifactId>quarkus-flyway</artifactId>
158 </dependency>
159 <dependency>
160 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100161 <artifactId>quarkus-hibernate-orm-panache</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100162 </dependency>
163 <dependency>
164 <groupId>io.quarkus</groupId>
165 <artifactId>quarkus-hibernate-validator</artifactId>
166 </dependency>
167 <dependency>
168 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100169 <artifactId>quarkus-jdbc-postgresql</artifactId>
170 </dependency>
Matthias Andreas Benkard84db3792020-03-15 12:48:29 +0100171 <!--
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100172 <dependency>
173 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100174 <artifactId>quarkus-kubernetes</artifactId>
175 </dependency>
Matthias Andreas Benkard84db3792020-03-15 12:48:29 +0100176 -->
Matthias Andreas Benkarddf7485c2020-04-20 08:38:31 +0200177 <!--
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100178 <dependency>
179 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100180 <artifactId>quarkus-mailer</artifactId>
181 </dependency>
Matthias Andreas Benkarddf7485c2020-04-20 08:38:31 +0200182 -->
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100183 <dependency>
184 <groupId>io.quarkus</groupId>
185 <artifactId>quarkus-oidc</artifactId>
186 </dependency>
187 <dependency>
188 <groupId>io.quarkus</groupId>
189 <artifactId>quarkus-resteasy</artifactId>
190 </dependency>
191 <dependency>
192 <groupId>io.quarkus</groupId>
193 <artifactId>quarkus-resteasy-jsonb</artifactId>
194 </dependency>
195 <dependency>
196 <groupId>io.quarkus</groupId>
197 <artifactId>quarkus-resteasy-qute</artifactId>
198 </dependency>
Matthias Andreas Benkarddf7485c2020-04-20 08:38:31 +0200199 <!--
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100200 <dependency>
201 <groupId>io.quarkus</groupId>
202 <artifactId>quarkus-scheduler</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100203 </dependency>
Matthias Andreas Benkarddf7485c2020-04-20 08:38:31 +0200204 -->
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100205 <dependency>
206 <groupId>io.quarkus</groupId>
207 <artifactId>quarkus-smallrye-jwt</artifactId>
208 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200209 <dependency>
210 <groupId>io.quarkus</groupId>
211 <artifactId>quarkus-container-image-jib</artifactId>
212 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100213
214 <!-- JNA -->
215 <dependency>
216 <groupId>net.java.dev.jna</groupId>
217 <artifactId>jna</artifactId>
218 </dependency>
219
220 <!-- JACC -->
221 <dependency>
222 <groupId>jakarta.security.jacc</groupId>
223 <artifactId>jakarta.security.jacc-api</artifactId>
224 </dependency>
225
226 <!-- Hibernate PostgreSQL Extra Types -->
227 <dependency>
228 <groupId>com.vladmihalcea</groupId>
229 <artifactId>hibernate-types-52</artifactId>
230 </dependency>
231
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200232 <!-- Annotations -->
233 <dependency>
234 <groupId>pl.tlinkowski.annotation</groupId>
235 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
236 <scope>provided</scope>
237 </dependency>
238
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100239 <!-- Jsoup -->
240 <dependency>
241 <groupId>org.jsoup</groupId>
242 <artifactId>jsoup</artifactId>
243 </dependency>
244
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100245 <!-- FlexMark -->
246 <dependency>
247 <groupId>com.vladsch.flexmark</groupId>
248 <artifactId>flexmark-all</artifactId>
249 </dependency>
250
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100251 <!-- Rome -->
252 <dependency>
253 <groupId>com.rometools</groupId>
254 <artifactId>rome</artifactId>
255 </dependency>
256
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100257 <!-- JOSE for Java -->
258 <dependency>
259 <groupId>org.bitbucket.b_c</groupId>
260 <artifactId>jose4j</artifactId>
261 </dependency>
262
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100263 <!-- MapStruct -->
264 <dependency>
265 <groupId>org.mapstruct</groupId>
266 <artifactId>mapstruct</artifactId>
267 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100268
269 <!-- Annotations -->
270 <dependency>
271 <groupId>com.google.code.findbugs</groupId>
272 <artifactId>jsr305</artifactId>
273 <scope>provided</scope>
274 </dependency>
275
276 <!-- Testing -->
277 <dependency>
278 <groupId>io.quarkus</groupId>
279 <artifactId>quarkus-junit5</artifactId>
280 <scope>test</scope>
281 </dependency>
282 <dependency>
283 <groupId>io.rest-assured</groupId>
284 <artifactId>rest-assured</artifactId>
285 <scope>test</scope>
286 </dependency>
287 <dependency>
288 <groupId>org.testcontainers</groupId>
289 <artifactId>junit-jupiter</artifactId>
290 <scope>test</scope>
291 </dependency>
292 <dependency>
293 <groupId>org.testcontainers</groupId>
294 <artifactId>testcontainers</artifactId>
295 <scope>test</scope>
296 </dependency>
297 <dependency>
298 <groupId>org.testcontainers</groupId>
299 <artifactId>postgresql</artifactId>
300 <scope>test</scope>
301 </dependency>
302
303 </dependencies>
304
305 <build>
306
307 <plugins>
308
309 <plugin>
310 <groupId>io.quarkus</groupId>
311 <artifactId>quarkus-maven-plugin</artifactId>
312 <version>${quarkus-plugin.version}</version>
313 <executions>
314 <execution>
315 <goals>
316 <goal>build</goal>
317 </goals>
318 </execution>
319 </executions>
320 </plugin>
321
322 <plugin>
323 <artifactId>maven-compiler-plugin</artifactId>
324 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +0200325
326 <configuration>
327 <annotationProcessorPaths>
328 <!-- Hibernate -->
329 <annotationProcessorPath>
330 <groupId>org.hibernate</groupId>
331 <artifactId>hibernate-jpamodelgen</artifactId>
332 <version>${hibernate.version}</version>
333 </annotationProcessorPath>
334
335 <!-- MapStruct -->
336 <annotationProcessorPath>
337 <groupId>org.mapstruct</groupId>
338 <artifactId>mapstruct-processor</artifactId>
339 <version>${mapstruct.version}</version>
340 </annotationProcessorPath>
341 </annotationProcessorPaths>
342 </configuration>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100343 </plugin>
344
345 <plugin>
346 <artifactId>maven-surefire-plugin</artifactId>
347 <version>${surefire-plugin.version}</version>
348 <configuration>
349 <systemProperties>
350 <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
351 <compilerArgs>
352 <compilerArg>-Amapstruct.defaultComponentModel=cdi</compilerArg>
353 </compilerArgs>
354 </systemProperties>
355 </configuration>
356 </plugin>
357
358 <!-- Google Java Code Formatter, for enforcing style conventions -->
359 <plugin>
360 <groupId>com.diffplug.spotless</groupId>
361 <artifactId>spotless-maven-plugin</artifactId>
362 <version>${spotless-plugin.version}</version>
363 <configuration>
364 <java>
365 <removeUnusedImports/>
366 <importOrder>
367 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
368 </importOrder>
369 <googleJavaFormat>
370 <version>${google.java.format.version}</version>
371 <style>GOOGLE</style>
372 </googleJavaFormat>
373 </java>
374 </configuration>
375 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100376
377 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200378 <artifactId>maven-antrun-plugin</artifactId>
379 <version>${antrun-plugin.version}</version>
380 <executions>
381 <execution>
382 <phase>generate-resources</phase>
383 <configuration>
384 <target>
385 <ant target="web.resources" />
386 </target>
387 </configuration>
388 <goals>
389 <goal>run</goal>
390 </goals>
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>
401 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100402 <exclude>META-INF/resources/package.json</exclude>
403 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100404 </excludes>
405 <filtering>false</filtering>
406 </resource>
407 </resources>
408
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100409 </build>
410
411 <profiles>
412
413 <profile>
414
415 <id>native</id>
416
417 <activation>
418 <property>
419 <name>native</name>
420 </property>
421 </activation>
422
423 <build>
424 <plugins>
425 <plugin>
426 <artifactId>maven-failsafe-plugin</artifactId>
Matthias Andreas Benkarddf7485c2020-04-20 08:38:31 +0200427 <version>${failsafe-plugin.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100428 <executions>
429 <execution>
430 <goals>
431 <goal>integration-test</goal>
432 <goal>verify</goal>
433 </goals>
434 <configuration>
435 <systemProperties>
436 <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
437 </systemProperties>
438 </configuration>
439 </execution>
440 </executions>
441 </plugin>
442 </plugins>
443 </build>
444
445 <properties>
446 <quarkus.package.type>native</quarkus.package.type>
447 </properties>
448
449 </profile>
450
451 </profiles>
452
453</project>