Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 1 | <?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 Benkard | f7bf7c4 | 2020-01-28 22:31:12 +0100 | [diff] [blame] | 20 | <dockerfile-plugin.version>1.4.13</dockerfile-plugin.version> |
Matthias Andreas Benkard | 0312ec7 | 2020-02-23 07:07:26 +0100 | [diff] [blame^] | 21 | <quarkus-plugin.version>1.2.1.Final</quarkus-plugin.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 22 | <surefire-plugin.version>3.0.0-M4</surefire-plugin.version> |
| 23 | <spotless-plugin.version>1.26.1</spotless-plugin.version> |
| 24 | |
Matthias Andreas Benkard | 2710bf3 | 2020-01-25 10:48:07 +0100 | [diff] [blame] | 25 | <!-- <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id> --> |
| 26 | <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 27 | <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id> |
Matthias Andreas Benkard | 0312ec7 | 2020-02-23 07:07:26 +0100 | [diff] [blame^] | 28 | <quarkus.platform.version>1.2.1.Final</quarkus.platform.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 29 | |
| 30 | <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version> |
Matthias Andreas Benkard | 0684956 | 2020-02-14 20:13:17 +0100 | [diff] [blame] | 31 | <flexmark.version>0.60.2</flexmark.version> |
Matthias Andreas Benkard | 6fea813 | 2020-02-08 10:17:38 +0100 | [diff] [blame] | 32 | <hibernate-types.version>2.9.3</hibernate-types.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 33 | <jakarta-jacc-api.version>1.6.1</jakarta-jacc-api.version> |
| 34 | <jna.version>5.5.0</jna.version> |
Matthias Andreas Benkard | 0684956 | 2020-02-14 20:13:17 +0100 | [diff] [blame] | 35 | <jsoup.version>1.12.2</jsoup.version> |
| 36 | <mapstruct.version>1.3.1.Final</mapstruct.version> |
Matthias Andreas Benkard | 981f279 | 2020-02-16 14:54:54 +0100 | [diff] [blame] | 37 | <rome.version>1.12.2</rome.version> |
Matthias Andreas Benkard | 0684956 | 2020-02-14 20:13:17 +0100 | [diff] [blame] | 38 | <testcontainers.version>1.12.5</testcontainers.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 39 | </properties> |
| 40 | |
| 41 | <dependencyManagement> |
| 42 | <dependencies> |
| 43 | |
| 44 | <dependency> |
| 45 | <groupId>${quarkus.platform.group-id}</groupId> |
| 46 | <artifactId>${quarkus.platform.artifact-id}</artifactId> |
| 47 | <version>${quarkus.platform.version}</version> |
| 48 | <type>pom</type> |
| 49 | <scope>import</scope> |
| 50 | </dependency> |
| 51 | |
| 52 | <!-- Hibernate PostgreSQL Extra Types --> |
| 53 | <dependency> |
| 54 | <groupId>com.vladmihalcea</groupId> |
| 55 | <artifactId>hibernate-types-52</artifactId> |
| 56 | <version>${hibernate-types.version}</version> |
| 57 | </dependency> |
| 58 | |
Matthias Andreas Benkard | 4e29a24 | 2020-01-25 05:38:27 +0100 | [diff] [blame] | 59 | <!-- Jsoup --> |
| 60 | <dependency> |
| 61 | <groupId>org.jsoup</groupId> |
| 62 | <artifactId>jsoup</artifactId> |
| 63 | <version>${jsoup.version}</version> |
| 64 | </dependency> |
| 65 | |
Matthias Andreas Benkard | 424e16e | 2020-02-09 18:29:56 +0100 | [diff] [blame] | 66 | <!-- FlexMark --> |
| 67 | <dependency> |
| 68 | <groupId>com.vladsch.flexmark</groupId> |
| 69 | <artifactId>flexmark-all</artifactId> |
| 70 | <version>${flexmark.version}</version> |
| 71 | </dependency> |
| 72 | |
Matthias Andreas Benkard | 981f279 | 2020-02-16 14:54:54 +0100 | [diff] [blame] | 73 | <!-- Rome --> |
| 74 | <dependency> |
| 75 | <groupId>com.rometools</groupId> |
| 76 | <artifactId>rome</artifactId> |
| 77 | <version>${rome.version}</version> |
| 78 | </dependency> |
| 79 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 80 | <!-- JNA --> |
| 81 | <dependency> |
| 82 | <groupId>net.java.dev.jna</groupId> |
| 83 | <artifactId>jna</artifactId> |
| 84 | <version>${jna.version}</version> |
| 85 | </dependency> |
| 86 | |
| 87 | <!-- JACC --> |
| 88 | <dependency> |
| 89 | <groupId>jakarta.security.jacc</groupId> |
| 90 | <artifactId>jakarta.security.jacc-api</artifactId> |
| 91 | <version>${jakarta-jacc-api.version}</version> |
| 92 | </dependency> |
| 93 | |
Matthias Andreas Benkard | 2a1383f | 2020-02-01 23:53:17 +0100 | [diff] [blame] | 94 | <!-- JOSE for Java --> |
| 95 | <dependency> |
| 96 | <groupId>org.bitbucket.b_c</groupId> |
| 97 | <artifactId>jose4j</artifactId> |
| 98 | <version>0.7.0</version> |
| 99 | </dependency> |
| 100 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 101 | <!-- MapStruct --> |
| 102 | <dependency> |
| 103 | <groupId>org.mapstruct</groupId> |
| 104 | <artifactId>mapstruct</artifactId> |
| 105 | <version>${mapstruct.version}</version> |
| 106 | </dependency> |
| 107 | <dependency> |
| 108 | <groupId>org.mapstruct</groupId> |
| 109 | <artifactId>mapstruct-processor</artifactId> |
| 110 | <version>${mapstruct.version}</version> |
| 111 | <scope>provided</scope> |
| 112 | </dependency> |
| 113 | |
| 114 | <!-- Annotations --> |
| 115 | <dependency> |
| 116 | <groupId>com.google.code.findbugs</groupId> |
| 117 | <artifactId>jsr305</artifactId> |
| 118 | <version>${findbugs-jsr305.version}</version> |
| 119 | <scope>provided</scope> |
| 120 | </dependency> |
| 121 | |
| 122 | <!-- Testing --> |
| 123 | <dependency> |
| 124 | <groupId>org.testcontainers</groupId> |
| 125 | <artifactId>testcontainers</artifactId> |
| 126 | <version>${testcontainers.version}</version> |
| 127 | <scope>test</scope> |
| 128 | </dependency> |
| 129 | <dependency> |
| 130 | <groupId>org.testcontainers</groupId> |
| 131 | <artifactId>postgresql</artifactId> |
| 132 | <version>${testcontainers.version}</version> |
| 133 | <scope>test</scope> |
| 134 | </dependency> |
| 135 | |
| 136 | </dependencies> |
| 137 | </dependencyManagement> |
| 138 | |
| 139 | <dependencies> |
| 140 | |
| 141 | <dependency> |
| 142 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 143 | <artifactId>quarkus-agroal</artifactId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 144 | </dependency> |
| 145 | <dependency> |
| 146 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | c27d1cb | 2020-01-26 11:11:24 +0100 | [diff] [blame] | 147 | <artifactId>quarkus-elytron-security-properties-file</artifactId> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 151 | <artifactId>quarkus-flyway</artifactId> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 155 | <artifactId>quarkus-hibernate-orm-panache</artifactId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 156 | </dependency> |
| 157 | <dependency> |
| 158 | <groupId>io.quarkus</groupId> |
| 159 | <artifactId>quarkus-hibernate-validator</artifactId> |
| 160 | </dependency> |
| 161 | <dependency> |
| 162 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 163 | <artifactId>quarkus-jdbc-postgresql</artifactId> |
| 164 | </dependency> |
| 165 | <dependency> |
| 166 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 167 | <artifactId>quarkus-kubernetes</artifactId> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 171 | <artifactId>quarkus-mailer</artifactId> |
| 172 | </dependency> |
| 173 | <dependency> |
| 174 | <groupId>io.quarkus</groupId> |
| 175 | <artifactId>quarkus-oidc</artifactId> |
| 176 | </dependency> |
| 177 | <dependency> |
| 178 | <groupId>io.quarkus</groupId> |
| 179 | <artifactId>quarkus-resteasy</artifactId> |
| 180 | </dependency> |
| 181 | <dependency> |
| 182 | <groupId>io.quarkus</groupId> |
| 183 | <artifactId>quarkus-resteasy-jsonb</artifactId> |
| 184 | </dependency> |
| 185 | <dependency> |
| 186 | <groupId>io.quarkus</groupId> |
| 187 | <artifactId>quarkus-resteasy-qute</artifactId> |
| 188 | </dependency> |
| 189 | <dependency> |
| 190 | <groupId>io.quarkus</groupId> |
| 191 | <artifactId>quarkus-scheduler</artifactId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 192 | </dependency> |
Matthias Andreas Benkard | 2a1383f | 2020-02-01 23:53:17 +0100 | [diff] [blame] | 193 | <dependency> |
| 194 | <groupId>io.quarkus</groupId> |
| 195 | <artifactId>quarkus-smallrye-jwt</artifactId> |
| 196 | </dependency> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 197 | |
| 198 | <!-- JNA --> |
| 199 | <dependency> |
| 200 | <groupId>net.java.dev.jna</groupId> |
| 201 | <artifactId>jna</artifactId> |
| 202 | </dependency> |
| 203 | |
| 204 | <!-- JACC --> |
| 205 | <dependency> |
| 206 | <groupId>jakarta.security.jacc</groupId> |
| 207 | <artifactId>jakarta.security.jacc-api</artifactId> |
| 208 | </dependency> |
| 209 | |
| 210 | <!-- Hibernate PostgreSQL Extra Types --> |
| 211 | <dependency> |
| 212 | <groupId>com.vladmihalcea</groupId> |
| 213 | <artifactId>hibernate-types-52</artifactId> |
| 214 | </dependency> |
| 215 | |
Matthias Andreas Benkard | 404ac1d | 2020-02-22 11:29:37 +0100 | [diff] [blame] | 216 | <!-- Hibernate --> |
| 217 | <dependency> |
| 218 | <groupId>org.hibernate</groupId> |
| 219 | <artifactId>hibernate-jpamodelgen</artifactId> |
| 220 | </dependency> |
| 221 | |
Matthias Andreas Benkard | 4e29a24 | 2020-01-25 05:38:27 +0100 | [diff] [blame] | 222 | <!-- Jsoup --> |
| 223 | <dependency> |
| 224 | <groupId>org.jsoup</groupId> |
| 225 | <artifactId>jsoup</artifactId> |
| 226 | </dependency> |
| 227 | |
Matthias Andreas Benkard | 424e16e | 2020-02-09 18:29:56 +0100 | [diff] [blame] | 228 | <!-- FlexMark --> |
| 229 | <dependency> |
| 230 | <groupId>com.vladsch.flexmark</groupId> |
| 231 | <artifactId>flexmark-all</artifactId> |
| 232 | </dependency> |
| 233 | |
Matthias Andreas Benkard | 981f279 | 2020-02-16 14:54:54 +0100 | [diff] [blame] | 234 | <!-- Rome --> |
| 235 | <dependency> |
| 236 | <groupId>com.rometools</groupId> |
| 237 | <artifactId>rome</artifactId> |
| 238 | </dependency> |
| 239 | |
Matthias Andreas Benkard | 2a1383f | 2020-02-01 23:53:17 +0100 | [diff] [blame] | 240 | <!-- JOSE for Java --> |
| 241 | <dependency> |
| 242 | <groupId>org.bitbucket.b_c</groupId> |
| 243 | <artifactId>jose4j</artifactId> |
| 244 | </dependency> |
| 245 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 246 | <!-- MapStruct --> |
| 247 | <dependency> |
| 248 | <groupId>org.mapstruct</groupId> |
| 249 | <artifactId>mapstruct</artifactId> |
| 250 | </dependency> |
| 251 | <dependency> |
| 252 | <groupId>org.mapstruct</groupId> |
| 253 | <artifactId>mapstruct-processor</artifactId> |
| 254 | <scope>provided</scope> |
| 255 | </dependency> |
| 256 | |
| 257 | <!-- Annotations --> |
| 258 | <dependency> |
| 259 | <groupId>com.google.code.findbugs</groupId> |
| 260 | <artifactId>jsr305</artifactId> |
| 261 | <scope>provided</scope> |
| 262 | </dependency> |
| 263 | |
| 264 | <!-- Testing --> |
| 265 | <dependency> |
| 266 | <groupId>io.quarkus</groupId> |
| 267 | <artifactId>quarkus-junit5</artifactId> |
| 268 | <scope>test</scope> |
| 269 | </dependency> |
| 270 | <dependency> |
| 271 | <groupId>io.rest-assured</groupId> |
| 272 | <artifactId>rest-assured</artifactId> |
| 273 | <scope>test</scope> |
| 274 | </dependency> |
| 275 | <dependency> |
| 276 | <groupId>org.testcontainers</groupId> |
| 277 | <artifactId>junit-jupiter</artifactId> |
| 278 | <scope>test</scope> |
| 279 | </dependency> |
| 280 | <dependency> |
| 281 | <groupId>org.testcontainers</groupId> |
| 282 | <artifactId>testcontainers</artifactId> |
| 283 | <scope>test</scope> |
| 284 | </dependency> |
| 285 | <dependency> |
| 286 | <groupId>org.testcontainers</groupId> |
| 287 | <artifactId>postgresql</artifactId> |
| 288 | <scope>test</scope> |
| 289 | </dependency> |
| 290 | |
| 291 | </dependencies> |
| 292 | |
| 293 | <build> |
| 294 | |
| 295 | <plugins> |
| 296 | |
| 297 | <plugin> |
| 298 | <groupId>io.quarkus</groupId> |
| 299 | <artifactId>quarkus-maven-plugin</artifactId> |
| 300 | <version>${quarkus-plugin.version}</version> |
| 301 | <executions> |
| 302 | <execution> |
| 303 | <goals> |
| 304 | <goal>build</goal> |
| 305 | </goals> |
| 306 | </execution> |
| 307 | </executions> |
| 308 | </plugin> |
| 309 | |
| 310 | <plugin> |
| 311 | <artifactId>maven-compiler-plugin</artifactId> |
| 312 | <version>${compiler-plugin.version}</version> |
| 313 | </plugin> |
| 314 | |
| 315 | <plugin> |
| 316 | <artifactId>maven-surefire-plugin</artifactId> |
| 317 | <version>${surefire-plugin.version}</version> |
| 318 | <configuration> |
| 319 | <systemProperties> |
| 320 | <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
| 321 | <compilerArgs> |
| 322 | <compilerArg>-Amapstruct.defaultComponentModel=cdi</compilerArg> |
| 323 | </compilerArgs> |
| 324 | </systemProperties> |
| 325 | </configuration> |
| 326 | </plugin> |
| 327 | |
| 328 | <!-- Google Java Code Formatter, for enforcing style conventions --> |
| 329 | <plugin> |
| 330 | <groupId>com.diffplug.spotless</groupId> |
| 331 | <artifactId>spotless-maven-plugin</artifactId> |
| 332 | <version>${spotless-plugin.version}</version> |
| 333 | <configuration> |
| 334 | <java> |
| 335 | <removeUnusedImports/> |
| 336 | <importOrder> |
| 337 | <order>java,javax,org,com,de,io,dagger,eu.mulk,</order> |
| 338 | </importOrder> |
| 339 | <googleJavaFormat> |
| 340 | <version>${google.java.format.version}</version> |
| 341 | <style>GOOGLE</style> |
| 342 | </googleJavaFormat> |
| 343 | </java> |
| 344 | </configuration> |
| 345 | </plugin> |
Matthias Andreas Benkard | f7bf7c4 | 2020-01-28 22:31:12 +0100 | [diff] [blame] | 346 | |
| 347 | <plugin> |
| 348 | <groupId>com.spotify</groupId> |
| 349 | <artifactId>dockerfile-maven-plugin</artifactId> |
| 350 | <version>${dockerfile-plugin.version}</version> |
| 351 | <executions> |
| 352 | <execution> |
| 353 | <id>default</id> |
| 354 | <goals> |
| 355 | <goal>build</goal> |
| 356 | <goal>push</goal> |
| 357 | </goals> |
| 358 | </execution> |
| 359 | </executions> |
| 360 | <configuration> |
| 361 | <dockerfile>src/main/docker/Dockerfile.jvm</dockerfile> |
| 362 | <repository>docker.benkard.de/mulk/mulkcms2</repository> |
| 363 | <tag>${project.version}</tag> |
| 364 | </configuration> |
| 365 | </plugin> |
| 366 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 367 | </plugins> |
| 368 | |
Matthias Andreas Benkard | b712a01 | 2020-01-26 08:10:49 +0100 | [diff] [blame] | 369 | <resources> |
| 370 | <resource> |
| 371 | <directory>src/main/resources</directory> |
| 372 | <excludes> |
| 373 | <exclude>META-INF/resources/node_modules/**/*</exclude> |
Matthias Andreas Benkard | 97130f9 | 2020-01-27 21:03:39 +0100 | [diff] [blame] | 374 | <exclude>META-INF/resources/package.json</exclude> |
| 375 | <exclude>META-INF/resources/yarn.lock</exclude> |
Matthias Andreas Benkard | b712a01 | 2020-01-26 08:10:49 +0100 | [diff] [blame] | 376 | </excludes> |
| 377 | <filtering>false</filtering> |
| 378 | </resource> |
| 379 | </resources> |
| 380 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 381 | </build> |
| 382 | |
| 383 | <profiles> |
| 384 | |
| 385 | <profile> |
| 386 | |
| 387 | <id>native</id> |
| 388 | |
| 389 | <activation> |
| 390 | <property> |
| 391 | <name>native</name> |
| 392 | </property> |
| 393 | </activation> |
| 394 | |
| 395 | <build> |
| 396 | <plugins> |
| 397 | <plugin> |
| 398 | <artifactId>maven-failsafe-plugin</artifactId> |
| 399 | <version>${surefire-plugin.version}</version> |
| 400 | <executions> |
| 401 | <execution> |
| 402 | <goals> |
| 403 | <goal>integration-test</goal> |
| 404 | <goal>verify</goal> |
| 405 | </goals> |
| 406 | <configuration> |
| 407 | <systemProperties> |
| 408 | <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path> |
| 409 | </systemProperties> |
| 410 | </configuration> |
| 411 | </execution> |
| 412 | </executions> |
| 413 | </plugin> |
| 414 | </plugins> |
| 415 | </build> |
| 416 | |
| 417 | <properties> |
| 418 | <quarkus.package.type>native</quarkus.package.type> |
| 419 | </properties> |
| 420 | |
| 421 | </profile> |
| 422 | |
| 423 | </profiles> |
| 424 | |
| 425 | </project> |