|
4 | 4 |
|
5 | 5 | <groupId>dev.bannmann</groupId> |
6 | 6 | <artifactId>base</artifactId> |
7 | | - <version>1.13</version> |
| 7 | + <version>1.14</version> |
8 | 8 | <packaging>pom</packaging> |
9 | 9 |
|
10 | 10 | <name>${project.groupId}:${project.artifactId}</name> |
|
34 | 34 |
|
35 | 35 | <properties> |
36 | 36 | <base.central.deploymentName>${project.url} - ${project.version}</base.central.deploymentName> |
37 | | - <base.toolchains.jdk>11</base.toolchains.jdk> |
| 37 | + <!-- configures Toolchains and Compiler plugins --> |
| 38 | + <base.java>11</base.java> |
| 39 | + <base.toolchains.jdk>${base.java}</base.toolchains.jdk> |
| 40 | + <!-- use this to skip the versions plugin in BOM projects as it would report nonsense --> |
| 41 | + <base.versionsPlugin.enabled>true</base.versionsPlugin.enabled> |
38 | 42 | <lombok.core.version>1.18.36</lombok.core.version> |
39 | 43 | <lombok.plugin.version>1.18.20.0</lombok.plugin.version> |
40 | | - <maven.compiler.source>11</maven.compiler.source> |
41 | | - <maven.compiler.target>11</maven.compiler.target> |
| 44 | + <maven.compiler.source>${base.java}</maven.compiler.source> |
| 45 | + <maven.compiler.target>${base.java}</maven.compiler.target> |
42 | 46 | <mizool.version>0.52</mizool.version> |
43 | 47 | <mockito-core.version>3.3.3</mockito-core.version> |
44 | 48 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
318 | 322 | </execution> |
319 | 323 | </executions> |
320 | 324 | </plugin> |
| 325 | + <plugin> |
| 326 | + <groupId>org.codehaus.mojo</groupId> |
| 327 | + <artifactId>versions-maven-plugin</artifactId> |
| 328 | + <version>2.18.0</version> |
| 329 | + <configuration> |
| 330 | + <processDependencies>${base.versionsPlugin.enabled}</processDependencies> |
| 331 | + <processDependencyManagement>${base.versionsPlugin.enabled}</processDependencyManagement> |
| 332 | + <processPluginDependencies>${base.versionsPlugin.enabled}</processPluginDependencies> |
| 333 | + <processPluginDependenciesInPluginManagement>${base.versionsPlugin.enabled}</processPluginDependenciesInPluginManagement> |
| 334 | + <ruleSet> |
| 335 | + <ignoreVersions> |
| 336 | + <ignoreVersion> |
| 337 | + <type>regex</type> |
| 338 | + <version>(.+-SNAPSHOT|.+-M\d)</version> |
| 339 | + </ignoreVersion> |
| 340 | + <ignoreVersion> |
| 341 | + <type>regex</type> |
| 342 | + <version>.+-(alpha|beta).+</version> |
| 343 | + </ignoreVersion> |
| 344 | + </ignoreVersions> |
| 345 | + </ruleSet> |
| 346 | + </configuration> |
| 347 | + </plugin> |
321 | 348 | <plugin> |
322 | 349 | <groupId>org.projectlombok</groupId> |
323 | 350 | <artifactId>lombok-maven-plugin</artifactId> |
|
0 commit comments