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 | |
Matthias Andreas Benkard | 7e71d1c | 2020-04-16 17:07:59 +0200 | [diff] [blame^] | 16 | <scala.version>2.13.3</scala.version> |
| 17 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 18 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 19 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 20 | |
Matthias Andreas Benkard | 3bbba8d | 2020-06-13 15:40:15 +0200 | [diff] [blame] | 21 | <antrun-plugin.version>3.0.0</antrun-plugin.version> |
Matthias Andreas Benkard | 55243c8 | 2020-04-13 20:49:15 +0200 | [diff] [blame] | 22 | <compiler-plugin.version>3.8.1</compiler-plugin.version> |
Matthias Andreas Benkard | 43d59d3 | 2020-08-16 10:57:23 +0200 | [diff] [blame] | 23 | <quarkus.version>1.7.0.Final</quarkus.version> |
Matthias Andreas Benkard | 813e597 | 2020-06-14 19:27:42 +0200 | [diff] [blame] | 24 | <resources-plugin.version>3.1.0</resources-plugin.version> |
Matthias Andreas Benkard | 43d59d3 | 2020-08-16 10:57:23 +0200 | [diff] [blame] | 25 | <spotless-plugin.version>2.0.1</spotless-plugin.version> |
Matthias Andreas Benkard | 7e71d1c | 2020-04-16 17:07:59 +0200 | [diff] [blame^] | 26 | <scala-plugin.version>4.4.0</scala-plugin.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 27 | |
Matthias Andreas Benkard | 2710bf3 | 2020-01-25 10:48:07 +0100 | [diff] [blame] | 28 | <!-- <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id> --> |
| 29 | <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 30 | <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 31 | |
Matthias Andreas Benkard | 1e7674c | 2020-04-18 20:28:51 +0200 | [diff] [blame] | 32 | <basic-annotations.version>0.2.0</basic-annotations.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 33 | <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version> |
Matthias Andreas Benkard | 6b7e941 | 2020-06-22 18:13:16 +0200 | [diff] [blame] | 34 | <flexmark.version>0.62.2</flexmark.version> |
Matthias Andreas Benkard | a039237 | 2020-06-13 15:46:39 +0200 | [diff] [blame] | 35 | <google.java.format.version>1.8</google.java.format.version> |
Matthias Andreas Benkard | 43d59d3 | 2020-08-16 10:57:23 +0200 | [diff] [blame] | 36 | <hibernate.version>5.4.20.Final</hibernate.version> |
| 37 | <hibernate-types.version>2.9.13</hibernate-types.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 38 | <jakarta-jacc-api.version>1.6.1</jakarta-jacc-api.version> |
Matthias Andreas Benkard | aa196aa | 2020-07-18 12:36:57 +0200 | [diff] [blame] | 39 | <jna.version>5.6.0</jna.version> |
Matthias Andreas Benkard | 551f50c | 2020-03-15 12:34:07 +0100 | [diff] [blame] | 40 | <jsoup.version>1.13.1</jsoup.version> |
Matthias Andreas Benkard | 7e71d1c | 2020-04-16 17:07:59 +0200 | [diff] [blame^] | 41 | <kotlin-annotations.version>1.4.0</kotlin-annotations.version> |
Matthias Andreas Benkard | 80fc431 | 2020-06-13 16:59:04 +0200 | [diff] [blame] | 42 | <liquibase.version>3.9.0</liquibase.version> |
| 43 | <postgresql.version>42.2.14</postgresql.version> |
Matthias Andreas Benkard | aa196aa | 2020-07-18 12:36:57 +0200 | [diff] [blame] | 44 | <rome.version>1.15.0</rome.version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 45 | </properties> |
| 46 | |
| 47 | <dependencyManagement> |
| 48 | <dependencies> |
| 49 | |
| 50 | <dependency> |
| 51 | <groupId>${quarkus.platform.group-id}</groupId> |
| 52 | <artifactId>${quarkus.platform.artifact-id}</artifactId> |
Matthias Andreas Benkard | 43d59d3 | 2020-08-16 10:57:23 +0200 | [diff] [blame] | 53 | <version>${quarkus.version}</version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 54 | <type>pom</type> |
| 55 | <scope>import</scope> |
| 56 | </dependency> |
| 57 | |
| 58 | <!-- Hibernate PostgreSQL Extra Types --> |
| 59 | <dependency> |
| 60 | <groupId>com.vladmihalcea</groupId> |
| 61 | <artifactId>hibernate-types-52</artifactId> |
| 62 | <version>${hibernate-types.version}</version> |
| 63 | </dependency> |
| 64 | |
Matthias Andreas Benkard | 1e7674c | 2020-04-18 20:28:51 +0200 | [diff] [blame] | 65 | <!-- Annotations --> |
| 66 | <dependency> |
| 67 | <groupId>pl.tlinkowski.annotation</groupId> |
| 68 | <artifactId>pl.tlinkowski.annotation.basic</artifactId> |
| 69 | <version>${basic-annotations.version}</version> |
| 70 | <scope>provided</scope> |
| 71 | </dependency> |
| 72 | |
Matthias Andreas Benkard | 4e29a24 | 2020-01-25 05:38:27 +0100 | [diff] [blame] | 73 | <!-- Jsoup --> |
| 74 | <dependency> |
| 75 | <groupId>org.jsoup</groupId> |
| 76 | <artifactId>jsoup</artifactId> |
| 77 | <version>${jsoup.version}</version> |
| 78 | </dependency> |
| 79 | |
Matthias Andreas Benkard | 424e16e | 2020-02-09 18:29:56 +0100 | [diff] [blame] | 80 | <!-- FlexMark --> |
| 81 | <dependency> |
| 82 | <groupId>com.vladsch.flexmark</groupId> |
| 83 | <artifactId>flexmark-all</artifactId> |
| 84 | <version>${flexmark.version}</version> |
| 85 | </dependency> |
| 86 | |
Matthias Andreas Benkard | 981f279 | 2020-02-16 14:54:54 +0100 | [diff] [blame] | 87 | <!-- Rome --> |
| 88 | <dependency> |
| 89 | <groupId>com.rometools</groupId> |
| 90 | <artifactId>rome</artifactId> |
| 91 | <version>${rome.version}</version> |
| 92 | </dependency> |
| 93 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 94 | <!-- JNA --> |
| 95 | <dependency> |
| 96 | <groupId>net.java.dev.jna</groupId> |
| 97 | <artifactId>jna</artifactId> |
| 98 | <version>${jna.version}</version> |
| 99 | </dependency> |
| 100 | |
| 101 | <!-- JACC --> |
| 102 | <dependency> |
| 103 | <groupId>jakarta.security.jacc</groupId> |
| 104 | <artifactId>jakarta.security.jacc-api</artifactId> |
| 105 | <version>${jakarta-jacc-api.version}</version> |
| 106 | </dependency> |
| 107 | |
Matthias Andreas Benkard | 2a1383f | 2020-02-01 23:53:17 +0100 | [diff] [blame] | 108 | <!-- JOSE for Java --> |
| 109 | <dependency> |
| 110 | <groupId>org.bitbucket.b_c</groupId> |
| 111 | <artifactId>jose4j</artifactId> |
| 112 | <version>0.7.0</version> |
| 113 | </dependency> |
| 114 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 115 | <!-- Annotations --> |
| 116 | <dependency> |
| 117 | <groupId>com.google.code.findbugs</groupId> |
| 118 | <artifactId>jsr305</artifactId> |
| 119 | <version>${findbugs-jsr305.version}</version> |
| 120 | <scope>provided</scope> |
| 121 | </dependency> |
| 122 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 123 | </dependencies> |
| 124 | </dependencyManagement> |
| 125 | |
| 126 | <dependencies> |
| 127 | |
| 128 | <dependency> |
Matthias Andreas Benkard | 7e71d1c | 2020-04-16 17:07:59 +0200 | [diff] [blame^] | 129 | <groupId>org.scala-lang</groupId> |
| 130 | <artifactId>scala-library</artifactId> |
| 131 | <version>${scala.version}</version> |
| 132 | </dependency> |
| 133 | <dependency> |
| 134 | <groupId>org.scala-lang</groupId> |
| 135 | <artifactId>scala-reflect</artifactId> |
| 136 | <version>${scala.version}</version> |
| 137 | </dependency> |
| 138 | |
| 139 | <dependency> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 140 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 141 | <artifactId>quarkus-agroal</artifactId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 142 | </dependency> |
| 143 | <dependency> |
| 144 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 7e71d1c | 2020-04-16 17:07:59 +0200 | [diff] [blame^] | 145 | <artifactId>quarkus-scala</artifactId> |
| 146 | </dependency> |
| 147 | <dependency> |
| 148 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | c27d1cb | 2020-01-26 11:11:24 +0100 | [diff] [blame] | 149 | <artifactId>quarkus-elytron-security-properties-file</artifactId> |
| 150 | </dependency> |
| 151 | <dependency> |
| 152 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 153 | <artifactId>quarkus-hibernate-orm-panache</artifactId> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 154 | </dependency> |
| 155 | <dependency> |
| 156 | <groupId>io.quarkus</groupId> |
| 157 | <artifactId>quarkus-hibernate-validator</artifactId> |
| 158 | </dependency> |
| 159 | <dependency> |
| 160 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 161 | <artifactId>quarkus-jdbc-postgresql</artifactId> |
| 162 | </dependency> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 163 | <dependency> |
| 164 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 80fc431 | 2020-06-13 16:59:04 +0200 | [diff] [blame] | 165 | <artifactId>quarkus-liquibase</artifactId> |
| 166 | </dependency> |
| 167 | <dependency> |
| 168 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 4cb34f4 | 2020-01-24 14:44:28 +0100 | [diff] [blame] | 169 | <artifactId>quarkus-oidc</artifactId> |
| 170 | </dependency> |
| 171 | <dependency> |
| 172 | <groupId>io.quarkus</groupId> |
| 173 | <artifactId>quarkus-resteasy</artifactId> |
| 174 | </dependency> |
| 175 | <dependency> |
| 176 | <groupId>io.quarkus</groupId> |
| 177 | <artifactId>quarkus-resteasy-jsonb</artifactId> |
| 178 | </dependency> |
| 179 | <dependency> |
| 180 | <groupId>io.quarkus</groupId> |
| 181 | <artifactId>quarkus-resteasy-qute</artifactId> |
| 182 | </dependency> |
Matthias Andreas Benkard | 2a1383f | 2020-02-01 23:53:17 +0100 | [diff] [blame] | 183 | <dependency> |
| 184 | <groupId>io.quarkus</groupId> |
| 185 | <artifactId>quarkus-smallrye-jwt</artifactId> |
| 186 | </dependency> |
Matthias Andreas Benkard | db48be4 | 2020-04-17 21:44:59 +0200 | [diff] [blame] | 187 | <dependency> |
| 188 | <groupId>io.quarkus</groupId> |
| 189 | <artifactId>quarkus-container-image-jib</artifactId> |
| 190 | </dependency> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 191 | |
| 192 | <!-- JNA --> |
| 193 | <dependency> |
| 194 | <groupId>net.java.dev.jna</groupId> |
| 195 | <artifactId>jna</artifactId> |
| 196 | </dependency> |
| 197 | |
| 198 | <!-- JACC --> |
| 199 | <dependency> |
| 200 | <groupId>jakarta.security.jacc</groupId> |
| 201 | <artifactId>jakarta.security.jacc-api</artifactId> |
| 202 | </dependency> |
| 203 | |
| 204 | <!-- Hibernate PostgreSQL Extra Types --> |
| 205 | <dependency> |
| 206 | <groupId>com.vladmihalcea</groupId> |
| 207 | <artifactId>hibernate-types-52</artifactId> |
| 208 | </dependency> |
| 209 | |
Matthias Andreas Benkard | 1e7674c | 2020-04-18 20:28:51 +0200 | [diff] [blame] | 210 | <!-- Annotations --> |
| 211 | <dependency> |
| 212 | <groupId>pl.tlinkowski.annotation</groupId> |
| 213 | <artifactId>pl.tlinkowski.annotation.basic</artifactId> |
| 214 | <scope>provided</scope> |
| 215 | </dependency> |
| 216 | |
Matthias Andreas Benkard | 4e29a24 | 2020-01-25 05:38:27 +0100 | [diff] [blame] | 217 | <!-- Jsoup --> |
| 218 | <dependency> |
| 219 | <groupId>org.jsoup</groupId> |
| 220 | <artifactId>jsoup</artifactId> |
| 221 | </dependency> |
| 222 | |
Matthias Andreas Benkard | 424e16e | 2020-02-09 18:29:56 +0100 | [diff] [blame] | 223 | <!-- FlexMark --> |
| 224 | <dependency> |
| 225 | <groupId>com.vladsch.flexmark</groupId> |
| 226 | <artifactId>flexmark-all</artifactId> |
| 227 | </dependency> |
| 228 | |
Matthias Andreas Benkard | 981f279 | 2020-02-16 14:54:54 +0100 | [diff] [blame] | 229 | <!-- Rome --> |
| 230 | <dependency> |
| 231 | <groupId>com.rometools</groupId> |
| 232 | <artifactId>rome</artifactId> |
| 233 | </dependency> |
| 234 | |
Matthias Andreas Benkard | 2a1383f | 2020-02-01 23:53:17 +0100 | [diff] [blame] | 235 | <!-- JOSE for Java --> |
| 236 | <dependency> |
| 237 | <groupId>org.bitbucket.b_c</groupId> |
| 238 | <artifactId>jose4j</artifactId> |
| 239 | </dependency> |
| 240 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 241 | <!-- Annotations --> |
| 242 | <dependency> |
| 243 | <groupId>com.google.code.findbugs</groupId> |
| 244 | <artifactId>jsr305</artifactId> |
| 245 | <scope>provided</scope> |
| 246 | </dependency> |
| 247 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 248 | </dependencies> |
| 249 | |
| 250 | <build> |
| 251 | |
| 252 | <plugins> |
| 253 | |
| 254 | <plugin> |
| 255 | <groupId>io.quarkus</groupId> |
| 256 | <artifactId>quarkus-maven-plugin</artifactId> |
Matthias Andreas Benkard | 43d59d3 | 2020-08-16 10:57:23 +0200 | [diff] [blame] | 257 | <version>${quarkus.version}</version> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 258 | <executions> |
| 259 | <execution> |
| 260 | <goals> |
| 261 | <goal>build</goal> |
| 262 | </goals> |
| 263 | </execution> |
| 264 | </executions> |
| 265 | </plugin> |
| 266 | |
| 267 | <plugin> |
| 268 | <artifactId>maven-compiler-plugin</artifactId> |
| 269 | <version>${compiler-plugin.version}</version> |
Matthias Andreas Benkard | 98e63f0 | 2020-04-18 19:45:48 +0200 | [diff] [blame] | 270 | |
| 271 | <configuration> |
| 272 | <annotationProcessorPaths> |
Matthias Andreas Benkard | 6e41f38 | 2020-06-16 21:08:57 +0200 | [diff] [blame] | 273 | |
Matthias Andreas Benkard | 98e63f0 | 2020-04-18 19:45:48 +0200 | [diff] [blame] | 274 | <!-- Hibernate --> |
| 275 | <annotationProcessorPath> |
| 276 | <groupId>org.hibernate</groupId> |
| 277 | <artifactId>hibernate-jpamodelgen</artifactId> |
| 278 | <version>${hibernate.version}</version> |
| 279 | </annotationProcessorPath> |
Matthias Andreas Benkard | 6e41f38 | 2020-06-16 21:08:57 +0200 | [diff] [blame] | 280 | |
| 281 | <!-- Quarkus --> |
| 282 | <annotationProcessorPath> |
| 283 | <groupId>io.quarkus</groupId> |
| 284 | <artifactId>quarkus-panache-common</artifactId> |
Matthias Andreas Benkard | 43d59d3 | 2020-08-16 10:57:23 +0200 | [diff] [blame] | 285 | <version>${quarkus.version}</version> |
Matthias Andreas Benkard | 6e41f38 | 2020-06-16 21:08:57 +0200 | [diff] [blame] | 286 | </annotationProcessorPath> |
| 287 | |
Matthias Andreas Benkard | 98e63f0 | 2020-04-18 19:45:48 +0200 | [diff] [blame] | 288 | </annotationProcessorPaths> |
| 289 | </configuration> |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 290 | </plugin> |
| 291 | |
Matthias Andreas Benkard | 813e597 | 2020-06-14 19:27:42 +0200 | [diff] [blame] | 292 | <!-- Resources --> |
| 293 | <plugin> |
| 294 | <artifactId>maven-resources-plugin</artifactId> |
| 295 | <version>${resources-plugin.version}</version> |
| 296 | <executions> |
| 297 | <execution> |
| 298 | <id>copy-resources</id> |
| 299 | <phase>prepare-package</phase> |
| 300 | <goals> |
| 301 | <goal>copy-resources</goal> |
| 302 | </goals> |
| 303 | <configuration> |
| 304 | <outputDirectory>${basedir}/target/classes/META-INF/resources</outputDirectory> |
| 305 | <resources> |
| 306 | <resource> |
| 307 | <directory>${basedir}/src/main/resources/META-INF/resources/dist</directory> |
| 308 | <filtering>true</filtering> |
| 309 | </resource> |
| 310 | </resources> |
| 311 | </configuration> |
| 312 | </execution> |
| 313 | </executions> |
| 314 | </plugin> |
| 315 | |
Matthias Andreas Benkard | 80fc431 | 2020-06-13 16:59:04 +0200 | [diff] [blame] | 316 | <!-- Liquibase --> |
| 317 | <plugin> |
| 318 | <groupId>org.liquibase</groupId> |
| 319 | <artifactId>liquibase-maven-plugin</artifactId> |
| 320 | <version>${liquibase.version}</version> |
| 321 | <configuration> |
| 322 | <propertyFile>src/main/resources/db/liquibase.properties</propertyFile> |
| 323 | </configuration> |
| 324 | <dependencies> |
| 325 | <dependency> |
| 326 | <groupId>org.liquibase.ext</groupId> |
| 327 | <artifactId>liquibase-hibernate5</artifactId> <!-- note: I tried hibernate4 release version as well --> |
| 328 | <version>${liquibase.version}</version> |
| 329 | </dependency> |
| 330 | <dependency> |
| 331 | <groupId>org.hibernate</groupId> |
| 332 | <artifactId>hibernate-core</artifactId> |
| 333 | <version>${hibernate.version}</version> |
| 334 | </dependency> |
| 335 | <dependency> |
| 336 | <groupId>org.hibernate</groupId> |
| 337 | <artifactId>hibernate-entitymanager</artifactId> |
| 338 | <version>${hibernate.version}</version> |
| 339 | </dependency> |
| 340 | <dependency> |
| 341 | <groupId>org.hibernate</groupId> |
| 342 | <artifactId>hibernate-envers</artifactId> |
| 343 | <version>${hibernate.version}</version> |
| 344 | </dependency> |
| 345 | <dependency> |
| 346 | <groupId>org.postgresql</groupId> |
| 347 | <artifactId>postgresql</artifactId> |
| 348 | <version>${postgresql.version}</version> |
| 349 | </dependency> |
| 350 | </dependencies> |
| 351 | </plugin> |
| 352 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 353 | <!-- Google Java Code Formatter, for enforcing style conventions --> |
| 354 | <plugin> |
| 355 | <groupId>com.diffplug.spotless</groupId> |
| 356 | <artifactId>spotless-maven-plugin</artifactId> |
| 357 | <version>${spotless-plugin.version}</version> |
| 358 | <configuration> |
| 359 | <java> |
| 360 | <removeUnusedImports/> |
| 361 | <importOrder> |
| 362 | <order>java,javax,org,com,de,io,dagger,eu.mulk,</order> |
| 363 | </importOrder> |
| 364 | <googleJavaFormat> |
| 365 | <version>${google.java.format.version}</version> |
| 366 | <style>GOOGLE</style> |
| 367 | </googleJavaFormat> |
| 368 | </java> |
| 369 | </configuration> |
| 370 | </plugin> |
Matthias Andreas Benkard | f7bf7c4 | 2020-01-28 22:31:12 +0100 | [diff] [blame] | 371 | |
| 372 | <plugin> |
Matthias Andreas Benkard | 7f4dacc | 2020-04-13 11:25:19 +0200 | [diff] [blame] | 373 | <artifactId>maven-antrun-plugin</artifactId> |
| 374 | <version>${antrun-plugin.version}</version> |
| 375 | <executions> |
| 376 | <execution> |
| 377 | <phase>generate-resources</phase> |
| 378 | <configuration> |
| 379 | <target> |
| 380 | <ant target="web.resources" /> |
| 381 | </target> |
| 382 | </configuration> |
| 383 | <goals> |
| 384 | <goal>run</goal> |
| 385 | </goals> |
| 386 | </execution> |
| 387 | </executions> |
| 388 | </plugin> |
| 389 | |
Matthias Andreas Benkard | 7e71d1c | 2020-04-16 17:07:59 +0200 | [diff] [blame^] | 390 | <plugin> |
| 391 | <groupId>net.alchim31.maven</groupId> |
| 392 | <artifactId>scala-maven-plugin</artifactId> |
| 393 | <version>${scala-plugin.version}</version> |
| 394 | |
| 395 | <executions> |
| 396 | <execution> |
| 397 | <id>scala-compile-first</id> |
| 398 | <phase>process-resources</phase> |
| 399 | <goals> |
| 400 | <goal>add-source</goal> |
| 401 | <goal>compile</goal> |
| 402 | </goals> |
| 403 | </execution> |
| 404 | <execution> |
| 405 | <id>scala-test-compile</id> |
| 406 | <phase>process-test-resources</phase> |
| 407 | <goals> |
| 408 | <goal>add-source</goal> |
| 409 | <goal>testCompile</goal> |
| 410 | </goals> |
| 411 | </execution> |
| 412 | </executions> |
| 413 | |
| 414 | <configuration> |
| 415 | <scalaVersion>${scala.version}</scalaVersion> |
| 416 | <localInstall>false</localInstall> |
| 417 | <!--<recompileMode>incremental</recompileMode>--> |
| 418 | <args> |
| 419 | <arg>-Xsource:3</arg> |
| 420 | <!-- |
| 421 | <arg>-deprecation</arg> |
| 422 | <arg>-feature</arg> |
| 423 | <arg>-explaintypes</arg> |
| 424 | <arg>-target:jvm-1.8</arg> |
| 425 | <arg>-Ypartial-unification</arg> |
| 426 | --> |
| 427 | </args> |
| 428 | |
| 429 | <javacArgs> |
| 430 | <javacArg>-Xlint:deprecation</javacArg> |
| 431 | </javacArgs> |
| 432 | |
| 433 | <additionalDependencies> |
| 434 | |
| 435 | <!-- Hibernate --> |
| 436 | <dependency> |
| 437 | <groupId>org.hibernate</groupId> |
| 438 | <artifactId>hibernate-jpamodelgen</artifactId> |
| 439 | <version>${hibernate.version}</version> |
| 440 | </dependency> |
| 441 | |
| 442 | <!-- Quarkus --> |
| 443 | <dependency> |
| 444 | <groupId>io.quarkus</groupId> |
| 445 | <artifactId>quarkus-panache-common</artifactId> |
| 446 | <version>${quarkus.version}</version> |
| 447 | </dependency> |
| 448 | |
| 449 | <!-- Annotations --> |
| 450 | <dependency> |
| 451 | <groupId>org.jetbrains.kotlin</groupId> |
| 452 | <artifactId>kotlin-annotations-jvm</artifactId> |
| 453 | <version>${kotlin-annotations.version}</version> |
| 454 | </dependency> |
| 455 | |
| 456 | </additionalDependencies> |
| 457 | </configuration> |
| 458 | |
| 459 | </plugin> |
| 460 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 461 | </plugins> |
| 462 | |
Matthias Andreas Benkard | b712a01 | 2020-01-26 08:10:49 +0100 | [diff] [blame] | 463 | <resources> |
| 464 | <resource> |
| 465 | <directory>src/main/resources</directory> |
| 466 | <excludes> |
Matthias Andreas Benkard | 8199664 | 2020-06-15 21:11:30 +0200 | [diff] [blame] | 467 | <exclude>META-INF/resources/.cache</exclude> |
| 468 | <exclude>META-INF/resources/.eslintrc.js</exclude> |
| 469 | <exclude>META-INF/resources/.flowconfig</exclude> |
Matthias Andreas Benkard | 89c25ea | 2020-06-15 21:01:01 +0200 | [diff] [blame] | 470 | <exclude>META-INF/resources/.parcel-cache/**/*</exclude> |
Matthias Andreas Benkard | 8199664 | 2020-06-15 21:11:30 +0200 | [diff] [blame] | 471 | <exclude>META-INF/resources/dist/**/*</exclude> |
Matthias Andreas Benkard | b712a01 | 2020-01-26 08:10:49 +0100 | [diff] [blame] | 472 | <exclude>META-INF/resources/node_modules/**/*</exclude> |
Matthias Andreas Benkard | 8199664 | 2020-06-15 21:11:30 +0200 | [diff] [blame] | 473 | <exclude>META-INF/resources/web_modules/**/*</exclude> |
Matthias Andreas Benkard | 97130f9 | 2020-01-27 21:03:39 +0100 | [diff] [blame] | 474 | <exclude>META-INF/resources/package.json</exclude> |
| 475 | <exclude>META-INF/resources/yarn.lock</exclude> |
Matthias Andreas Benkard | b712a01 | 2020-01-26 08:10:49 +0100 | [diff] [blame] | 476 | </excludes> |
| 477 | <filtering>false</filtering> |
| 478 | </resource> |
| 479 | </resources> |
| 480 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 481 | </build> |
| 482 | |
| 483 | <profiles> |
| 484 | |
| 485 | <profile> |
| 486 | |
| 487 | <id>native</id> |
| 488 | |
| 489 | <activation> |
| 490 | <property> |
| 491 | <name>native</name> |
| 492 | </property> |
| 493 | </activation> |
| 494 | |
Matthias Andreas Benkard | 8ddaf66 | 2020-01-19 20:21:57 +0100 | [diff] [blame] | 495 | <properties> |
| 496 | <quarkus.package.type>native</quarkus.package.type> |
| 497 | </properties> |
| 498 | |
| 499 | </profile> |
| 500 | |
| 501 | </profiles> |
| 502 | |
| 503 | </project> |