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