blob: 067d2e336f63986ca990bb52d29bc8d91a8ca24e [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>
110 <artifactId>quarkus-resteasy</artifactId>
111 </dependency>
112 <dependency>
113 <groupId>io.quarkus</groupId>
114 <artifactId>quarkus-rest-client</artifactId>
115 </dependency>
116 <dependency>
117 <groupId>io.quarkus</groupId>
118 <artifactId>quarkus-hibernate-orm-panache</artifactId>
119 </dependency>
120 <dependency>
121 <groupId>io.quarkus</groupId>
122 <artifactId>quarkus-jsonb</artifactId>
123 </dependency>
124 <dependency>
125 <groupId>io.quarkus</groupId>
126 <artifactId>quarkus-flyway</artifactId>
127 </dependency>
128 <dependency>
129 <groupId>io.quarkus</groupId>
130 <artifactId>quarkus-resteasy-jsonb</artifactId>
131 </dependency>
132 <dependency>
133 <groupId>io.quarkus</groupId>
134 <artifactId>quarkus-jdbc-postgresql</artifactId>
135 </dependency>
136 <dependency>
137 <groupId>io.quarkus</groupId>
138 <artifactId>quarkus-jackson</artifactId>
139 </dependency>
140 <dependency>
141 <groupId>io.quarkus</groupId>
142 <artifactId>quarkus-hibernate-validator</artifactId>
143 </dependency>
144 <dependency>
145 <groupId>io.quarkus</groupId>
146 <artifactId>quarkus-kubernetes</artifactId>
147 </dependency>
148 <dependency>
149 <groupId>io.quarkus</groupId>
150 <artifactId>quarkus-smallrye-health</artifactId>
151 </dependency>
152
153 <!-- JNA -->
154 <dependency>
155 <groupId>net.java.dev.jna</groupId>
156 <artifactId>jna</artifactId>
157 </dependency>
158
159 <!-- JACC -->
160 <dependency>
161 <groupId>jakarta.security.jacc</groupId>
162 <artifactId>jakarta.security.jacc-api</artifactId>
163 </dependency>
164
165 <!-- Hibernate PostgreSQL Extra Types -->
166 <dependency>
167 <groupId>com.vladmihalcea</groupId>
168 <artifactId>hibernate-types-52</artifactId>
169 </dependency>
170
171 <!-- MapStruct -->
172 <dependency>
173 <groupId>org.mapstruct</groupId>
174 <artifactId>mapstruct</artifactId>
175 </dependency>
176 <dependency>
177 <groupId>org.mapstruct</groupId>
178 <artifactId>mapstruct-processor</artifactId>
179 <scope>provided</scope>
180 </dependency>
181
182 <!-- Annotations -->
183 <dependency>
184 <groupId>com.google.code.findbugs</groupId>
185 <artifactId>jsr305</artifactId>
186 <scope>provided</scope>
187 </dependency>
188
189 <!-- Testing -->
190 <dependency>
191 <groupId>io.quarkus</groupId>
192 <artifactId>quarkus-junit5</artifactId>
193 <scope>test</scope>
194 </dependency>
195 <dependency>
196 <groupId>io.rest-assured</groupId>
197 <artifactId>rest-assured</artifactId>
198 <scope>test</scope>
199 </dependency>
200 <dependency>
201 <groupId>org.testcontainers</groupId>
202 <artifactId>junit-jupiter</artifactId>
203 <scope>test</scope>
204 </dependency>
205 <dependency>
206 <groupId>org.testcontainers</groupId>
207 <artifactId>testcontainers</artifactId>
208 <scope>test</scope>
209 </dependency>
210 <dependency>
211 <groupId>org.testcontainers</groupId>
212 <artifactId>postgresql</artifactId>
213 <scope>test</scope>
214 </dependency>
215
216 </dependencies>
217
218 <build>
219
220 <plugins>
221
222 <plugin>
223 <groupId>io.quarkus</groupId>
224 <artifactId>quarkus-maven-plugin</artifactId>
225 <version>${quarkus-plugin.version}</version>
226 <executions>
227 <execution>
228 <goals>
229 <goal>build</goal>
230 </goals>
231 </execution>
232 </executions>
233 </plugin>
234
235 <plugin>
236 <artifactId>maven-compiler-plugin</artifactId>
237 <version>${compiler-plugin.version}</version>
238 </plugin>
239
240 <plugin>
241 <artifactId>maven-surefire-plugin</artifactId>
242 <version>${surefire-plugin.version}</version>
243 <configuration>
244 <systemProperties>
245 <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
246 <compilerArgs>
247 <compilerArg>-Amapstruct.defaultComponentModel=cdi</compilerArg>
248 </compilerArgs>
249 </systemProperties>
250 </configuration>
251 </plugin>
252
253 <!-- Google Java Code Formatter, for enforcing style conventions -->
254 <plugin>
255 <groupId>com.diffplug.spotless</groupId>
256 <artifactId>spotless-maven-plugin</artifactId>
257 <version>${spotless-plugin.version}</version>
258 <configuration>
259 <java>
260 <removeUnusedImports/>
261 <importOrder>
262 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
263 </importOrder>
264 <googleJavaFormat>
265 <version>${google.java.format.version}</version>
266 <style>GOOGLE</style>
267 </googleJavaFormat>
268 </java>
269 </configuration>
270 </plugin>
271 </plugins>
272
273 </build>
274
275 <profiles>
276
277 <profile>
278
279 <id>native</id>
280
281 <activation>
282 <property>
283 <name>native</name>
284 </property>
285 </activation>
286
287 <build>
288 <plugins>
289 <plugin>
290 <artifactId>maven-failsafe-plugin</artifactId>
291 <version>${surefire-plugin.version}</version>
292 <executions>
293 <execution>
294 <goals>
295 <goal>integration-test</goal>
296 <goal>verify</goal>
297 </goals>
298 <configuration>
299 <systemProperties>
300 <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
301 </systemProperties>
302 </configuration>
303 </execution>
304 </executions>
305 </plugin>
306 </plugins>
307 </build>
308
309 <properties>
310 <quarkus.package.type>native</quarkus.package.type>
311 </properties>
312
313 </profile>
314
315 </profiles>
316
317</project>