blob: e5fadfa9c1b434f6925d30648f25e386c4fd4efc [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
19 <compiler-plugin.version>3.8.1</compiler-plugin.version>
20 <quarkus-plugin.version>1.1.1.Final</quarkus-plugin.version>
21 <surefire-plugin.version>3.0.0-M4</surefire-plugin.version>
22 <spotless-plugin.version>1.26.1</spotless-plugin.version>
23
24 <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
25 <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
26 <quarkus.platform.version>1.1.1.Final</quarkus.platform.version>
27
28 <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
29 <hibernate-types.version>2.9.2</hibernate-types.version>
30 <mapstruct.version>1.3.1.Final</mapstruct.version>
31 <testcontainers.version>1.12.4</testcontainers.version>
32 <jakarta-jacc-api.version>1.6.1</jakarta-jacc-api.version>
33 <jna.version>5.5.0</jna.version>
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +010034 <jsoup.version>1.12.1</jsoup.version>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010035 </properties>
36
37 <dependencyManagement>
38 <dependencies>
39
40 <dependency>
41 <groupId>${quarkus.platform.group-id}</groupId>
42 <artifactId>${quarkus.platform.artifact-id}</artifactId>
43 <version>${quarkus.platform.version}</version>
44 <type>pom</type>
45 <scope>import</scope>
46 </dependency>
47
48 <!-- Hibernate PostgreSQL Extra Types -->
49 <dependency>
50 <groupId>com.vladmihalcea</groupId>
51 <artifactId>hibernate-types-52</artifactId>
52 <version>${hibernate-types.version}</version>
53 </dependency>
54
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +010055 <!-- Jsoup -->
56 <dependency>
57 <groupId>org.jsoup</groupId>
58 <artifactId>jsoup</artifactId>
59 <version>${jsoup.version}</version>
60 </dependency>
61
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +010062 <!-- JNA -->
63 <dependency>
64 <groupId>net.java.dev.jna</groupId>
65 <artifactId>jna</artifactId>
66 <version>${jna.version}</version>
67 </dependency>
68
69 <!-- JACC -->
70 <dependency>
71 <groupId>jakarta.security.jacc</groupId>
72 <artifactId>jakarta.security.jacc-api</artifactId>
73 <version>${jakarta-jacc-api.version}</version>
74 </dependency>
75
76 <!-- MapStruct -->
77 <dependency>
78 <groupId>org.mapstruct</groupId>
79 <artifactId>mapstruct</artifactId>
80 <version>${mapstruct.version}</version>
81 </dependency>
82 <dependency>
83 <groupId>org.mapstruct</groupId>
84 <artifactId>mapstruct-processor</artifactId>
85 <version>${mapstruct.version}</version>
86 <scope>provided</scope>
87 </dependency>
88
89 <!-- Annotations -->
90 <dependency>
91 <groupId>com.google.code.findbugs</groupId>
92 <artifactId>jsr305</artifactId>
93 <version>${findbugs-jsr305.version}</version>
94 <scope>provided</scope>
95 </dependency>
96
97 <!-- Testing -->
98 <dependency>
99 <groupId>org.testcontainers</groupId>
100 <artifactId>testcontainers</artifactId>
101 <version>${testcontainers.version}</version>
102 <scope>test</scope>
103 </dependency>
104 <dependency>
105 <groupId>org.testcontainers</groupId>
106 <artifactId>postgresql</artifactId>
107 <version>${testcontainers.version}</version>
108 <scope>test</scope>
109 </dependency>
110
111 </dependencies>
112 </dependencyManagement>
113
114 <dependencies>
115
116 <dependency>
117 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100118 <artifactId>quarkus-agroal</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100119 </dependency>
120 <dependency>
121 <groupId>io.quarkus</groupId>
122 <artifactId>quarkus-flyway</artifactId>
123 </dependency>
124 <dependency>
125 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100126 <artifactId>quarkus-hibernate-orm-panache</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100127 </dependency>
128 <dependency>
129 <groupId>io.quarkus</groupId>
130 <artifactId>quarkus-hibernate-validator</artifactId>
131 </dependency>
132 <dependency>
133 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100134 <artifactId>quarkus-jdbc-postgresql</artifactId>
135 </dependency>
136 <dependency>
137 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100138 <artifactId>quarkus-kubernetes</artifactId>
139 </dependency>
140 <dependency>
141 <groupId>io.quarkus</groupId>
Matthias Andreas Benkard4cb34f42020-01-24 14:44:28 +0100142 <artifactId>quarkus-mailer</artifactId>
143 </dependency>
144 <dependency>
145 <groupId>io.quarkus</groupId>
146 <artifactId>quarkus-oidc</artifactId>
147 </dependency>
148 <dependency>
149 <groupId>io.quarkus</groupId>
150 <artifactId>quarkus-resteasy</artifactId>
151 </dependency>
152 <dependency>
153 <groupId>io.quarkus</groupId>
154 <artifactId>quarkus-resteasy-jsonb</artifactId>
155 </dependency>
156 <dependency>
157 <groupId>io.quarkus</groupId>
158 <artifactId>quarkus-resteasy-qute</artifactId>
159 </dependency>
160 <dependency>
161 <groupId>io.quarkus</groupId>
162 <artifactId>quarkus-scheduler</artifactId>
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100163 </dependency>
164
165 <!-- JNA -->
166 <dependency>
167 <groupId>net.java.dev.jna</groupId>
168 <artifactId>jna</artifactId>
169 </dependency>
170
171 <!-- JACC -->
172 <dependency>
173 <groupId>jakarta.security.jacc</groupId>
174 <artifactId>jakarta.security.jacc-api</artifactId>
175 </dependency>
176
177 <!-- Hibernate PostgreSQL Extra Types -->
178 <dependency>
179 <groupId>com.vladmihalcea</groupId>
180 <artifactId>hibernate-types-52</artifactId>
181 </dependency>
182
Matthias Andreas Benkard4e29a242020-01-25 05:38:27 +0100183 <!-- Jsoup -->
184 <dependency>
185 <groupId>org.jsoup</groupId>
186 <artifactId>jsoup</artifactId>
187 </dependency>
188
Matthias Andreas Benkard8ddaf662020-01-19 20:21:57 +0100189 <!-- MapStruct -->
190 <dependency>
191 <groupId>org.mapstruct</groupId>
192 <artifactId>mapstruct</artifactId>
193 </dependency>
194 <dependency>
195 <groupId>org.mapstruct</groupId>
196 <artifactId>mapstruct-processor</artifactId>
197 <scope>provided</scope>
198 </dependency>
199
200 <!-- Annotations -->
201 <dependency>
202 <groupId>com.google.code.findbugs</groupId>
203 <artifactId>jsr305</artifactId>
204 <scope>provided</scope>
205 </dependency>
206
207 <!-- Testing -->
208 <dependency>
209 <groupId>io.quarkus</groupId>
210 <artifactId>quarkus-junit5</artifactId>
211 <scope>test</scope>
212 </dependency>
213 <dependency>
214 <groupId>io.rest-assured</groupId>
215 <artifactId>rest-assured</artifactId>
216 <scope>test</scope>
217 </dependency>
218 <dependency>
219 <groupId>org.testcontainers</groupId>
220 <artifactId>junit-jupiter</artifactId>
221 <scope>test</scope>
222 </dependency>
223 <dependency>
224 <groupId>org.testcontainers</groupId>
225 <artifactId>testcontainers</artifactId>
226 <scope>test</scope>
227 </dependency>
228 <dependency>
229 <groupId>org.testcontainers</groupId>
230 <artifactId>postgresql</artifactId>
231 <scope>test</scope>
232 </dependency>
233
234 </dependencies>
235
236 <build>
237
238 <plugins>
239
240 <plugin>
241 <groupId>io.quarkus</groupId>
242 <artifactId>quarkus-maven-plugin</artifactId>
243 <version>${quarkus-plugin.version}</version>
244 <executions>
245 <execution>
246 <goals>
247 <goal>build</goal>
248 </goals>
249 </execution>
250 </executions>
251 </plugin>
252
253 <plugin>
254 <artifactId>maven-compiler-plugin</artifactId>
255 <version>${compiler-plugin.version}</version>
256 </plugin>
257
258 <plugin>
259 <artifactId>maven-surefire-plugin</artifactId>
260 <version>${surefire-plugin.version}</version>
261 <configuration>
262 <systemProperties>
263 <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
264 <compilerArgs>
265 <compilerArg>-Amapstruct.defaultComponentModel=cdi</compilerArg>
266 </compilerArgs>
267 </systemProperties>
268 </configuration>
269 </plugin>
270
271 <!-- Google Java Code Formatter, for enforcing style conventions -->
272 <plugin>
273 <groupId>com.diffplug.spotless</groupId>
274 <artifactId>spotless-maven-plugin</artifactId>
275 <version>${spotless-plugin.version}</version>
276 <configuration>
277 <java>
278 <removeUnusedImports/>
279 <importOrder>
280 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
281 </importOrder>
282 <googleJavaFormat>
283 <version>${google.java.format.version}</version>
284 <style>GOOGLE</style>
285 </googleJavaFormat>
286 </java>
287 </configuration>
288 </plugin>
289 </plugins>
290
291 </build>
292
293 <profiles>
294
295 <profile>
296
297 <id>native</id>
298
299 <activation>
300 <property>
301 <name>native</name>
302 </property>
303 </activation>
304
305 <build>
306 <plugins>
307 <plugin>
308 <artifactId>maven-failsafe-plugin</artifactId>
309 <version>${surefire-plugin.version}</version>
310 <executions>
311 <execution>
312 <goals>
313 <goal>integration-test</goal>
314 <goal>verify</goal>
315 </goals>
316 <configuration>
317 <systemProperties>
318 <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
319 </systemProperties>
320 </configuration>
321 </execution>
322 </executions>
323 </plugin>
324 </plugins>
325 </build>
326
327 <properties>
328 <quarkus.package.type>native</quarkus.package.type>
329 </properties>
330
331 </profile>
332
333 </profiles>
334
335</project>