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