blob: d0c524e17cd8c72338beb00c7fee71d0de6b6af6 [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 Benkard45983ef2020-10-30 10:20:15 +010022 <quarkus.version>1.9.1.Final</quarkus.version>
Matthias Andreas Benkard7bc7e702020-09-10 14:28:20 +020023 <resources-plugin.version>3.2.0</resources-plugin.version>
Matthias Andreas Benkard45983ef2020-10-30 10:20:15 +010024 <spotless-plugin.version>2.4.1</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>
Matthias Andreas Benkard45983ef2020-10-30 10:20:15 +010035 <hibernate-types.version>2.10.0</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 Benkard8ddaf662020-01-19 20:21:57 +0100106 <!-- Annotations -->
107 <dependency>
108 <groupId>com.google.code.findbugs</groupId>
109 <artifactId>jsr305</artifactId>
110 <version>${findbugs-jsr305.version}</version>
111 <scope>provided</scope>
112 </dependency>
113
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100114 </dependencies>
115 </dependencyManagement>
116
117 <dependencies>
118
119 <dependency>
120 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100121 <artifactId>quarkus-agroal</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100122 </dependency>
123 <dependency>
124 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +0100125 <artifactId>quarkus-elytron-security-properties-file</artifactId>
126 </dependency>
127 <dependency>
128 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100129 <artifactId>quarkus-hibernate-orm-panache</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100130 </dependency>
131 <dependency>
132 <groupId>io.quarkus</groupId>
133 <artifactId>quarkus-hibernate-validator</artifactId>
134 </dependency>
135 <dependency>
136 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100137 <artifactId>quarkus-jdbc-postgresql</artifactId>
138 </dependency>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100139 <dependency>
140 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200141 <artifactId>quarkus-liquibase</artifactId>
142 </dependency>
143 <dependency>
144 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100145 <artifactId>quarkus-oidc</artifactId>
146 </dependency>
147 <dependency>
148 <groupId>io.quarkus</groupId>
149 <artifactId>quarkus-resteasy</artifactId>
150 </dependency>
151 <dependency>
152 <groupId>io.quarkus</groupId>
153 <artifactId>quarkus-resteasy-jsonb</artifactId>
154 </dependency>
155 <dependency>
156 <groupId>io.quarkus</groupId>
157 <artifactId>quarkus-resteasy-qute</artifactId>
158 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100159 <dependency>
160 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard7413c542020-10-30 10:18:46 +0100161 <artifactId>quarkus-smallrye-health</artifactId>
162 </dependency>
163 <dependency>
164 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100165 <artifactId>quarkus-smallrye-jwt</artifactId>
166 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200167 <dependency>
168 <groupId>io.quarkus</groupId>
169 <artifactId>quarkus-container-image-jib</artifactId>
170 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100171
172 <!-- JNA -->
173 <dependency>
174 <groupId>net.java.dev.jna</groupId>
175 <artifactId>jna</artifactId>
176 </dependency>
177
178 <!-- JACC -->
179 <dependency>
180 <groupId>jakarta.security.jacc</groupId>
181 <artifactId>jakarta.security.jacc-api</artifactId>
182 </dependency>
183
184 <!-- Hibernate PostgreSQL Extra Types -->
185 <dependency>
186 <groupId>com.vladmihalcea</groupId>
187 <artifactId>hibernate-types-52</artifactId>
188 </dependency>
189
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200190 <!-- Annotations -->
191 <dependency>
192 <groupId>pl.tlinkowski.annotation</groupId>
193 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
194 <scope>provided</scope>
195 </dependency>
196
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100197 <!-- Jsoup -->
198 <dependency>
199 <groupId>org.jsoup</groupId>
200 <artifactId>jsoup</artifactId>
201 </dependency>
202
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100203 <!-- FlexMark -->
204 <dependency>
205 <groupId>com.vladsch.flexmark</groupId>
206 <artifactId>flexmark-all</artifactId>
207 </dependency>
208
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100209 <!-- Rome -->
210 <dependency>
211 <groupId>com.rometools</groupId>
212 <artifactId>rome</artifactId>
213 </dependency>
214
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100215 <!-- Annotations -->
216 <dependency>
217 <groupId>com.google.code.findbugs</groupId>
218 <artifactId>jsr305</artifactId>
219 <scope>provided</scope>
220 </dependency>
Matthias Andreas Benkard47587c22020-08-22 18:41:47 +0200221 <dependency>
222 <groupId>org.jetbrains.kotlin</groupId>
223 <artifactId>kotlin-annotations-jvm</artifactId>
224 <version>${kotlin-annotations.version}</version>
225 <scope>provided</scope>
226 </dependency>
227
228 <!-- Hibernate -->
229 <dependency>
230 <groupId>org.hibernate</groupId>
231 <artifactId>hibernate-jpamodelgen</artifactId>
232 <version>${hibernate.version}</version>
233 <scope>provided</scope>
234 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100235
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100236 </dependencies>
237
238 <build>
239
240 <plugins>
241
242 <plugin>
243 <groupId>io.quarkus</groupId>
244 <artifactId>quarkus-maven-plugin</artifactId>
Matthias Andreas Benkard43d59d32020-08-16 10:57:23 +0200245 <version>${quarkus.version}</version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100246 <executions>
247 <execution>
248 <goals>
249 <goal>build</goal>
250 </goals>
251 </execution>
252 </executions>
253 </plugin>
254
255 <plugin>
256 <artifactId>maven-compiler-plugin</artifactId>
257 <version>${compiler-plugin.version}</version>
258 </plugin>
259
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200260 <!-- Resources -->
261 <plugin>
262 <artifactId>maven-resources-plugin</artifactId>
263 <version>${resources-plugin.version}</version>
264 <executions>
265 <execution>
266 <id>copy-resources</id>
267 <phase>prepare-package</phase>
268 <goals>
269 <goal>copy-resources</goal>
270 </goals>
271 <configuration>
272 <outputDirectory>${basedir}/target/classes/META-INF/resources</outputDirectory>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200273 <overwrite>true</overwrite>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200274 <resources>
275 <resource>
276 <directory>${basedir}/src/main/resources/META-INF/resources/dist</directory>
Matthias Andreas Benkard3000a6a2020-09-10 15:50:42 +0200277 <filtering>false</filtering>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200278 </resource>
279 </resources>
280 </configuration>
281 </execution>
282 </executions>
283 </plugin>
284
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200285 <!-- Liquibase -->
286 <plugin>
287 <groupId>org.liquibase</groupId>
288 <artifactId>liquibase-maven-plugin</artifactId>
289 <version>${liquibase.version}</version>
290 <configuration>
291 <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
292 </configuration>
293 <dependencies>
294 <dependency>
295 <groupId>org.liquibase.ext</groupId>
Matthias Andreas Benkard652bd2c2020-09-11 10:10:50 +0200296 <artifactId>liquibase-hibernate5</artifactId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200297 <version>${liquibase.version}</version>
298 </dependency>
299 <dependency>
300 <groupId>org.hibernate</groupId>
301 <artifactId>hibernate-core</artifactId>
302 <version>${hibernate.version}</version>
303 </dependency>
304 <dependency>
305 <groupId>org.hibernate</groupId>
306 <artifactId>hibernate-entitymanager</artifactId>
307 <version>${hibernate.version}</version>
308 </dependency>
309 <dependency>
310 <groupId>org.hibernate</groupId>
311 <artifactId>hibernate-envers</artifactId>
312 <version>${hibernate.version}</version>
313 </dependency>
314 <dependency>
315 <groupId>org.postgresql</groupId>
316 <artifactId>postgresql</artifactId>
317 <version>${postgresql.version}</version>
318 </dependency>
319 </dependencies>
320 </plugin>
321
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100322 <!-- Google Java Code Formatter, for enforcing style conventions -->
323 <plugin>
324 <groupId>com.diffplug.spotless</groupId>
325 <artifactId>spotless-maven-plugin</artifactId>
326 <version>${spotless-plugin.version}</version>
327 <configuration>
328 <java>
329 <removeUnusedImports/>
330 <importOrder>
331 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
332 </importOrder>
333 <googleJavaFormat>
334 <version>${google.java.format.version}</version>
335 <style>GOOGLE</style>
336 </googleJavaFormat>
337 </java>
338 </configuration>
339 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100340
341 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200342 <artifactId>maven-antrun-plugin</artifactId>
343 <version>${antrun-plugin.version}</version>
344 <executions>
345 <execution>
346 <phase>generate-resources</phase>
347 <configuration>
348 <target>
349 <ant target="web.resources" />
350 </target>
351 </configuration>
352 <goals>
353 <goal>run</goal>
354 </goals>
355 </execution>
356 </executions>
357 </plugin>
358
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100359 </plugins>
360
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100361 <resources>
362 <resource>
363 <directory>src/main/resources</directory>
364 <excludes>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200365 <exclude>META-INF/resources/.cache</exclude>
366 <exclude>META-INF/resources/.eslintrc.js</exclude>
367 <exclude>META-INF/resources/.flowconfig</exclude>
Matthias Andreas Benkard89c25ea2020-06-15 21:01:01 +0200368 <exclude>META-INF/resources/.parcel-cache/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200369 <exclude>META-INF/resources/dist/**/*</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100370 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard81996642020-06-15 21:11:30 +0200371 <exclude>META-INF/resources/web_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100372 <exclude>META-INF/resources/package.json</exclude>
373 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100374 </excludes>
375 <filtering>false</filtering>
376 </resource>
377 </resources>
378
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100379 </build>
380
381 <profiles>
382
383 <profile>
384
385 <id>native</id>
386
387 <activation>
388 <property>
389 <name>native</name>
390 </property>
391 </activation>
392
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100393 <properties>
394 <quarkus.package.type>native</quarkus.package.type>
395 </properties>
396
397 </profile>
398
399 </profiles>
400
401</project>