blob: d181a25968ff73fb012fdf13343acb8ff4e38c62 [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 Benkard93cbd352020-04-28 08:01:45 +020021 <quarkus-plugin.version>1.4.1.Final</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 Benkard8ddaf662020-01-19 20:21:57 +010024
Matthias Andreas Benkard2710bf32020-01-25 10:48:07 +010025 <!-- <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id> -->
26 <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010027 <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
Matthias Andreas Benkard93cbd352020-04-28 08:01:45 +020028 <quarkus.platform.version>1.4.1.Final</quarkus.platform.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010029
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +020030 <basic-annotations.version>0.2.0</basic-annotations.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010031 <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
Matthias Andreas Benkard93cbd352020-04-28 08:01:45 +020032 <flexmark.version>0.61.20</flexmark.version>
Matthias Andreas Benkard593765d2020-04-18 20:44:07 +020033 <google.java.format.version>1.7</google.java.format.version>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +020034 <hibernate.version>5.4.14.Final</hibernate.version>
Matthias Andreas Benkard93cbd352020-04-28 08:01:45 +020035 <hibernate-types.version>2.9.9</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 Benkard93cbd352020-04-28 08:01:45 +020041 <testcontainers.version>1.14.1</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 Benkard4cb34f42020-01-24 14:44:28 +0100170 <dependency>
171 <groupId>io.quarkus</groupId>
172 <artifactId>quarkus-oidc</artifactId>
173 </dependency>
174 <dependency>
175 <groupId>io.quarkus</groupId>
176 <artifactId>quarkus-resteasy</artifactId>
177 </dependency>
178 <dependency>
179 <groupId>io.quarkus</groupId>
180 <artifactId>quarkus-resteasy-jsonb</artifactId>
181 </dependency>
182 <dependency>
183 <groupId>io.quarkus</groupId>
184 <artifactId>quarkus-resteasy-qute</artifactId>
185 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100186 <dependency>
187 <groupId>io.quarkus</groupId>
188 <artifactId>quarkus-smallrye-jwt</artifactId>
189 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200190 <dependency>
191 <groupId>io.quarkus</groupId>
192 <artifactId>quarkus-container-image-jib</artifactId>
193 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100194
195 <!-- JNA -->
196 <dependency>
197 <groupId>net.java.dev.jna</groupId>
198 <artifactId>jna</artifactId>
199 </dependency>
200
201 <!-- JACC -->
202 <dependency>
203 <groupId>jakarta.security.jacc</groupId>
204 <artifactId>jakarta.security.jacc-api</artifactId>
205 </dependency>
206
207 <!-- Hibernate PostgreSQL Extra Types -->
208 <dependency>
209 <groupId>com.vladmihalcea</groupId>
210 <artifactId>hibernate-types-52</artifactId>
211 </dependency>
212
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200213 <!-- Annotations -->
214 <dependency>
215 <groupId>pl.tlinkowski.annotation</groupId>
216 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
217 <scope>provided</scope>
218 </dependency>
219
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100220 <!-- Jsoup -->
221 <dependency>
222 <groupId>org.jsoup</groupId>
223 <artifactId>jsoup</artifactId>
224 </dependency>
225
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100226 <!-- FlexMark -->
227 <dependency>
228 <groupId>com.vladsch.flexmark</groupId>
229 <artifactId>flexmark-all</artifactId>
230 </dependency>
231
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100232 <!-- Rome -->
233 <dependency>
234 <groupId>com.rometools</groupId>
235 <artifactId>rome</artifactId>
236 </dependency>
237
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100238 <!-- JOSE for Java -->
239 <dependency>
240 <groupId>org.bitbucket.b_c</groupId>
241 <artifactId>jose4j</artifactId>
242 </dependency>
243
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100244 <!-- MapStruct -->
245 <dependency>
246 <groupId>org.mapstruct</groupId>
247 <artifactId>mapstruct</artifactId>
248 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100249
250 <!-- Annotations -->
251 <dependency>
252 <groupId>com.google.code.findbugs</groupId>
253 <artifactId>jsr305</artifactId>
254 <scope>provided</scope>
255 </dependency>
256
257 <!-- Testing -->
258 <dependency>
259 <groupId>io.quarkus</groupId>
260 <artifactId>quarkus-junit5</artifactId>
261 <scope>test</scope>
262 </dependency>
263 <dependency>
264 <groupId>io.rest-assured</groupId>
265 <artifactId>rest-assured</artifactId>
266 <scope>test</scope>
267 </dependency>
268 <dependency>
269 <groupId>org.testcontainers</groupId>
270 <artifactId>junit-jupiter</artifactId>
271 <scope>test</scope>
272 </dependency>
273 <dependency>
274 <groupId>org.testcontainers</groupId>
275 <artifactId>testcontainers</artifactId>
276 <scope>test</scope>
277 </dependency>
278 <dependency>
279 <groupId>org.testcontainers</groupId>
280 <artifactId>postgresql</artifactId>
281 <scope>test</scope>
282 </dependency>
283
284 </dependencies>
285
286 <build>
287
288 <plugins>
289
290 <plugin>
291 <groupId>io.quarkus</groupId>
292 <artifactId>quarkus-maven-plugin</artifactId>
293 <version>${quarkus-plugin.version}</version>
294 <executions>
295 <execution>
296 <goals>
297 <goal>build</goal>
298 </goals>
299 </execution>
300 </executions>
301 </plugin>
302
303 <plugin>
304 <artifactId>maven-compiler-plugin</artifactId>
305 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +0200306
307 <configuration>
308 <annotationProcessorPaths>
309 <!-- Hibernate -->
310 <annotationProcessorPath>
311 <groupId>org.hibernate</groupId>
312 <artifactId>hibernate-jpamodelgen</artifactId>
313 <version>${hibernate.version}</version>
314 </annotationProcessorPath>
315
316 <!-- MapStruct -->
317 <annotationProcessorPath>
318 <groupId>org.mapstruct</groupId>
319 <artifactId>mapstruct-processor</artifactId>
320 <version>${mapstruct.version}</version>
321 </annotationProcessorPath>
322 </annotationProcessorPaths>
323 </configuration>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100324 </plugin>
325
326 <plugin>
327 <artifactId>maven-surefire-plugin</artifactId>
328 <version>${surefire-plugin.version}</version>
329 <configuration>
330 <systemProperties>
331 <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
332 <compilerArgs>
333 <compilerArg>-Amapstruct.defaultComponentModel=cdi</compilerArg>
334 </compilerArgs>
335 </systemProperties>
336 </configuration>
337 </plugin>
338
339 <!-- Google Java Code Formatter, for enforcing style conventions -->
340 <plugin>
341 <groupId>com.diffplug.spotless</groupId>
342 <artifactId>spotless-maven-plugin</artifactId>
343 <version>${spotless-plugin.version}</version>
344 <configuration>
345 <java>
346 <removeUnusedImports/>
347 <importOrder>
348 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
349 </importOrder>
350 <googleJavaFormat>
351 <version>${google.java.format.version}</version>
352 <style>GOOGLE</style>
353 </googleJavaFormat>
354 </java>
355 </configuration>
356 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100357
358 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200359 <artifactId>maven-antrun-plugin</artifactId>
360 <version>${antrun-plugin.version}</version>
361 <executions>
362 <execution>
363 <phase>generate-resources</phase>
364 <configuration>
365 <target>
366 <ant target="web.resources" />
367 </target>
368 </configuration>
369 <goals>
370 <goal>run</goal>
371 </goals>
372 </execution>
373 </executions>
374 </plugin>
375
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100376 </plugins>
377
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100378 <resources>
379 <resource>
380 <directory>src/main/resources</directory>
381 <excludes>
382 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100383 <exclude>META-INF/resources/package.json</exclude>
384 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100385 </excludes>
386 <filtering>false</filtering>
387 </resource>
388 </resources>
389
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100390 </build>
391
392 <profiles>
393
394 <profile>
395
396 <id>native</id>
397
398 <activation>
399 <property>
400 <name>native</name>
401 </property>
402 </activation>
403
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100404 <properties>
405 <quarkus.package.type>native</quarkus.package.type>
406 </properties>
407
408 </profile>
409
410 </profiles>
411
412</project>