blob: bd812b83d6c2d6671f5e490d6b47baf3858470ea [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>
21 <docker-plugin.version>0.33.0</docker-plugin.version>
Matthias Andreas Benkardb2244512020-04-17 21:25:24 +020022 <quarkus-plugin.version>1.4.0.CR1</quarkus-plugin.version>
Matthias Andreas Benkard55243c82020-04-13 20:49:15 +020023 <spotless-plugin.version>1.30.0</spotless-plugin.version>
24 <surefire-plugin.version>3.0.0-M4</surefire-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 Benkard70d27952020-04-17 21:30:09 +020033 <flexmark.version>0.61.10</flexmark.version>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +020034 <hibernate.version>5.4.14.Final</hibernate.version>
Matthias Andreas Benkard699e9ab2020-04-10 15:52:54 +020035 <hibernate-types.version>2.9.8</hibernate-types.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010036 <jakarta-jacc-api.version>1.6.1</jakarta-jacc-api.version>
37 <jna.version>5.5.0</jna.version>
Matthias Andreas Benkard551f50c2020-03-15 12:34:07 +010038 <jsoup.version>1.13.1</jsoup.version>
Matthias Andreas Benkard06849562020-02-14 20:13:17 +010039 <mapstruct.version>1.3.1.Final</mapstruct.version>
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +010040 <rome.version>1.12.2</rome.version>
Matthias Andreas Benkard70d27952020-04-17 21:30:09 +020041 <testcontainers.version>1.14.0</testcontainers.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>
50 <version>${quarkus.platform.version}</version>
51 <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 Benkard2a1383f2020-02-01 23:53:17 +0100105 <!-- JOSE for Java -->
106 <dependency>
107 <groupId>org.bitbucket.b_c</groupId>
108 <artifactId>jose4j</artifactId>
109 <version>0.7.0</version>
110 </dependency>
111
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100112 <!-- MapStruct -->
113 <dependency>
114 <groupId>org.mapstruct</groupId>
115 <artifactId>mapstruct</artifactId>
116 <version>${mapstruct.version}</version>
117 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100118
119 <!-- Annotations -->
120 <dependency>
121 <groupId>com.google.code.findbugs</groupId>
122 <artifactId>jsr305</artifactId>
123 <version>${findbugs-jsr305.version}</version>
124 <scope>provided</scope>
125 </dependency>
126
127 <!-- Testing -->
128 <dependency>
129 <groupId>org.testcontainers</groupId>
130 <artifactId>testcontainers</artifactId>
131 <version>${testcontainers.version}</version>
132 <scope>test</scope>
133 </dependency>
134 <dependency>
135 <groupId>org.testcontainers</groupId>
136 <artifactId>postgresql</artifactId>
137 <version>${testcontainers.version}</version>
138 <scope>test</scope>
139 </dependency>
140
141 </dependencies>
142 </dependencyManagement>
143
144 <dependencies>
145
146 <dependency>
147 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100148 <artifactId>quarkus-agroal</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100149 </dependency>
150 <dependency>
151 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +0100152 <artifactId>quarkus-elytron-security-properties-file</artifactId>
153 </dependency>
154 <dependency>
155 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100156 <artifactId>quarkus-flyway</artifactId>
157 </dependency>
158 <dependency>
159 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100160 <artifactId>quarkus-hibernate-orm-panache</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100161 </dependency>
162 <dependency>
163 <groupId>io.quarkus</groupId>
164 <artifactId>quarkus-hibernate-validator</artifactId>
165 </dependency>
166 <dependency>
167 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100168 <artifactId>quarkus-jdbc-postgresql</artifactId>
169 </dependency>
Matthias Andreas Benkard84db3792020-03-15 12:48:29 +0100170 <!--
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100171 <dependency>
172 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100173 <artifactId>quarkus-kubernetes</artifactId>
174 </dependency>
Matthias Andreas Benkard84db3792020-03-15 12:48:29 +0100175 -->
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100176 <dependency>
177 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100178 <artifactId>quarkus-mailer</artifactId>
179 </dependency>
180 <dependency>
181 <groupId>io.quarkus</groupId>
182 <artifactId>quarkus-oidc</artifactId>
183 </dependency>
184 <dependency>
185 <groupId>io.quarkus</groupId>
186 <artifactId>quarkus-resteasy</artifactId>
187 </dependency>
188 <dependency>
189 <groupId>io.quarkus</groupId>
190 <artifactId>quarkus-resteasy-jsonb</artifactId>
191 </dependency>
192 <dependency>
193 <groupId>io.quarkus</groupId>
194 <artifactId>quarkus-resteasy-qute</artifactId>
195 </dependency>
196 <dependency>
197 <groupId>io.quarkus</groupId>
198 <artifactId>quarkus-scheduler</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100199 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100200 <dependency>
201 <groupId>io.quarkus</groupId>
202 <artifactId>quarkus-smallrye-jwt</artifactId>
203 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200204 <dependency>
205 <groupId>io.quarkus</groupId>
206 <artifactId>quarkus-container-image-jib</artifactId>
207 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100208
209 <!-- JNA -->
210 <dependency>
211 <groupId>net.java.dev.jna</groupId>
212 <artifactId>jna</artifactId>
213 </dependency>
214
215 <!-- JACC -->
216 <dependency>
217 <groupId>jakarta.security.jacc</groupId>
218 <artifactId>jakarta.security.jacc-api</artifactId>
219 </dependency>
220
221 <!-- Hibernate PostgreSQL Extra Types -->
222 <dependency>
223 <groupId>com.vladmihalcea</groupId>
224 <artifactId>hibernate-types-52</artifactId>
225 </dependency>
226
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200227 <!-- Annotations -->
228 <dependency>
229 <groupId>pl.tlinkowski.annotation</groupId>
230 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
231 <scope>provided</scope>
232 </dependency>
233
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100234 <!-- Jsoup -->
235 <dependency>
236 <groupId>org.jsoup</groupId>
237 <artifactId>jsoup</artifactId>
238 </dependency>
239
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100240 <!-- FlexMark -->
241 <dependency>
242 <groupId>com.vladsch.flexmark</groupId>
243 <artifactId>flexmark-all</artifactId>
244 </dependency>
245
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100246 <!-- Rome -->
247 <dependency>
248 <groupId>com.rometools</groupId>
249 <artifactId>rome</artifactId>
250 </dependency>
251
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100252 <!-- JOSE for Java -->
253 <dependency>
254 <groupId>org.bitbucket.b_c</groupId>
255 <artifactId>jose4j</artifactId>
256 </dependency>
257
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100258 <!-- MapStruct -->
259 <dependency>
260 <groupId>org.mapstruct</groupId>
261 <artifactId>mapstruct</artifactId>
262 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100263
264 <!-- Annotations -->
265 <dependency>
266 <groupId>com.google.code.findbugs</groupId>
267 <artifactId>jsr305</artifactId>
268 <scope>provided</scope>
269 </dependency>
270
271 <!-- Testing -->
272 <dependency>
273 <groupId>io.quarkus</groupId>
274 <artifactId>quarkus-junit5</artifactId>
275 <scope>test</scope>
276 </dependency>
277 <dependency>
278 <groupId>io.rest-assured</groupId>
279 <artifactId>rest-assured</artifactId>
280 <scope>test</scope>
281 </dependency>
282 <dependency>
283 <groupId>org.testcontainers</groupId>
284 <artifactId>junit-jupiter</artifactId>
285 <scope>test</scope>
286 </dependency>
287 <dependency>
288 <groupId>org.testcontainers</groupId>
289 <artifactId>testcontainers</artifactId>
290 <scope>test</scope>
291 </dependency>
292 <dependency>
293 <groupId>org.testcontainers</groupId>
294 <artifactId>postgresql</artifactId>
295 <scope>test</scope>
296 </dependency>
297
298 </dependencies>
299
300 <build>
301
302 <plugins>
303
304 <plugin>
305 <groupId>io.quarkus</groupId>
306 <artifactId>quarkus-maven-plugin</artifactId>
307 <version>${quarkus-plugin.version}</version>
308 <executions>
309 <execution>
310 <goals>
311 <goal>build</goal>
312 </goals>
313 </execution>
314 </executions>
315 </plugin>
316
317 <plugin>
318 <artifactId>maven-compiler-plugin</artifactId>
319 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +0200320
321 <configuration>
322 <annotationProcessorPaths>
323 <!-- Hibernate -->
324 <annotationProcessorPath>
325 <groupId>org.hibernate</groupId>
326 <artifactId>hibernate-jpamodelgen</artifactId>
327 <version>${hibernate.version}</version>
328 </annotationProcessorPath>
329
330 <!-- MapStruct -->
331 <annotationProcessorPath>
332 <groupId>org.mapstruct</groupId>
333 <artifactId>mapstruct-processor</artifactId>
334 <version>${mapstruct.version}</version>
335 </annotationProcessorPath>
336 </annotationProcessorPaths>
337 </configuration>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100338 </plugin>
339
340 <plugin>
341 <artifactId>maven-surefire-plugin</artifactId>
342 <version>${surefire-plugin.version}</version>
343 <configuration>
344 <systemProperties>
345 <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
346 <compilerArgs>
347 <compilerArg>-Amapstruct.defaultComponentModel=cdi</compilerArg>
348 </compilerArgs>
349 </systemProperties>
350 </configuration>
351 </plugin>
352
353 <!-- Google Java Code Formatter, for enforcing style conventions -->
354 <plugin>
355 <groupId>com.diffplug.spotless</groupId>
356 <artifactId>spotless-maven-plugin</artifactId>
357 <version>${spotless-plugin.version}</version>
358 <configuration>
359 <java>
360 <removeUnusedImports/>
361 <importOrder>
362 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
363 </importOrder>
364 <googleJavaFormat>
365 <version>${google.java.format.version}</version>
366 <style>GOOGLE</style>
367 </googleJavaFormat>
368 </java>
369 </configuration>
370 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100371
372 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200373 <artifactId>maven-antrun-plugin</artifactId>
374 <version>${antrun-plugin.version}</version>
375 <executions>
376 <execution>
377 <phase>generate-resources</phase>
378 <configuration>
379 <target>
380 <ant target="web.resources" />
381 </target>
382 </configuration>
383 <goals>
384 <goal>run</goal>
385 </goals>
386 </execution>
387 </executions>
388 </plugin>
389
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100390 </plugins>
391
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100392 <resources>
393 <resource>
394 <directory>src/main/resources</directory>
395 <excludes>
396 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100397 <exclude>META-INF/resources/package.json</exclude>
398 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100399 </excludes>
400 <filtering>false</filtering>
401 </resource>
402 </resources>
403
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100404 </build>
405
406 <profiles>
407
408 <profile>
409
410 <id>native</id>
411
412 <activation>
413 <property>
414 <name>native</name>
415 </property>
416 </activation>
417
418 <build>
419 <plugins>
420 <plugin>
421 <artifactId>maven-failsafe-plugin</artifactId>
422 <version>${surefire-plugin.version}</version>
423 <executions>
424 <execution>
425 <goals>
426 <goal>integration-test</goal>
427 <goal>verify</goal>
428 </goals>
429 <configuration>
430 <systemProperties>
431 <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
432 </systemProperties>
433 </configuration>
434 </execution>
435 </executions>
436 </plugin>
437 </plugins>
438 </build>
439
440 <properties>
441 <quarkus.package.type>native</quarkus.package.type>
442 </properties>
443
444 </profile>
445
446 </profiles>
447
448</project>