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