blob: 051453249a3c4b7c4725b96ca2950feb7f72fa5b [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 Benkard3bbba8d2020-06-13 15:40:15 +020019 <antrun-plugin.version>3.0.0</antrun-plugin.version>
Matthias Andreas Benkard55243c82020-04-13 20:49:15 +020020 <compiler-plugin.version>3.8.1</compiler-plugin.version>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +020021 <processor-plugin.version>4.2</processor-plugin.version>
Matthias Andreas Benkard7bc7e702020-09-10 14:28:20 +020022 <quarkus.version>1.8.0.Final</quarkus.version>
23 <resources-plugin.version>3.2.0</resources-plugin.version>
24 <spotless-plugin.version>2.1.0</spotless-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 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 Benkard6b7e9412020-06-22 18:13:16 +020032 <flexmark.version>0.62.2</flexmark.version>
Matthias Andreas Benkarda0392372020-06-13 15:46:39 +020033 <google.java.format.version>1.8</google.java.format.version>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +020034 <hibernate.version>5.4.20.Final</hibernate.version>
35 <hibernate-types.version>2.9.13</hibernate-types.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010036 <jakarta-jacc-api.version>1.6.1</jakarta-jacc-api.version>
Matthias Andreas Benkardaa196aa2020-07-18 12:36:57 +020037 <jna.version>5.6.0</jna.version>
Matthias Andreas Benkard551f50c2020-03-15 12:34:07 +010038 <jsoup.version>1.13.1</jsoup.version>
Matthias Andreas Benkard7bc7e702020-09-10 14:28:20 +020039 <kotlin-annotations.version>1.4.10</kotlin-annotations.version>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +020040 <liquibase.version>3.9.0</liquibase.version>
Matthias Andreas Benkard7bc7e702020-09-10 14:28:20 +020041 <postgresql.version>42.2.16</postgresql.version>
Matthias Andreas Benkardaa196aa2020-07-18 12:36:57 +020042 <rome.version>1.15.0</rome.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>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +020051 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010052 <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 <!-- Annotations -->
114 <dependency>
115 <groupId>com.google.code.findbugs</groupId>
116 <artifactId>jsr305</artifactId>
117 <version>${findbugs-jsr305.version}</version>
118 <scope>provided</scope>
119 </dependency>
120
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100121 </dependencies>
122 </dependencyManagement>
123
124 <dependencies>
125
126 <dependency>
127 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100128 <artifactId>quarkus-agroal</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100129 </dependency>
130 <dependency>
131 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +0100132 <artifactId>quarkus-elytron-security-properties-file</artifactId>
133 </dependency>
134 <dependency>
135 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100136 <artifactId>quarkus-hibernate-orm-panache</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100137 </dependency>
138 <dependency>
139 <groupId>io.quarkus</groupId>
140 <artifactId>quarkus-hibernate-validator</artifactId>
141 </dependency>
142 <dependency>
143 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100144 <artifactId>quarkus-jdbc-postgresql</artifactId>
145 </dependency>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100146 <dependency>
147 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200148 <artifactId>quarkus-liquibase</artifactId>
149 </dependency>
150 <dependency>
151 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100152 <artifactId>quarkus-oidc</artifactId>
153 </dependency>
154 <dependency>
155 <groupId>io.quarkus</groupId>
156 <artifactId>quarkus-resteasy</artifactId>
157 </dependency>
158 <dependency>
159 <groupId>io.quarkus</groupId>
160 <artifactId>quarkus-resteasy-jsonb</artifactId>
161 </dependency>
162 <dependency>
163 <groupId>io.quarkus</groupId>
164 <artifactId>quarkus-resteasy-qute</artifactId>
165 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100166 <dependency>
167 <groupId>io.quarkus</groupId>
168 <artifactId>quarkus-smallrye-jwt</artifactId>
169 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200170 <dependency>
171 <groupId>io.quarkus</groupId>
172 <artifactId>quarkus-container-image-jib</artifactId>
173 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100174
175 <!-- JNA -->
176 <dependency>
177 <groupId>net.java.dev.jna</groupId>
178 <artifactId>jna</artifactId>
179 </dependency>
180
181 <!-- JACC -->
182 <dependency>
183 <groupId>jakarta.security.jacc</groupId>
184 <artifactId>jakarta.security.jacc-api</artifactId>
185 </dependency>
186
187 <!-- Hibernate PostgreSQL Extra Types -->
188 <dependency>
189 <groupId>com.vladmihalcea</groupId>
190 <artifactId>hibernate-types-52</artifactId>
191 </dependency>
192
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200193 <!-- Annotations -->
194 <dependency>
195 <groupId>pl.tlinkowski.annotation</groupId>
196 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
197 <scope>provided</scope>
198 </dependency>
199
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100200 <!-- Jsoup -->
201 <dependency>
202 <groupId>org.jsoup</groupId>
203 <artifactId>jsoup</artifactId>
204 </dependency>
205
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100206 <!-- FlexMark -->
207 <dependency>
208 <groupId>com.vladsch.flexmark</groupId>
209 <artifactId>flexmark-all</artifactId>
210 </dependency>
211
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100212 <!-- Rome -->
213 <dependency>
214 <groupId>com.rometools</groupId>
215 <artifactId>rome</artifactId>
216 </dependency>
217
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100218 <!-- JOSE for Java -->
219 <dependency>
220 <groupId>org.bitbucket.b_c</groupId>
221 <artifactId>jose4j</artifactId>
222 </dependency>
223
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100224 <!-- Annotations -->
225 <dependency>
226 <groupId>com.google.code.findbugs</groupId>
227 <artifactId>jsr305</artifactId>
228 <scope>provided</scope>
229 </dependency>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200230 <dependency>
231 <groupId>org.jetbrains.kotlin</groupId>
232 <artifactId>kotlin-annotations-jvm</artifactId>
233 <version>${kotlin-annotations.version}</version>
234 <scope>provided</scope>
235 </dependency>
236
237 <!-- Hibernate -->
238 <dependency>
239 <groupId>org.hibernate</groupId>
240 <artifactId>hibernate-jpamodelgen</artifactId>
241 <version>${hibernate.version}</version>
242 <scope>provided</scope>
243 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100244
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100245 </dependencies>
246
247 <build>
248
249 <plugins>
250
251 <plugin>
252 <groupId>io.quarkus</groupId>
253 <artifactId>quarkus-maven-plugin</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +0200254 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100255 <executions>
256 <execution>
257 <goals>
258 <goal>build</goal>
259 </goals>
260 </execution>
261 </executions>
262 </plugin>
263
264 <plugin>
265 <artifactId>maven-compiler-plugin</artifactId>
266 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +0200267 <configuration>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200268 <compilerArgs>
269 <arg>-proc:none</arg>
270 </compilerArgs>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +0200271 </configuration>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100272 </plugin>
273
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200274 <!-- Resources -->
275 <plugin>
276 <artifactId>maven-resources-plugin</artifactId>
277 <version>${resources-plugin.version}</version>
278 <executions>
279 <execution>
280 <id>copy-resources</id>
281 <phase>prepare-package</phase>
282 <goals>
283 <goal>copy-resources</goal>
284 </goals>
285 <configuration>
286 <outputDirectory>${basedir}/target/classes/META-INF/resources</outputDirectory>
287 <resources>
288 <resource>
289 <directory>${basedir}/src/main/resources/META-INF/resources/dist</directory>
290 <filtering>true</filtering>
291 </resource>
292 </resources>
293 </configuration>
294 </execution>
295 </executions>
296 </plugin>
297
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200298 <!-- Liquibase -->
299 <plugin>
300 <groupId>org.liquibase</groupId>
301 <artifactId>liquibase-maven-plugin</artifactId>
302 <version>${liquibase.version}</version>
303 <configuration>
304 <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
305 </configuration>
306 <dependencies>
307 <dependency>
308 <groupId>org.liquibase.ext</groupId>
309 <artifactId>liquibase-hibernate5</artifactId> <!-- note: I tried hibernate4 release version as well -->
310 <version>${liquibase.version}</version>
311 </dependency>
312 <dependency>
313 <groupId>org.hibernate</groupId>
314 <artifactId>hibernate-core</artifactId>
315 <version>${hibernate.version}</version>
316 </dependency>
317 <dependency>
318 <groupId>org.hibernate</groupId>
319 <artifactId>hibernate-entitymanager</artifactId>
320 <version>${hibernate.version}</version>
321 </dependency>
322 <dependency>
323 <groupId>org.hibernate</groupId>
324 <artifactId>hibernate-envers</artifactId>
325 <version>${hibernate.version}</version>
326 </dependency>
327 <dependency>
328 <groupId>org.postgresql</groupId>
329 <artifactId>postgresql</artifactId>
330 <version>${postgresql.version}</version>
331 </dependency>
332 </dependencies>
333 </plugin>
334
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100335 <!-- Google Java Code Formatter, for enforcing style conventions -->
336 <plugin>
337 <groupId>com.diffplug.spotless</groupId>
338 <artifactId>spotless-maven-plugin</artifactId>
339 <version>${spotless-plugin.version}</version>
340 <configuration>
341 <java>
342 <removeUnusedImports/>
343 <importOrder>
344 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
345 </importOrder>
346 <googleJavaFormat>
347 <version>${google.java.format.version}</version>
348 <style>GOOGLE</style>
349 </googleJavaFormat>
350 </java>
351 </configuration>
352 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100353
354 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200355 <artifactId>maven-antrun-plugin</artifactId>
356 <version>${antrun-plugin.version}</version>
357 <executions>
358 <execution>
359 <phase>generate-resources</phase>
360 <configuration>
361 <target>
362 <ant target="web.resources" />
363 </target>
364 </configuration>
365 <goals>
366 <goal>run</goal>
367 </goals>
368 </execution>
369 </executions>
370 </plugin>
371
Matthias Andreas Benkard7e71d1c2020-04-16 17:07:59 +0200372 <plugin>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200373 <groupId>org.bsc.maven</groupId>
374 <artifactId>maven-processor-plugin</artifactId>
375 <version>${processor-plugin.version}</version>
376 <executions>
377 <execution>
378 <id>process</id>
379 <goals>
380 <goal>process</goal>
381 </goals>
382 <phase>generate-sources</phase>
383 </execution>
384 <execution>
385 <id>process-test</id>
386 <goals>
387 <goal>process-test</goal>
388 </goals>
389 <phase>generate-test-sources</phase>
390 </execution>
391 </executions>
392 </plugin>
393
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100394 </plugins>
395
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100396 <resources>
397 <resource>
398 <directory>src/main/resources</directory>
399 <excludes>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200400 <exclude>META-INF/resources/.cache</exclude>
401 <exclude>META-INF/resources/.eslintrc.js</exclude>
402 <exclude>META-INF/resources/.flowconfig</exclude>
Matthias Andreas Benkard89c25ea2020-06-15 21:01:01 +0200403 <exclude>META-INF/resources/.parcel-cache/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200404 <exclude>META-INF/resources/dist/**/*</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100405 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200406 <exclude>META-INF/resources/web_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100407 <exclude>META-INF/resources/package.json</exclude>
408 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100409 </excludes>
410 <filtering>false</filtering>
411 </resource>
412 </resources>
413
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100414 </build>
415
416 <profiles>
417
418 <profile>
419
420 <id>native</id>
421
422 <activation>
423 <property>
424 <name>native</name>
425 </property>
426 </activation>
427
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100428 <properties>
429 <quarkus.package.type>native</quarkus.package.type>
430 </properties>
431
432 </profile>
433
434 </profiles>
435
436</project>