blob: 906386c6b8a097b46f7e82e3a007aad54d95f78d [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 Benkarda0392372020-06-13 15:46:39 +020022 <spotless-plugin.version>1.31.2</spotless-plugin.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010023
Matthias Andreas Benkard2710bf32020-01-25 10:48:07 +010024 <!-- <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id> -->
25 <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010026 <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
Matthias Andreas Benkard3bbba8d2020-06-13 15:40:15 +020027 <quarkus.platform.version>1.5.0.Final</quarkus.platform.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010028
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +020029 <basic-annotations.version>0.2.0</basic-annotations.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010030 <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
Matthias Andreas Benkard3bbba8d2020-06-13 15:40:15 +020031 <flexmark.version>0.62.0</flexmark.version>
Matthias Andreas Benkarda0392372020-06-13 15:46:39 +020032 <google.java.format.version>1.8</google.java.format.version>
Matthias Andreas Benkard3bbba8d2020-06-13 15:40:15 +020033 <hibernate.version>5.4.17.Final</hibernate.version>
34 <hibernate-types.version>2.9.11</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 Benkard80fc4312020-06-13 16:59:04 +020038 <liquibase.version>3.9.0</liquibase.version>
39 <postgresql.version>42.2.14</postgresql.version>
Matthias Andreas Benkard3bbba8d2020-06-13 15:40:15 +020040 <rome.version>1.13.0</rome.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 Benkard1e7674c2020-04-18 20:28:51 +020061 <!-- Annotations -->
62 <dependency>
63 <groupId>pl.tlinkowski.annotation</groupId>
64 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
65 <version>${basic-annotations.version}</version>
66 <scope>provided</scope>
67 </dependency>
68
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +010069 <!-- Jsoup -->
70 <dependency>
71 <groupId>org.jsoup</groupId>
72 <artifactId>jsoup</artifactId>
73 <version>${jsoup.version}</version>
74 </dependency>
75
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +010076 <!-- FlexMark -->
77 <dependency>
78 <groupId>com.vladsch.flexmark</groupId>
79 <artifactId>flexmark-all</artifactId>
80 <version>${flexmark.version}</version>
81 </dependency>
82
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +010083 <!-- Rome -->
84 <dependency>
85 <groupId>com.rometools</groupId>
86 <artifactId>rome</artifactId>
87 <version>${rome.version}</version>
88 </dependency>
89
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010090 <!-- JNA -->
91 <dependency>
92 <groupId>net.java.dev.jna</groupId>
93 <artifactId>jna</artifactId>
94 <version>${jna.version}</version>
95 </dependency>
96
97 <!-- JACC -->
98 <dependency>
99 <groupId>jakarta.security.jacc</groupId>
100 <artifactId>jakarta.security.jacc-api</artifactId>
101 <version>${jakarta-jacc-api.version}</version>
102 </dependency>
103
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100104 <!-- JOSE for Java -->
105 <dependency>
106 <groupId>org.bitbucket.b_c</groupId>
107 <artifactId>jose4j</artifactId>
108 <version>0.7.0</version>
109 </dependency>
110
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100111 <!-- Annotations -->
112 <dependency>
113 <groupId>com.google.code.findbugs</groupId>
114 <artifactId>jsr305</artifactId>
115 <version>${findbugs-jsr305.version}</version>
116 <scope>provided</scope>
117 </dependency>
118
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100119 </dependencies>
120 </dependencyManagement>
121
122 <dependencies>
123
124 <dependency>
125 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100126 <artifactId>quarkus-agroal</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100127 </dependency>
128 <dependency>
129 <groupId>io.quarkus</groupId>
Matthias Andreas Benkardc27d1cb2020-01-26 11:11:24 +0100130 <artifactId>quarkus-elytron-security-properties-file</artifactId>
131 </dependency>
132 <dependency>
133 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100134 <artifactId>quarkus-hibernate-orm-panache</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100135 </dependency>
136 <dependency>
137 <groupId>io.quarkus</groupId>
138 <artifactId>quarkus-hibernate-validator</artifactId>
139 </dependency>
140 <dependency>
141 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100142 <artifactId>quarkus-jdbc-postgresql</artifactId>
143 </dependency>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100144 <dependency>
145 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200146 <artifactId>quarkus-liquibase</artifactId>
147 </dependency>
148 <dependency>
149 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100150 <artifactId>quarkus-oidc</artifactId>
151 </dependency>
152 <dependency>
153 <groupId>io.quarkus</groupId>
154 <artifactId>quarkus-resteasy</artifactId>
155 </dependency>
156 <dependency>
157 <groupId>io.quarkus</groupId>
158 <artifactId>quarkus-resteasy-jsonb</artifactId>
159 </dependency>
160 <dependency>
161 <groupId>io.quarkus</groupId>
162 <artifactId>quarkus-resteasy-qute</artifactId>
163 </dependency>
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100164 <dependency>
165 <groupId>io.quarkus</groupId>
166 <artifactId>quarkus-smallrye-jwt</artifactId>
167 </dependency>
Matthias Andreas Benkarddb48be42020-04-17 21:44:59 +0200168 <dependency>
169 <groupId>io.quarkus</groupId>
170 <artifactId>quarkus-container-image-jib</artifactId>
171 </dependency>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100172
173 <!-- JNA -->
174 <dependency>
175 <groupId>net.java.dev.jna</groupId>
176 <artifactId>jna</artifactId>
177 </dependency>
178
179 <!-- JACC -->
180 <dependency>
181 <groupId>jakarta.security.jacc</groupId>
182 <artifactId>jakarta.security.jacc-api</artifactId>
183 </dependency>
184
185 <!-- Hibernate PostgreSQL Extra Types -->
186 <dependency>
187 <groupId>com.vladmihalcea</groupId>
188 <artifactId>hibernate-types-52</artifactId>
189 </dependency>
190
Matthias Andreas Benkard1e7674c2020-04-18 20:28:51 +0200191 <!-- Annotations -->
192 <dependency>
193 <groupId>pl.tlinkowski.annotation</groupId>
194 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
195 <scope>provided</scope>
196 </dependency>
197
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100198 <!-- Jsoup -->
199 <dependency>
200 <groupId>org.jsoup</groupId>
201 <artifactId>jsoup</artifactId>
202 </dependency>
203
Matthias Andreas Benkard424e16e2020-02-09 18:29:56 +0100204 <!-- FlexMark -->
205 <dependency>
206 <groupId>com.vladsch.flexmark</groupId>
207 <artifactId>flexmark-all</artifactId>
208 </dependency>
209
Matthias Andreas Benkard981f2792020-02-16 14:54:54 +0100210 <!-- Rome -->
211 <dependency>
212 <groupId>com.rometools</groupId>
213 <artifactId>rome</artifactId>
214 </dependency>
215
Matthias Andreas Benkard2a1383f2020-02-01 23:53:17 +0100216 <!-- JOSE for Java -->
217 <dependency>
218 <groupId>org.bitbucket.b_c</groupId>
219 <artifactId>jose4j</artifactId>
220 </dependency>
221
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100222 <!-- Annotations -->
223 <dependency>
224 <groupId>com.google.code.findbugs</groupId>
225 <artifactId>jsr305</artifactId>
226 <scope>provided</scope>
227 </dependency>
228
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100229 </dependencies>
230
231 <build>
232
233 <plugins>
234
235 <plugin>
236 <groupId>io.quarkus</groupId>
237 <artifactId>quarkus-maven-plugin</artifactId>
238 <version>${quarkus-plugin.version}</version>
239 <executions>
240 <execution>
241 <goals>
242 <goal>build</goal>
243 </goals>
244 </execution>
245 </executions>
246 </plugin>
247
248 <plugin>
249 <artifactId>maven-compiler-plugin</artifactId>
250 <version>${compiler-plugin.version}</version>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +0200251
252 <configuration>
253 <annotationProcessorPaths>
254 <!-- Hibernate -->
255 <annotationProcessorPath>
256 <groupId>org.hibernate</groupId>
257 <artifactId>hibernate-jpamodelgen</artifactId>
258 <version>${hibernate.version}</version>
259 </annotationProcessorPath>
Matthias Andreas Benkard98e63f02020-04-18 19:45:48 +0200260 </annotationProcessorPaths>
261 </configuration>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100262 </plugin>
263
Matthias Andreas Benkard80fc4312020-06-13 16:59:04 +0200264 <!-- Liquibase -->
265 <plugin>
266 <groupId>org.liquibase</groupId>
267 <artifactId>liquibase-maven-plugin</artifactId>
268 <version>${liquibase.version}</version>
269 <configuration>
270 <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
271 </configuration>
272 <dependencies>
273 <dependency>
274 <groupId>org.liquibase.ext</groupId>
275 <artifactId>liquibase-hibernate5</artifactId> <!-- note: I tried hibernate4 release version as well -->
276 <version>${liquibase.version}</version>
277 </dependency>
278 <dependency>
279 <groupId>org.hibernate</groupId>
280 <artifactId>hibernate-core</artifactId>
281 <version>${hibernate.version}</version>
282 </dependency>
283 <dependency>
284 <groupId>org.hibernate</groupId>
285 <artifactId>hibernate-entitymanager</artifactId>
286 <version>${hibernate.version}</version>
287 </dependency>
288 <dependency>
289 <groupId>org.hibernate</groupId>
290 <artifactId>hibernate-envers</artifactId>
291 <version>${hibernate.version}</version>
292 </dependency>
293 <dependency>
294 <groupId>org.postgresql</groupId>
295 <artifactId>postgresql</artifactId>
296 <version>${postgresql.version}</version>
297 </dependency>
298 </dependencies>
299 </plugin>
300
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100301 <!-- Google Java Code Formatter, for enforcing style conventions -->
302 <plugin>
303 <groupId>com.diffplug.spotless</groupId>
304 <artifactId>spotless-maven-plugin</artifactId>
305 <version>${spotless-plugin.version}</version>
306 <configuration>
307 <java>
308 <removeUnusedImports/>
309 <importOrder>
310 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
311 </importOrder>
312 <googleJavaFormat>
313 <version>${google.java.format.version}</version>
314 <style>GOOGLE</style>
315 </googleJavaFormat>
316 </java>
317 </configuration>
318 </plugin>
Matthias Andreas Benkardf7bf7c42020-01-28 22:31:12 +0100319
320 <plugin>
Matthias Andreas Benkard7f4dacc2020-04-13 11:25:19 +0200321 <artifactId>maven-antrun-plugin</artifactId>
322 <version>${antrun-plugin.version}</version>
323 <executions>
324 <execution>
325 <phase>generate-resources</phase>
326 <configuration>
327 <target>
328 <ant target="web.resources" />
329 </target>
330 </configuration>
331 <goals>
332 <goal>run</goal>
333 </goals>
334 </execution>
335 </executions>
336 </plugin>
337
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100338 </plugins>
339
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100340 <resources>
341 <resource>
342 <directory>src/main/resources</directory>
343 <excludes>
344 <exclude>META-INF/resources/node_modules/**/*</exclude>
Matthias Andreas Benkard97130f92020-01-27 21:03:39 +0100345 <exclude>META-INF/resources/package.json</exclude>
346 <exclude>META-INF/resources/yarn.lock</exclude>
Matthias Andreas Benkardb712a012020-01-26 08:10:49 +0100347 </excludes>
348 <filtering>false</filtering>
349 </resource>
350 </resources>
351
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100352 </build>
353
354 <profiles>
355
356 <profile>
357
358 <id>native</id>
359
360 <activation>
361 <property>
362 <name>native</name>
363 </property>
364 </activation>
365
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100366 <properties>
367 <quarkus.package.type>native</quarkus.package.type>
368 </properties>
369
370 </profile>
371
372 </profiles>
373
374</project>