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 | 2710bf3 | 2020-01-25 10:48:07 +0100 | [diff] [blame] | 20 | <quarkus-plugin.version>1.2.0.Final</quarkus-plugin.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 21 | <surefire-plugin.version>3.0.0-M4</surefire-plugin.version> |
| 22 | <spotless-plugin.version>1.26.1</spotless-plugin.version> |
| 23 | |
Matthias Andreas Benkard | 2710bf3 | 2020-01-25 10:48:07 +0100 | [diff] [blame] | 24 | <!-- <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id> --> |
| 25 | <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 26 | <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id> |
Matthias Andreas Benkard | 2710bf3 | 2020-01-25 10:48:07 +0100 | [diff] [blame] | 27 | <quarkus.platform.version>1.2.0.Final</quarkus.platform.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 28 | |
| 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 Benkard | 2710bf3 | 2020-01-25 10:48:07 +0100 | [diff] [blame] | 32 | <testcontainers.version>1.12.5</testcontainers.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 | 4e29a24 | 2020-01-25 05:38:27 +0100 | [diff] [blame] | 35 | <jsoup.version>1.12.1</jsoup.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 36 | </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 Benkard | 4e29a24 | 2020-01-25 05:38:27 +0100 | [diff] [blame] | 56 | <!-- Jsoup --> |
| 57 | <dependency> |
| 58 | <groupId>org.jsoup</groupId> |
| 59 | <artifactId>jsoup</artifactId> |
| 60 | <version>${jsoup.version}</version> |
| 61 | </dependency> |
| 62 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 63 | <!-- 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 Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 119 | <artifactId>quarkus-agroal</artifactId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | c27d1cb | 2020-01-26 11:11:24 +0100 | [diff] [blame] | 123 | <artifactId>quarkus-elytron-security-properties-file</artifactId> |
| 124 | </dependency> |
| 125 | <dependency> |
| 126 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 127 | <artifactId>quarkus-flyway</artifactId> |
| 128 | </dependency> |
| 129 | <dependency> |
| 130 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 131 | <artifactId>quarkus-hibernate-orm-panache</artifactId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 132 | </dependency> |
| 133 | <dependency> |
| 134 | <groupId>io.quarkus</groupId> |
| 135 | <artifactId>quarkus-hibernate-validator</artifactId> |
| 136 | </dependency> |
| 137 | <dependency> |
| 138 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 139 | <artifactId>quarkus-jdbc-postgresql</artifactId> |
| 140 | </dependency> |
| 141 | <dependency> |
| 142 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 143 | <artifactId>quarkus-kubernetes</artifactId> |
| 144 | </dependency> |
| 145 | <dependency> |
| 146 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 147 | <artifactId>quarkus-mailer</artifactId> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>io.quarkus</groupId> |
| 151 | <artifactId>quarkus-oidc</artifactId> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>io.quarkus</groupId> |
| 155 | <artifactId>quarkus-resteasy</artifactId> |
| 156 | </dependency> |
| 157 | <dependency> |
| 158 | <groupId>io.quarkus</groupId> |
| 159 | <artifactId>quarkus-resteasy-jsonb</artifactId> |
| 160 | </dependency> |
| 161 | <dependency> |
| 162 | <groupId>io.quarkus</groupId> |
| 163 | <artifactId>quarkus-resteasy-qute</artifactId> |
| 164 | </dependency> |
| 165 | <dependency> |
| 166 | <groupId>io.quarkus</groupId> |
| 167 | <artifactId>quarkus-scheduler</artifactId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 168 | </dependency> |
| 169 | |
| 170 | <!-- JNA --> |
| 171 | <dependency> |
| 172 | <groupId>net.java.dev.jna</groupId> |
| 173 | <artifactId>jna</artifactId> |
| 174 | </dependency> |
| 175 | |
| 176 | <!-- JACC --> |
| 177 | <dependency> |
| 178 | <groupId>jakarta.security.jacc</groupId> |
| 179 | <artifactId>jakarta.security.jacc-api</artifactId> |
| 180 | </dependency> |
| 181 | |
| 182 | <!-- Hibernate PostgreSQL Extra Types --> |
| 183 | <dependency> |
| 184 | <groupId>com.vladmihalcea</groupId> |
| 185 | <artifactId>hibernate-types-52</artifactId> |
| 186 | </dependency> |
| 187 | |
Matthias Andreas Benkard | 4e29a24 | 2020-01-25 05:38:27 +0100 | [diff] [blame] | 188 | <!-- Jsoup --> |
| 189 | <dependency> |
| 190 | <groupId>org.jsoup</groupId> |
| 191 | <artifactId>jsoup</artifactId> |
| 192 | </dependency> |
| 193 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 194 | <!-- MapStruct --> |
| 195 | <dependency> |
| 196 | <groupId>org.mapstruct</groupId> |
| 197 | <artifactId>mapstruct</artifactId> |
| 198 | </dependency> |
| 199 | <dependency> |
| 200 | <groupId>org.mapstruct</groupId> |
| 201 | <artifactId>mapstruct-processor</artifactId> |
| 202 | <scope>provided</scope> |
| 203 | </dependency> |
| 204 | |
| 205 | <!-- Annotations --> |
| 206 | <dependency> |
| 207 | <groupId>com.google.code.findbugs</groupId> |
| 208 | <artifactId>jsr305</artifactId> |
| 209 | <scope>provided</scope> |
| 210 | </dependency> |
| 211 | |
| 212 | <!-- Testing --> |
| 213 | <dependency> |
| 214 | <groupId>io.quarkus</groupId> |
| 215 | <artifactId>quarkus-junit5</artifactId> |
| 216 | <scope>test</scope> |
| 217 | </dependency> |
| 218 | <dependency> |
| 219 | <groupId>io.rest-assured</groupId> |
| 220 | <artifactId>rest-assured</artifactId> |
| 221 | <scope>test</scope> |
| 222 | </dependency> |
| 223 | <dependency> |
| 224 | <groupId>org.testcontainers</groupId> |
| 225 | <artifactId>junit-jupiter</artifactId> |
| 226 | <scope>test</scope> |
| 227 | </dependency> |
| 228 | <dependency> |
| 229 | <groupId>org.testcontainers</groupId> |
| 230 | <artifactId>testcontainers</artifactId> |
| 231 | <scope>test</scope> |
| 232 | </dependency> |
| 233 | <dependency> |
| 234 | <groupId>org.testcontainers</groupId> |
| 235 | <artifactId>postgresql</artifactId> |
| 236 | <scope>test</scope> |
| 237 | </dependency> |
| 238 | |
| 239 | </dependencies> |
| 240 | |
| 241 | <build> |
| 242 | |
| 243 | <plugins> |
| 244 | |
| 245 | <plugin> |
| 246 | <groupId>io.quarkus</groupId> |
| 247 | <artifactId>quarkus-maven-plugin</artifactId> |
| 248 | <version>${quarkus-plugin.version}</version> |
| 249 | <executions> |
| 250 | <execution> |
| 251 | <goals> |
| 252 | <goal>build</goal> |
| 253 | </goals> |
| 254 | </execution> |
| 255 | </executions> |
| 256 | </plugin> |
| 257 | |
| 258 | <plugin> |
| 259 | <artifactId>maven-compiler-plugin</artifactId> |
| 260 | <version>${compiler-plugin.version}</version> |
| 261 | </plugin> |
| 262 | |
| 263 | <plugin> |
| 264 | <artifactId>maven-surefire-plugin</artifactId> |
| 265 | <version>${surefire-plugin.version}</version> |
| 266 | <configuration> |
| 267 | <systemProperties> |
| 268 | <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
| 269 | <compilerArgs> |
| 270 | <compilerArg>-Amapstruct.defaultComponentModel=cdi</compilerArg> |
| 271 | </compilerArgs> |
| 272 | </systemProperties> |
| 273 | </configuration> |
| 274 | </plugin> |
| 275 | |
| 276 | <!-- Google Java Code Formatter, for enforcing style conventions --> |
| 277 | <plugin> |
| 278 | <groupId>com.diffplug.spotless</groupId> |
| 279 | <artifactId>spotless-maven-plugin</artifactId> |
| 280 | <version>${spotless-plugin.version}</version> |
| 281 | <configuration> |
| 282 | <java> |
| 283 | <removeUnusedImports/> |
| 284 | <importOrder> |
| 285 | <order>java,javax,org,com,de,io,dagger,eu.mulk,</order> |
| 286 | </importOrder> |
| 287 | <googleJavaFormat> |
| 288 | <version>${google.java.format.version}</version> |
| 289 | <style>GOOGLE</style> |
| 290 | </googleJavaFormat> |
| 291 | </java> |
| 292 | </configuration> |
| 293 | </plugin> |
| 294 | </plugins> |
| 295 | |
Matthias Andreas Benkard | b712a01 | 2020-01-26 08:10:49 +0100 | [diff] [blame] | 296 | <resources> |
| 297 | <resource> |
| 298 | <directory>src/main/resources</directory> |
| 299 | <excludes> |
| 300 | <exclude>META-INF/resources/node_modules/**/*</exclude> |
Matthias Andreas Benkard | 97130f9 | 2020-01-27 21:03:39 +0100 | [diff] [blame] | 301 | <exclude>META-INF/resources/package.json</exclude> |
| 302 | <exclude>META-INF/resources/yarn.lock</exclude> |
Matthias Andreas Benkard | b712a01 | 2020-01-26 08:10:49 +0100 | [diff] [blame] | 303 | </excludes> |
| 304 | <filtering>false</filtering> |
| 305 | </resource> |
| 306 | </resources> |
| 307 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 308 | </build> |
| 309 | |
| 310 | <profiles> |
| 311 | |
| 312 | <profile> |
| 313 | |
| 314 | <id>native</id> |
| 315 | |
| 316 | <activation> |
| 317 | <property> |
| 318 | <name>native</name> |
| 319 | </property> |
| 320 | </activation> |
| 321 | |
| 322 | <build> |
| 323 | <plugins> |
| 324 | <plugin> |
| 325 | <artifactId>maven-failsafe-plugin</artifactId> |
| 326 | <version>${surefire-plugin.version}</version> |
| 327 | <executions> |
| 328 | <execution> |
| 329 | <goals> |
| 330 | <goal>integration-test</goal> |
| 331 | <goal>verify</goal> |
| 332 | </goals> |
| 333 | <configuration> |
| 334 | <systemProperties> |
| 335 | <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path> |
| 336 | </systemProperties> |
| 337 | </configuration> |
| 338 | </execution> |
| 339 | </executions> |
| 340 | </plugin> |
| 341 | </plugins> |
| 342 | </build> |
| 343 | |
| 344 | <properties> |
| 345 | <quarkus.package.type>native</quarkus.package.type> |
| 346 | </properties> |
| 347 | |
| 348 | </profile> |
| 349 | |
| 350 | </profiles> |
| 351 | |
| 352 | </project> |