blob: 4bc3206fce2998ff5fe05661ec57f18df1c37904 [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 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 Benkard8ddaf662020-01-19 20:21:57 +0100177 <dependency>
178 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100179 <artifactId>quarkus-mailer</artifactId>
180 </dependency>
181 <dependency>
182 <groupId>io.quarkus</groupId>
183 <artifactId>quarkus-oidc</artifactId>
184 </dependency>
185 <dependency>
186 <groupId>io.quarkus</groupId>
187 <artifactId>quarkus-resteasy</artifactId>
188 </dependency>
189 <dependency>
190 <groupId>io.quarkus</groupId>
191 <artifactId>quarkus-resteasy-jsonb</artifactId>
192 </dependency>
193 <dependency>
194 <groupId>io.quarkus</groupId>
195 <artifactId>quarkus-resteasy-qute</artifactId>
196 </dependency>
197 <dependency>
198 <groupId>io.quarkus</groupId>
199 <artifactId>quarkus-scheduler</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100200 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100201 <dependency>
202 <groupId>io.quarkus</groupId>
203 <artifactId>quarkus-smallrye-jwt</artifactId>
204 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200205 <dependency>
206 <groupId>io.quarkus</groupId>
207 <artifactId>quarkus-container-image-jib</artifactId>
208 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100209
210 <!-- JNA -->
211 <dependency>
212 <groupId>net.java.dev.jna</groupId>
213 <artifactId>jna</artifactId>
214 </dependency>
215
216 <!-- JACC -->
217 <dependency>
218 <groupId>jakarta.security.jacc</groupId>
219 <artifactId>jakarta.security.jacc-api</artifactId>
220 </dependency>
221
222 <!-- Hibernate PostgreSQL Extra Types -->
223 <dependency>
224 <groupId>com.vladmihalcea</groupId>
225 <artifactId>hibernate-types-52</artifactId>
226 </dependency>
227
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200228 <!-- Annotations -->
229 <dependency>
230 <groupId>pl.tlinkowski.annotation</groupId>
231 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
232 <scope>provided</scope>
233 </dependency>
234
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100235 <!-- Jsoup -->
236 <dependency>
237 <groupId>org.jsoup</groupId>
238 <artifactId>jsoup</artifactId>
239 </dependency>
240
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100241 <!-- FlexMark -->
242 <dependency>
243 <groupId>com.vladsch.flexmark</groupId>
244 <artifactId>flexmark-all</artifactId>
245 </dependency>
246
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100247 <!-- Rome -->
248 <dependency>
249 <groupId>com.rometools</groupId>
250 <artifactId>rome</artifactId>
251 </dependency>
252
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100253 <!-- JOSE for Java -->
254 <dependency>
255 <groupId>org.bitbucket.b_c</groupId>
256 <artifactId>jose4j</artifactId>
257 </dependency>
258
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100259 <!-- MapStruct -->
260 <dependency>
261 <groupId>org.mapstruct</groupId>
262 <artifactId>mapstruct</artifactId>
263 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100264
265 <!-- Annotations -->
266 <dependency>
267 <groupId>com.google.code.findbugs</groupId>
268 <artifactId>jsr305</artifactId>
269 <scope>provided</scope>
270 </dependency>
271
272 <!-- Testing -->
273 <dependency>
274 <groupId>io.quarkus</groupId>
275 <artifactId>quarkus-junit5</artifactId>
276 <scope>test</scope>
277 </dependency>
278 <dependency>
279 <groupId>io.rest-assured</groupId>
280 <artifactId>rest-assured</artifactId>
281 <scope>test</scope>
282 </dependency>
283 <dependency>
284 <groupId>org.testcontainers</groupId>
285 <artifactId>junit-jupiter</artifactId>
286 <scope>test</scope>
287 </dependency>
288 <dependency>
289 <groupId>org.testcontainers</groupId>
290 <artifactId>testcontainers</artifactId>
291 <scope>test</scope>
292 </dependency>
293 <dependency>
294 <groupId>org.testcontainers</groupId>
295 <artifactId>postgresql</artifactId>
296 <scope>test</scope>
297 </dependency>
298
299 </dependencies>
300
301 <build>
302
303 <plugins>
304
305 <plugin>
306 <groupId>io.quarkus</groupId>
307 <artifactId>quarkus-maven-plugin</artifactId>
308 <version>${quarkus-plugin.version}</version>
309 <executions>
310 <execution>
311 <goals>
312 <goal>build</goal>
313 </goals>
314 </execution>
315 </executions>
316 </plugin>
317
318 <plugin>
319 <artifactId>maven-compiler-plugin</artifactId>
320 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +0200321
322 <configuration>
323 <annotationProcessorPaths>
324 <!-- Hibernate -->
325 <annotationProcessorPath>
326 <groupId>org.hibernate</groupId>
327 <artifactId>hibernate-jpamodelgen</artifactId>
328 <version>${hibernate.version}</version>
329 </annotationProcessorPath>
330
331 <!-- MapStruct -->
332 <annotationProcessorPath>
333 <groupId>org.mapstruct</groupId>
334 <artifactId>mapstruct-processor</artifactId>
335 <version>${mapstruct.version}</version>
336 </annotationProcessorPath>
337 </annotationProcessorPaths>
338 </configuration>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100339 </plugin>
340
341 <plugin>
342 <artifactId>maven-surefire-plugin</artifactId>
343 <version>${surefire-plugin.version}</version>
344 <configuration>
345 <systemProperties>
346 <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
347 <compilerArgs>
348 <compilerArg>-Amapstruct.defaultComponentModel=cdi</compilerArg>
349 </compilerArgs>
350 </systemProperties>
351 </configuration>
352 </plugin>
353
354 <!-- Google Java Code Formatter, for enforcing style conventions -->
355 <plugin>
356 <groupId>com.diffplug.spotless</groupId>
357 <artifactId>spotless-maven-plugin</artifactId>
358 <version>${spotless-plugin.version}</version>
359 <configuration>
360 <java>
361 <removeUnusedImports/>
362 <importOrder>
363 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
364 </importOrder>
365 <googleJavaFormat>
366 <version>${google.java.format.version}</version>
367 <style>GOOGLE</style>
368 </googleJavaFormat>
369 </java>
370 </configuration>
371 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100372
373 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200374 <artifactId>maven-antrun-plugin</artifactId>
375 <version>${antrun-plugin.version}</version>
376 <executions>
377 <execution>
378 <phase>generate-resources</phase>
379 <configuration>
380 <target>
381 <ant target="web.resources" />
382 </target>
383 </configuration>
384 <goals>
385 <goal>run</goal>
386 </goals>
387 </execution>
388 </executions>
389 </plugin>
390
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100391 </plugins>
392
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100393 <resources>
394 <resource>
395 <directory>src/main/resources</directory>
396 <excludes>
397 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100398 <exclude>META-INF/resources/package.json</exclude>
399 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100400 </excludes>
401 <filtering>false</filtering>
402 </resource>
403 </resources>
404
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100405 </build>
406
407 <profiles>
408
409 <profile>
410
411 <id>native</id>
412
413 <activation>
414 <property>
415 <name>native</name>
416 </property>
417 </activation>
418
419 <build>
420 <plugins>
421 <plugin>
422 <artifactId>maven-failsafe-plugin</artifactId>
423 <version>${surefire-plugin.version}</version>
424 <executions>
425 <execution>
426 <goals>
427 <goal>integration-test</goal>
428 <goal>verify</goal>
429 </goals>
430 <configuration>
431 <systemProperties>
432 <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
433 </systemProperties>
434 </configuration>
435 </execution>
436 </executions>
437 </plugin>
438 </plugins>
439 </build>
440
441 <properties>
442 <quarkus.package.type>native</quarkus.package.type>
443 </properties>
444
445 </profile>
446
447 </profiles>
448
449</project>