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 | |
Matthias Andreas Benkard | 3bbba8d | 2020-06-13 15:40:15 +0200 | [diff] [blame] | 19 | <antrun-plugin.version>3.0.0</antrun-plugin.version> |
Matthias Andreas Benkard | 55243c8 | 2020-04-13 20:49:15 +0200 | [diff] [blame] | 20 | <compiler-plugin.version>3.8.1</compiler-plugin.version> |
Matthias Andreas Benkard | 3bbba8d | 2020-06-13 15:40:15 +0200 | [diff] [blame] | 21 | <quarkus-plugin.version>1.5.0.Final</quarkus-plugin.version> |
Matthias Andreas Benkard | a039237 | 2020-06-13 15:46:39 +0200 | [diff] [blame] | 22 | <spotless-plugin.version>1.31.2</spotless-plugin.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 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 | 3bbba8d | 2020-06-13 15:40:15 +0200 | [diff] [blame] | 27 | <quarkus.platform.version>1.5.0.Final</quarkus.platform.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 28 | |
Matthias Andreas Benkard | 1e7674c | 2020-04-18 20:28:51 +0200 | [diff] [blame] | 29 | <basic-annotations.version>0.2.0</basic-annotations.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 30 | <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version> |
Matthias Andreas Benkard | 3bbba8d | 2020-06-13 15:40:15 +0200 | [diff] [blame] | 31 | <flexmark.version>0.62.0</flexmark.version> |
Matthias Andreas Benkard | a039237 | 2020-06-13 15:46:39 +0200 | [diff] [blame] | 32 | <google.java.format.version>1.8</google.java.format.version> |
Matthias Andreas Benkard | 3bbba8d | 2020-06-13 15:40:15 +0200 | [diff] [blame] | 33 | <hibernate.version>5.4.17.Final</hibernate.version> |
| 34 | <hibernate-types.version>2.9.11</hibernate-types.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 35 | <jakarta-jacc-api.version>1.6.1</jakarta-jacc-api.version> |
| 36 | <jna.version>5.5.0</jna.version> |
Matthias Andreas Benkard | 551f50c | 2020-03-15 12:34:07 +0100 | [diff] [blame] | 37 | <jsoup.version>1.13.1</jsoup.version> |
Matthias Andreas Benkard | 80fc431 | 2020-06-13 16:59:04 +0200 | [diff] [blame] | 38 | <liquibase.version>3.9.0</liquibase.version> |
| 39 | <postgresql.version>42.2.14</postgresql.version> |
Matthias Andreas Benkard | 3bbba8d | 2020-06-13 15:40:15 +0200 | [diff] [blame] | 40 | <rome.version>1.13.0</rome.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 41 | </properties> |
| 42 | |
| 43 | <dependencyManagement> |
| 44 | <dependencies> |
| 45 | |
| 46 | <dependency> |
| 47 | <groupId>${quarkus.platform.group-id}</groupId> |
| 48 | <artifactId>${quarkus.platform.artifact-id}</artifactId> |
| 49 | <version>${quarkus.platform.version}</version> |
| 50 | <type>pom</type> |
| 51 | <scope>import</scope> |
| 52 | </dependency> |
| 53 | |
| 54 | <!-- Hibernate PostgreSQL Extra Types --> |
| 55 | <dependency> |
| 56 | <groupId>com.vladmihalcea</groupId> |
| 57 | <artifactId>hibernate-types-52</artifactId> |
| 58 | <version>${hibernate-types.version}</version> |
| 59 | </dependency> |
| 60 | |
Matthias Andreas Benkard | 1e7674c | 2020-04-18 20:28:51 +0200 | [diff] [blame] | 61 | <!-- Annotations --> |
| 62 | <dependency> |
| 63 | <groupId>pl.tlinkowski.annotation</groupId> |
| 64 | <artifactId>pl.tlinkowski.annotation.basic</artifactId> |
| 65 | <version>${basic-annotations.version}</version> |
| 66 | <scope>provided</scope> |
| 67 | </dependency> |
| 68 | |
Matthias Andreas Benkard | 4e29a24 | 2020-01-25 05:38:27 +0100 | [diff] [blame] | 69 | <!-- Jsoup --> |
| 70 | <dependency> |
| 71 | <groupId>org.jsoup</groupId> |
| 72 | <artifactId>jsoup</artifactId> |
| 73 | <version>${jsoup.version}</version> |
| 74 | </dependency> |
| 75 | |
Matthias Andreas Benkard | 424e16e | 2020-02-09 18:29:56 +0100 | [diff] [blame] | 76 | <!-- FlexMark --> |
| 77 | <dependency> |
| 78 | <groupId>com.vladsch.flexmark</groupId> |
| 79 | <artifactId>flexmark-all</artifactId> |
| 80 | <version>${flexmark.version}</version> |
| 81 | </dependency> |
| 82 | |
Matthias Andreas Benkard | 981f279 | 2020-02-16 14:54:54 +0100 | [diff] [blame] | 83 | <!-- Rome --> |
| 84 | <dependency> |
| 85 | <groupId>com.rometools</groupId> |
| 86 | <artifactId>rome</artifactId> |
| 87 | <version>${rome.version}</version> |
| 88 | </dependency> |
| 89 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 90 | <!-- JNA --> |
| 91 | <dependency> |
| 92 | <groupId>net.java.dev.jna</groupId> |
| 93 | <artifactId>jna</artifactId> |
| 94 | <version>${jna.version}</version> |
| 95 | </dependency> |
| 96 | |
| 97 | <!-- JACC --> |
| 98 | <dependency> |
| 99 | <groupId>jakarta.security.jacc</groupId> |
| 100 | <artifactId>jakarta.security.jacc-api</artifactId> |
| 101 | <version>${jakarta-jacc-api.version}</version> |
| 102 | </dependency> |
| 103 | |
Matthias Andreas Benkard | 2a1383f | 2020-02-01 23:53:17 +0100 | [diff] [blame] | 104 | <!-- JOSE for Java --> |
| 105 | <dependency> |
| 106 | <groupId>org.bitbucket.b_c</groupId> |
| 107 | <artifactId>jose4j</artifactId> |
| 108 | <version>0.7.0</version> |
| 109 | </dependency> |
| 110 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 111 | <!-- Annotations --> |
| 112 | <dependency> |
| 113 | <groupId>com.google.code.findbugs</groupId> |
| 114 | <artifactId>jsr305</artifactId> |
| 115 | <version>${findbugs-jsr305.version}</version> |
| 116 | <scope>provided</scope> |
| 117 | </dependency> |
| 118 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 119 | </dependencies> |
| 120 | </dependencyManagement> |
| 121 | |
| 122 | <dependencies> |
| 123 | |
| 124 | <dependency> |
| 125 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 126 | <artifactId>quarkus-agroal</artifactId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 127 | </dependency> |
| 128 | <dependency> |
| 129 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | c27d1cb | 2020-01-26 11:11:24 +0100 | [diff] [blame] | 130 | <artifactId>quarkus-elytron-security-properties-file</artifactId> |
| 131 | </dependency> |
| 132 | <dependency> |
| 133 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 134 | <artifactId>quarkus-hibernate-orm-panache</artifactId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 135 | </dependency> |
| 136 | <dependency> |
| 137 | <groupId>io.quarkus</groupId> |
| 138 | <artifactId>quarkus-hibernate-validator</artifactId> |
| 139 | </dependency> |
| 140 | <dependency> |
| 141 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 142 | <artifactId>quarkus-jdbc-postgresql</artifactId> |
| 143 | </dependency> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 144 | <dependency> |
| 145 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 80fc431 | 2020-06-13 16:59:04 +0200 | [diff] [blame] | 146 | <artifactId>quarkus-liquibase</artifactId> |
| 147 | </dependency> |
| 148 | <dependency> |
| 149 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 150 | <artifactId>quarkus-oidc</artifactId> |
| 151 | </dependency> |
| 152 | <dependency> |
| 153 | <groupId>io.quarkus</groupId> |
| 154 | <artifactId>quarkus-resteasy</artifactId> |
| 155 | </dependency> |
| 156 | <dependency> |
| 157 | <groupId>io.quarkus</groupId> |
| 158 | <artifactId>quarkus-resteasy-jsonb</artifactId> |
| 159 | </dependency> |
| 160 | <dependency> |
| 161 | <groupId>io.quarkus</groupId> |
| 162 | <artifactId>quarkus-resteasy-qute</artifactId> |
| 163 | </dependency> |
Matthias Andreas Benkard | 2a1383f | 2020-02-01 23:53:17 +0100 | [diff] [blame] | 164 | <dependency> |
| 165 | <groupId>io.quarkus</groupId> |
| 166 | <artifactId>quarkus-smallrye-jwt</artifactId> |
| 167 | </dependency> |
Matthias Andreas Benkard | db48be4 | 2020-04-17 21:44:59 +0200 | [diff] [blame] | 168 | <dependency> |
| 169 | <groupId>io.quarkus</groupId> |
| 170 | <artifactId>quarkus-container-image-jib</artifactId> |
| 171 | </dependency> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 172 | |
| 173 | <!-- JNA --> |
| 174 | <dependency> |
| 175 | <groupId>net.java.dev.jna</groupId> |
| 176 | <artifactId>jna</artifactId> |
| 177 | </dependency> |
| 178 | |
| 179 | <!-- JACC --> |
| 180 | <dependency> |
| 181 | <groupId>jakarta.security.jacc</groupId> |
| 182 | <artifactId>jakarta.security.jacc-api</artifactId> |
| 183 | </dependency> |
| 184 | |
| 185 | <!-- Hibernate PostgreSQL Extra Types --> |
| 186 | <dependency> |
| 187 | <groupId>com.vladmihalcea</groupId> |
| 188 | <artifactId>hibernate-types-52</artifactId> |
| 189 | </dependency> |
| 190 | |
Matthias Andreas Benkard | 1e7674c | 2020-04-18 20:28:51 +0200 | [diff] [blame] | 191 | <!-- Annotations --> |
| 192 | <dependency> |
| 193 | <groupId>pl.tlinkowski.annotation</groupId> |
| 194 | <artifactId>pl.tlinkowski.annotation.basic</artifactId> |
| 195 | <scope>provided</scope> |
| 196 | </dependency> |
| 197 | |
Matthias Andreas Benkard | 4e29a24 | 2020-01-25 05:38:27 +0100 | [diff] [blame] | 198 | <!-- Jsoup --> |
| 199 | <dependency> |
| 200 | <groupId>org.jsoup</groupId> |
| 201 | <artifactId>jsoup</artifactId> |
| 202 | </dependency> |
| 203 | |
Matthias Andreas Benkard | 424e16e | 2020-02-09 18:29:56 +0100 | [diff] [blame] | 204 | <!-- FlexMark --> |
| 205 | <dependency> |
| 206 | <groupId>com.vladsch.flexmark</groupId> |
| 207 | <artifactId>flexmark-all</artifactId> |
| 208 | </dependency> |
| 209 | |
Matthias Andreas Benkard | 981f279 | 2020-02-16 14:54:54 +0100 | [diff] [blame] | 210 | <!-- Rome --> |
| 211 | <dependency> |
| 212 | <groupId>com.rometools</groupId> |
| 213 | <artifactId>rome</artifactId> |
| 214 | </dependency> |
| 215 | |
Matthias Andreas Benkard | 2a1383f | 2020-02-01 23:53:17 +0100 | [diff] [blame] | 216 | <!-- JOSE for Java --> |
| 217 | <dependency> |
| 218 | <groupId>org.bitbucket.b_c</groupId> |
| 219 | <artifactId>jose4j</artifactId> |
| 220 | </dependency> |
| 221 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 222 | <!-- Annotations --> |
| 223 | <dependency> |
| 224 | <groupId>com.google.code.findbugs</groupId> |
| 225 | <artifactId>jsr305</artifactId> |
| 226 | <scope>provided</scope> |
| 227 | </dependency> |
| 228 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 229 | </dependencies> |
| 230 | |
| 231 | <build> |
| 232 | |
| 233 | <plugins> |
| 234 | |
| 235 | <plugin> |
| 236 | <groupId>io.quarkus</groupId> |
| 237 | <artifactId>quarkus-maven-plugin</artifactId> |
| 238 | <version>${quarkus-plugin.version}</version> |
| 239 | <executions> |
| 240 | <execution> |
| 241 | <goals> |
| 242 | <goal>build</goal> |
| 243 | </goals> |
| 244 | </execution> |
| 245 | </executions> |
| 246 | </plugin> |
| 247 | |
| 248 | <plugin> |
| 249 | <artifactId>maven-compiler-plugin</artifactId> |
| 250 | <version>${compiler-plugin.version}</version> |
Matthias Andreas Benkard | 98e63f0 | 2020-04-18 19:45:48 +0200 | [diff] [blame] | 251 | |
| 252 | <configuration> |
| 253 | <annotationProcessorPaths> |
| 254 | <!-- Hibernate --> |
| 255 | <annotationProcessorPath> |
| 256 | <groupId>org.hibernate</groupId> |
| 257 | <artifactId>hibernate-jpamodelgen</artifactId> |
| 258 | <version>${hibernate.version}</version> |
| 259 | </annotationProcessorPath> |
Matthias Andreas Benkard | 98e63f0 | 2020-04-18 19:45:48 +0200 | [diff] [blame] | 260 | </annotationProcessorPaths> |
| 261 | </configuration> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 262 | </plugin> |
| 263 | |
Matthias Andreas Benkard | 80fc431 | 2020-06-13 16:59:04 +0200 | [diff] [blame] | 264 | <!-- Liquibase --> |
| 265 | <plugin> |
| 266 | <groupId>org.liquibase</groupId> |
| 267 | <artifactId>liquibase-maven-plugin</artifactId> |
| 268 | <version>${liquibase.version}</version> |
| 269 | <configuration> |
| 270 | <propertyFile>src/main/resources/db/liquibase.properties</propertyFile> |
| 271 | </configuration> |
| 272 | <dependencies> |
| 273 | <dependency> |
| 274 | <groupId>org.liquibase.ext</groupId> |
| 275 | <artifactId>liquibase-hibernate5</artifactId> <!-- note: I tried hibernate4 release version as well --> |
| 276 | <version>${liquibase.version}</version> |
| 277 | </dependency> |
| 278 | <dependency> |
| 279 | <groupId>org.hibernate</groupId> |
| 280 | <artifactId>hibernate-core</artifactId> |
| 281 | <version>${hibernate.version}</version> |
| 282 | </dependency> |
| 283 | <dependency> |
| 284 | <groupId>org.hibernate</groupId> |
| 285 | <artifactId>hibernate-entitymanager</artifactId> |
| 286 | <version>${hibernate.version}</version> |
| 287 | </dependency> |
| 288 | <dependency> |
| 289 | <groupId>org.hibernate</groupId> |
| 290 | <artifactId>hibernate-envers</artifactId> |
| 291 | <version>${hibernate.version}</version> |
| 292 | </dependency> |
| 293 | <dependency> |
| 294 | <groupId>org.postgresql</groupId> |
| 295 | <artifactId>postgresql</artifactId> |
| 296 | <version>${postgresql.version}</version> |
| 297 | </dependency> |
| 298 | </dependencies> |
| 299 | </plugin> |
| 300 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 301 | <!-- Google Java Code Formatter, for enforcing style conventions --> |
| 302 | <plugin> |
| 303 | <groupId>com.diffplug.spotless</groupId> |
| 304 | <artifactId>spotless-maven-plugin</artifactId> |
| 305 | <version>${spotless-plugin.version}</version> |
| 306 | <configuration> |
| 307 | <java> |
| 308 | <removeUnusedImports/> |
| 309 | <importOrder> |
| 310 | <order>java,javax,org,com,de,io,dagger,eu.mulk,</order> |
| 311 | </importOrder> |
| 312 | <googleJavaFormat> |
| 313 | <version>${google.java.format.version}</version> |
| 314 | <style>GOOGLE</style> |
| 315 | </googleJavaFormat> |
| 316 | </java> |
| 317 | </configuration> |
| 318 | </plugin> |
Matthias Andreas Benkard | f7bf7c4 | 2020-01-28 22:31:12 +0100 | [diff] [blame] | 319 | |
| 320 | <plugin> |
Matthias Andreas Benkard | 7f4dacc | 2020-04-13 11:25:19 +0200 | [diff] [blame] | 321 | <artifactId>maven-antrun-plugin</artifactId> |
| 322 | <version>${antrun-plugin.version}</version> |
| 323 | <executions> |
| 324 | <execution> |
| 325 | <phase>generate-resources</phase> |
| 326 | <configuration> |
| 327 | <target> |
| 328 | <ant target="web.resources" /> |
| 329 | </target> |
| 330 | </configuration> |
| 331 | <goals> |
| 332 | <goal>run</goal> |
| 333 | </goals> |
| 334 | </execution> |
| 335 | </executions> |
| 336 | </plugin> |
| 337 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 338 | </plugins> |
| 339 | |
Matthias Andreas Benkard | b712a01 | 2020-01-26 08:10:49 +0100 | [diff] [blame] | 340 | <resources> |
| 341 | <resource> |
| 342 | <directory>src/main/resources</directory> |
| 343 | <excludes> |
| 344 | <exclude>META-INF/resources/node_modules/**/*</exclude> |
Matthias Andreas Benkard | 97130f9 | 2020-01-27 21:03:39 +0100 | [diff] [blame] | 345 | <exclude>META-INF/resources/package.json</exclude> |
| 346 | <exclude>META-INF/resources/yarn.lock</exclude> |
Matthias Andreas Benkard | b712a01 | 2020-01-26 08:10:49 +0100 | [diff] [blame] | 347 | </excludes> |
| 348 | <filtering>false</filtering> |
| 349 | </resource> |
| 350 | </resources> |
| 351 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 352 | </build> |
| 353 | |
| 354 | <profiles> |
| 355 | |
| 356 | <profile> |
| 357 | |
| 358 | <id>native</id> |
| 359 | |
| 360 | <activation> |
| 361 | <property> |
| 362 | <name>native</name> |
| 363 | </property> |
| 364 | </activation> |
| 365 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 366 | <properties> |
| 367 | <quarkus.package.type>native</quarkus.package.type> |
| 368 | </properties> |
| 369 | |
| 370 | </profile> |
| 371 | |
| 372 | </profiles> |
| 373 | |
| 374 | </project> |