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