blob: f903800c6667659fcb8b8ca084d7f8d40e18b379 [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
31 <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
Matthias Andreas Benkard70d27952020-04-17 21:30:09 +020032 <flexmark.version>0.61.10</flexmark.version>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +020033 <hibernate.version>5.4.14.Final</hibernate.version>
Matthias Andreas Benkard699e9ab2020-04-10 15:52:54 +020034 <hibernate-types.version>2.9.8</hibernate-types.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010035 <jakarta-jacc-api.version>1.6.1</jakarta-jacc-api.version>
36 <jna.version>5.5.0</jna.version>
Matthias Andreas Benkard551f50c2020-03-15 12:34:07 +010037 <jsoup.version>1.13.1</jsoup.version>
Matthias Andreas Benkard06849562020-02-14 20:13:17 +010038 <mapstruct.version>1.3.1.Final</mapstruct.version>
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +010039 <rome.version>1.12.2</rome.version>
Matthias Andreas Benkard70d27952020-04-17 21:30:09 +020040 <testcontainers.version>1.14.0</testcontainers.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010041 </properties>
42
43 <dependencyManagement>
44 <dependencies>
45
46 <dependency>
47 <groupId>${quarkus.platform.group-id}</groupId>
48 <artifactId>${quarkus.platform.artifact-id}</artifactId>
49 <version>${quarkus.platform.version}</version>
50 <type>pom</type>
51 <scope>import</scope>
52 </dependency>
53
54 <!-- Hibernate PostgreSQL Extra Types -->
55 <dependency>
56 <groupId>com.vladmihalcea</groupId>
57 <artifactId>hibernate-types-52</artifactId>
58 <version>${hibernate-types.version}</version>
59 </dependency>
60
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +010061 <!-- Jsoup -->
62 <dependency>
63 <groupId>org.jsoup</groupId>
64 <artifactId>jsoup</artifactId>
65 <version>${jsoup.version}</version>
66 </dependency>
67
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +010068 <!-- FlexMark -->
69 <dependency>
70 <groupId>com.vladsch.flexmark</groupId>
71 <artifactId>flexmark-all</artifactId>
72 <version>${flexmark.version}</version>
73 </dependency>
74
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +010075 <!-- Rome -->
76 <dependency>
77 <groupId>com.rometools</groupId>
78 <artifactId>rome</artifactId>
79 <version>${rome.version}</version>
80 </dependency>
81
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010082 <!-- JNA -->
83 <dependency>
84 <groupId>net.java.dev.jna</groupId>
85 <artifactId>jna</artifactId>
86 <version>${jna.version}</version>
87 </dependency>
88
89 <!-- JACC -->
90 <dependency>
91 <groupId>jakarta.security.jacc</groupId>
92 <artifactId>jakarta.security.jacc-api</artifactId>
93 <version>${jakarta-jacc-api.version}</version>
94 </dependency>
95
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +010096 <!-- JOSE for Java -->
97 <dependency>
98 <groupId>org.bitbucket.b_c</groupId>
99 <artifactId>jose4j</artifactId>
100 <version>0.7.0</version>
101 </dependency>
102
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100103 <!-- MapStruct -->
104 <dependency>
105 <groupId>org.mapstruct</groupId>
106 <artifactId>mapstruct</artifactId>
107 <version>${mapstruct.version}</version>
108 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100109
110 <!-- Annotations -->
111 <dependency>
112 <groupId>com.google.code.findbugs</groupId>
113 <artifactId>jsr305</artifactId>
114 <version>${findbugs-jsr305.version}</version>
115 <scope>provided</scope>
116 </dependency>
117
118 <!-- Testing -->
119 <dependency>
120 <groupId>org.testcontainers</groupId>
121 <artifactId>testcontainers</artifactId>
122 <version>${testcontainers.version}</version>
123 <scope>test</scope>
124 </dependency>
125 <dependency>
126 <groupId>org.testcontainers</groupId>
127 <artifactId>postgresql</artifactId>
128 <version>${testcontainers.version}</version>
129 <scope>test</scope>
130 </dependency>
131
132 </dependencies>
133 </dependencyManagement>
134
135 <dependencies>
136
137 <dependency>
138 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100139 <artifactId>quarkus-agroal</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100140 </dependency>
141 <dependency>
142 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +0100143 <artifactId>quarkus-elytron-security-properties-file</artifactId>
144 </dependency>
145 <dependency>
146 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100147 <artifactId>quarkus-flyway</artifactId>
148 </dependency>
149 <dependency>
150 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100151 <artifactId>quarkus-hibernate-orm-panache</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100152 </dependency>
153 <dependency>
154 <groupId>io.quarkus</groupId>
155 <artifactId>quarkus-hibernate-validator</artifactId>
156 </dependency>
157 <dependency>
158 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100159 <artifactId>quarkus-jdbc-postgresql</artifactId>
160 </dependency>
Matthias Andreas Benkard84db3792020-03-15 12:48:29 +0100161 <!--
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100162 <dependency>
163 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100164 <artifactId>quarkus-kubernetes</artifactId>
165 </dependency>
Matthias Andreas Benkard84db3792020-03-15 12:48:29 +0100166 -->
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100167 <dependency>
168 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100169 <artifactId>quarkus-mailer</artifactId>
170 </dependency>
171 <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>
187 <dependency>
188 <groupId>io.quarkus</groupId>
189 <artifactId>quarkus-scheduler</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100190 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100191 <dependency>
192 <groupId>io.quarkus</groupId>
193 <artifactId>quarkus-smallrye-jwt</artifactId>
194 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200195 <dependency>
196 <groupId>io.quarkus</groupId>
197 <artifactId>quarkus-container-image-jib</artifactId>
198 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100199
200 <!-- JNA -->
201 <dependency>
202 <groupId>net.java.dev.jna</groupId>
203 <artifactId>jna</artifactId>
204 </dependency>
205
206 <!-- JACC -->
207 <dependency>
208 <groupId>jakarta.security.jacc</groupId>
209 <artifactId>jakarta.security.jacc-api</artifactId>
210 </dependency>
211
212 <!-- Hibernate PostgreSQL Extra Types -->
213 <dependency>
214 <groupId>com.vladmihalcea</groupId>
215 <artifactId>hibernate-types-52</artifactId>
216 </dependency>
217
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100218 <!-- Jsoup -->
219 <dependency>
220 <groupId>org.jsoup</groupId>
221 <artifactId>jsoup</artifactId>
222 </dependency>
223
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100224 <!-- FlexMark -->
225 <dependency>
226 <groupId>com.vladsch.flexmark</groupId>
227 <artifactId>flexmark-all</artifactId>
228 </dependency>
229
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100230 <!-- Rome -->
231 <dependency>
232 <groupId>com.rometools</groupId>
233 <artifactId>rome</artifactId>
234 </dependency>
235
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100236 <!-- JOSE for Java -->
237 <dependency>
238 <groupId>org.bitbucket.b_c</groupId>
239 <artifactId>jose4j</artifactId>
240 </dependency>
241
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100242 <!-- MapStruct -->
243 <dependency>
244 <groupId>org.mapstruct</groupId>
245 <artifactId>mapstruct</artifactId>
246 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100247
248 <!-- Annotations -->
249 <dependency>
250 <groupId>com.google.code.findbugs</groupId>
251 <artifactId>jsr305</artifactId>
252 <scope>provided</scope>
253 </dependency>
254
255 <!-- Testing -->
256 <dependency>
257 <groupId>io.quarkus</groupId>
258 <artifactId>quarkus-junit5</artifactId>
259 <scope>test</scope>
260 </dependency>
261 <dependency>
262 <groupId>io.rest-assured</groupId>
263 <artifactId>rest-assured</artifactId>
264 <scope>test</scope>
265 </dependency>
266 <dependency>
267 <groupId>org.testcontainers</groupId>
268 <artifactId>junit-jupiter</artifactId>
269 <scope>test</scope>
270 </dependency>
271 <dependency>
272 <groupId>org.testcontainers</groupId>
273 <artifactId>testcontainers</artifactId>
274 <scope>test</scope>
275 </dependency>
276 <dependency>
277 <groupId>org.testcontainers</groupId>
278 <artifactId>postgresql</artifactId>
279 <scope>test</scope>
280 </dependency>
281
282 </dependencies>
283
284 <build>
285
286 <plugins>
287
288 <plugin>
289 <groupId>io.quarkus</groupId>
290 <artifactId>quarkus-maven-plugin</artifactId>
291 <version>${quarkus-plugin.version}</version>
292 <executions>
293 <execution>
294 <goals>
295 <goal>build</goal>
296 </goals>
297 </execution>
298 </executions>
299 </plugin>
300
301 <plugin>
302 <artifactId>maven-compiler-plugin</artifactId>
303 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +0200304
305 <configuration>
306 <annotationProcessorPaths>
307 <!-- Hibernate -->
308 <annotationProcessorPath>
309 <groupId>org.hibernate</groupId>
310 <artifactId>hibernate-jpamodelgen</artifactId>
311 <version>${hibernate.version}</version>
312 </annotationProcessorPath>
313
314 <!-- MapStruct -->
315 <annotationProcessorPath>
316 <groupId>org.mapstruct</groupId>
317 <artifactId>mapstruct-processor</artifactId>
318 <version>${mapstruct.version}</version>
319 </annotationProcessorPath>
320 </annotationProcessorPaths>
321 </configuration>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100322 </plugin>
323
324 <plugin>
325 <artifactId>maven-surefire-plugin</artifactId>
326 <version>${surefire-plugin.version}</version>
327 <configuration>
328 <systemProperties>
329 <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
330 <compilerArgs>
331 <compilerArg>-Amapstruct.defaultComponentModel=cdi</compilerArg>
332 </compilerArgs>
333 </systemProperties>
334 </configuration>
335 </plugin>
336
337 <!-- Google Java Code Formatter, for enforcing style conventions -->
338 <plugin>
339 <groupId>com.diffplug.spotless</groupId>
340 <artifactId>spotless-maven-plugin</artifactId>
341 <version>${spotless-plugin.version}</version>
342 <configuration>
343 <java>
344 <removeUnusedImports/>
345 <importOrder>
346 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
347 </importOrder>
348 <googleJavaFormat>
349 <version>${google.java.format.version}</version>
350 <style>GOOGLE</style>
351 </googleJavaFormat>
352 </java>
353 </configuration>
354 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100355
356 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200357 <artifactId>maven-antrun-plugin</artifactId>
358 <version>${antrun-plugin.version}</version>
359 <executions>
360 <execution>
361 <phase>generate-resources</phase>
362 <configuration>
363 <target>
364 <ant target="web.resources" />
365 </target>
366 </configuration>
367 <goals>
368 <goal>run</goal>
369 </goals>
370 </execution>
371 </executions>
372 </plugin>
373
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100374 </plugins>
375
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100376 <resources>
377 <resource>
378 <directory>src/main/resources</directory>
379 <excludes>
380 <exclude>META-INF/resources/node_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
402 <build>
403 <plugins>
404 <plugin>
405 <artifactId>maven-failsafe-plugin</artifactId>
406 <version>${surefire-plugin.version}</version>
407 <executions>
408 <execution>
409 <goals>
410 <goal>integration-test</goal>
411 <goal>verify</goal>
412 </goals>
413 <configuration>
414 <systemProperties>
415 <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
416 </systemProperties>
417 </configuration>
418 </execution>
419 </executions>
420 </plugin>
421 </plugins>
422 </build>
423
424 <properties>
425 <quarkus.package.type>native</quarkus.package.type>
426 </properties>
427
428 </profile>
429
430 </profiles>
431
432</project>