blob: 40c65c5465dc156899ee9333d64b569214bcbb59 [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 Benkard3bbba8d2020-06-13 15:40:15 +020021 <quarkus-plugin.version>1.5.0.Final</quarkus-plugin.version>
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +020022 <resources-plugin.version>3.1.0</resources-plugin.version>
Matthias Andreas Benkarda0392372020-06-13 15:46:39 +020023 <spotless-plugin.version>1.31.2</spotless-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 Benkard3bbba8d2020-06-13 15:40:15 +020028 <quarkus.platform.version>1.5.0.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 Benkard3bbba8d2020-06-13 15:40:15 +020032 <flexmark.version>0.62.0</flexmark.version>
Matthias Andreas Benkarda0392372020-06-13 15:46:39 +020033 <google.java.format.version>1.8</google.java.format.version>
Matthias Andreas Benkard3bbba8d2020-06-13 15:40:15 +020034 <hibernate.version>5.4.17.Final</hibernate.version>
35 <hibernate-types.version>2.9.11</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 Benkard80fc4312020-06-13 16:59:04 +020039 <liquibase.version>3.9.0</liquibase.version>
40 <postgresql.version>42.2.14</postgresql.version>
Matthias Andreas Benkard3bbba8d2020-06-13 15:40:15 +020041 <rome.version>1.13.0</rome.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 <!-- Annotations -->
113 <dependency>
114 <groupId>com.google.code.findbugs</groupId>
115 <artifactId>jsr305</artifactId>
116 <version>${findbugs-jsr305.version}</version>
117 <scope>provided</scope>
118 </dependency>
119
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100120 </dependencies>
121 </dependencyManagement>
122
123 <dependencies>
124
125 <dependency>
126 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100127 <artifactId>quarkus-agroal</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100128 </dependency>
129 <dependency>
130 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +0100131 <artifactId>quarkus-elytron-security-properties-file</artifactId>
132 </dependency>
133 <dependency>
134 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100135 <artifactId>quarkus-hibernate-orm-panache</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100136 </dependency>
137 <dependency>
138 <groupId>io.quarkus</groupId>
139 <artifactId>quarkus-hibernate-validator</artifactId>
140 </dependency>
141 <dependency>
142 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100143 <artifactId>quarkus-jdbc-postgresql</artifactId>
144 </dependency>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100145 <dependency>
146 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200147 <artifactId>quarkus-liquibase</artifactId>
148 </dependency>
149 <dependency>
150 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100151 <artifactId>quarkus-oidc</artifactId>
152 </dependency>
153 <dependency>
154 <groupId>io.quarkus</groupId>
155 <artifactId>quarkus-resteasy</artifactId>
156 </dependency>
157 <dependency>
158 <groupId>io.quarkus</groupId>
159 <artifactId>quarkus-resteasy-jsonb</artifactId>
160 </dependency>
161 <dependency>
162 <groupId>io.quarkus</groupId>
163 <artifactId>quarkus-resteasy-qute</artifactId>
164 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100165 <dependency>
166 <groupId>io.quarkus</groupId>
167 <artifactId>quarkus-smallrye-jwt</artifactId>
168 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200169 <dependency>
170 <groupId>io.quarkus</groupId>
171 <artifactId>quarkus-container-image-jib</artifactId>
172 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100173
174 <!-- JNA -->
175 <dependency>
176 <groupId>net.java.dev.jna</groupId>
177 <artifactId>jna</artifactId>
178 </dependency>
179
180 <!-- JACC -->
181 <dependency>
182 <groupId>jakarta.security.jacc</groupId>
183 <artifactId>jakarta.security.jacc-api</artifactId>
184 </dependency>
185
186 <!-- Hibernate PostgreSQL Extra Types -->
187 <dependency>
188 <groupId>com.vladmihalcea</groupId>
189 <artifactId>hibernate-types-52</artifactId>
190 </dependency>
191
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200192 <!-- Annotations -->
193 <dependency>
194 <groupId>pl.tlinkowski.annotation</groupId>
195 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
196 <scope>provided</scope>
197 </dependency>
198
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100199 <!-- Jsoup -->
200 <dependency>
201 <groupId>org.jsoup</groupId>
202 <artifactId>jsoup</artifactId>
203 </dependency>
204
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100205 <!-- FlexMark -->
206 <dependency>
207 <groupId>com.vladsch.flexmark</groupId>
208 <artifactId>flexmark-all</artifactId>
209 </dependency>
210
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100211 <!-- Rome -->
212 <dependency>
213 <groupId>com.rometools</groupId>
214 <artifactId>rome</artifactId>
215 </dependency>
216
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100217 <!-- JOSE for Java -->
218 <dependency>
219 <groupId>org.bitbucket.b_c</groupId>
220 <artifactId>jose4j</artifactId>
221 </dependency>
222
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100223 <!-- Annotations -->
224 <dependency>
225 <groupId>com.google.code.findbugs</groupId>
226 <artifactId>jsr305</artifactId>
227 <scope>provided</scope>
228 </dependency>
229
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100230 </dependencies>
231
232 <build>
233
234 <plugins>
235
236 <plugin>
237 <groupId>io.quarkus</groupId>
238 <artifactId>quarkus-maven-plugin</artifactId>
239 <version>${quarkus-plugin.version}</version>
240 <executions>
241 <execution>
242 <goals>
243 <goal>build</goal>
244 </goals>
245 </execution>
246 </executions>
247 </plugin>
248
249 <plugin>
250 <artifactId>maven-compiler-plugin</artifactId>
251 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +0200252
253 <configuration>
254 <annotationProcessorPaths>
255 <!-- Hibernate -->
256 <annotationProcessorPath>
257 <groupId>org.hibernate</groupId>
258 <artifactId>hibernate-jpamodelgen</artifactId>
259 <version>${hibernate.version}</version>
260 </annotationProcessorPath>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +0200261 </annotationProcessorPaths>
262 </configuration>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100263 </plugin>
264
Matthias Andreas Benkard813e5972020-06-14 19:27:42 +0200265 <!-- Resources -->
266 <plugin>
267 <artifactId>maven-resources-plugin</artifactId>
268 <version>${resources-plugin.version}</version>
269 <executions>
270 <execution>
271 <id>copy-resources</id>
272 <phase>prepare-package</phase>
273 <goals>
274 <goal>copy-resources</goal>
275 </goals>
276 <configuration>
277 <outputDirectory>${basedir}/target/classes/META-INF/resources</outputDirectory>
278 <resources>
279 <resource>
280 <directory>${basedir}/src/main/resources/META-INF/resources/dist</directory>
281 <filtering>true</filtering>
282 </resource>
283 </resources>
284 </configuration>
285 </execution>
286 </executions>
287 </plugin>
288
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200289 <!-- Liquibase -->
290 <plugin>
291 <groupId>org.liquibase</groupId>
292 <artifactId>liquibase-maven-plugin</artifactId>
293 <version>${liquibase.version}</version>
294 <configuration>
295 <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
296 </configuration>
297 <dependencies>
298 <dependency>
299 <groupId>org.liquibase.ext</groupId>
300 <artifactId>liquibase-hibernate5</artifactId> <!-- note: I tried hibernate4 release version as well -->
301 <version>${liquibase.version}</version>
302 </dependency>
303 <dependency>
304 <groupId>org.hibernate</groupId>
305 <artifactId>hibernate-core</artifactId>
306 <version>${hibernate.version}</version>
307 </dependency>
308 <dependency>
309 <groupId>org.hibernate</groupId>
310 <artifactId>hibernate-entitymanager</artifactId>
311 <version>${hibernate.version}</version>
312 </dependency>
313 <dependency>
314 <groupId>org.hibernate</groupId>
315 <artifactId>hibernate-envers</artifactId>
316 <version>${hibernate.version}</version>
317 </dependency>
318 <dependency>
319 <groupId>org.postgresql</groupId>
320 <artifactId>postgresql</artifactId>
321 <version>${postgresql.version}</version>
322 </dependency>
323 </dependencies>
324 </plugin>
325
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100326 <!-- Google Java Code Formatter, for enforcing style conventions -->
327 <plugin>
328 <groupId>com.diffplug.spotless</groupId>
329 <artifactId>spotless-maven-plugin</artifactId>
330 <version>${spotless-plugin.version}</version>
331 <configuration>
332 <java>
333 <removeUnusedImports/>
334 <importOrder>
335 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
336 </importOrder>
337 <googleJavaFormat>
338 <version>${google.java.format.version}</version>
339 <style>GOOGLE</style>
340 </googleJavaFormat>
341 </java>
342 </configuration>
343 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100344
345 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200346 <artifactId>maven-antrun-plugin</artifactId>
347 <version>${antrun-plugin.version}</version>
348 <executions>
349 <execution>
350 <phase>generate-resources</phase>
351 <configuration>
352 <target>
353 <ant target="web.resources" />
354 </target>
355 </configuration>
356 <goals>
357 <goal>run</goal>
358 </goals>
359 </execution>
360 </executions>
361 </plugin>
362
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100363 </plugins>
364
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100365 <resources>
366 <resource>
367 <directory>src/main/resources</directory>
368 <excludes>
Matthias Andreas Benkard89c25ea2020-06-15 21:01:01 +0200369 <exclude>META-INF/resources/.parcel-cache/**/*</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100370 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100371 <exclude>META-INF/resources/package.json</exclude>
372 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100373 </excludes>
374 <filtering>false</filtering>
375 </resource>
376 </resources>
377
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100378 </build>
379
380 <profiles>
381
382 <profile>
383
384 <id>native</id>
385
386 <activation>
387 <property>
388 <name>native</name>
389 </property>
390 </activation>
391
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100392 <properties>
393 <quarkus.package.type>native</quarkus.package.type>
394 </properties>
395
396 </profile>
397
398 </profiles>
399
400</project>