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