|
41 | 41 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
42 | 42 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
43 | 43 |
|
44 | | - <kotlin.version>2.0.21</kotlin.version> |
| 44 | + <kotlin.version>2.1.0</kotlin.version> |
45 | 45 |
|
46 | 46 | <!-- Logging --> |
47 | | - <slf4j.version>2.0.15</slf4j.version> |
| 47 | + <slf4j.version>2.0.16</slf4j.version> |
48 | 48 | <logback.version>1.5.15</logback.version> |
49 | 49 |
|
50 | 50 | <!-- Serialization --> |
|
60 | 60 | <spotless-maven-plugin.version>2.43.0</spotless-maven-plugin.version> |
61 | 61 | <ktfmt.version>0.43</ktfmt.version> |
62 | 62 | <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version> |
63 | | - <maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version> |
64 | 63 | <maven-install-plugin.version>3.1.3</maven-install-plugin.version> |
| 64 | + <maven-dependency-plugin.version>3.8.1</maven-dependency-plugin.version> |
65 | 65 | <exec-maven-plugin.version>3.5.0</exec-maven-plugin.version> |
| 66 | + <maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version> |
| 67 | + <required-maven-version>3.6.3</required-maven-version> |
| 68 | + <versions-maven-plugin.version>2.18.0</versions-maven-plugin.version> |
66 | 69 | <maven-source-plugin.version>3.3.1</maven-source-plugin.version> |
67 | | - <dokka-maven-plugin.version>1.9.20</dokka-maven-plugin.version> |
| 70 | + <dokka-maven-plugin.version>2.0.0</dokka-maven-plugin.version> |
68 | 71 | <maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version> |
69 | 72 | <central-publishing-maven-plugin.version>0.6.0</central-publishing-maven-plugin.version> |
70 | 73 | </properties> |
|
186 | 189 | </executions> |
187 | 190 | </plugin> |
188 | 191 |
|
189 | | - <!-- Testing --> |
190 | | - <plugin> |
191 | | - <groupId>org.apache.maven.plugins</groupId> |
192 | | - <artifactId>maven-surefire-plugin</artifactId> |
193 | | - <version>${maven-surefire-plugin.version}</version> |
194 | | - </plugin> |
195 | | - |
196 | 192 | <!-- Formatting with ktfmt --> |
197 | 193 | <plugin> |
198 | 194 | <groupId>com.diffplug.spotless</groupId> |
|
217 | 213 | </executions> |
218 | 214 | </plugin> |
219 | 215 |
|
220 | | - <!-- Plugin for enforcing proper dependency management --> |
| 216 | + <!-- Testing --> |
221 | 217 | <plugin> |
222 | 218 | <groupId>org.apache.maven.plugins</groupId> |
223 | | - <artifactId>maven-enforcer-plugin</artifactId> |
224 | | - <version>${maven-enforcer-plugin.version}</version> |
225 | | - <executions> |
226 | | - <execution> |
227 | | - <id>enforce</id> |
228 | | - <goals> |
229 | | - <goal>enforce</goal> |
230 | | - </goals> |
231 | | - <configuration> |
232 | | - <rules> |
233 | | - <banDuplicatePomDependencyVersions/> |
234 | | - <dependencyConvergence/> |
235 | | - <requireUpperBoundDeps/> |
236 | | - <banDynamicVersions/> |
237 | | - </rules> |
238 | | - </configuration> |
239 | | - </execution> |
240 | | - </executions> |
| 219 | + <artifactId>maven-surefire-plugin</artifactId> |
| 220 | + <version>${maven-surefire-plugin.version}</version> |
241 | 221 | </plugin> |
242 | 222 |
|
243 | 223 | <!-- |
|
268 | 248 | </executions> |
269 | 249 | </plugin> |
270 | 250 |
|
| 251 | + <!-- Purge devlog-kotlin from cache, to make sure we use newest snapshot in integration tests--> |
| 252 | + <plugin> |
| 253 | + <groupId>org.apache.maven.plugins</groupId> |
| 254 | + <artifactId>maven-dependency-plugin</artifactId> |
| 255 | + <version>${maven-dependency-plugin.version}</version> |
| 256 | + <executions> |
| 257 | + <execution> |
| 258 | + <phase>clean</phase> |
| 259 | + <goals> |
| 260 | + <goal>purge-local-repository</goal> |
| 261 | + </goals> |
| 262 | + <configuration> |
| 263 | + <manualIncludes> |
| 264 | + <include>dev.hermannm:devlog-kotlin</include> |
| 265 | + </manualIncludes> |
| 266 | + <snapshotsOnly>true</snapshotsOnly> |
| 267 | + <reResolve>false</reResolve> |
| 268 | + <actTransitively>false</actTransitively> |
| 269 | + </configuration> |
| 270 | + </execution> |
| 271 | + </executions> |
| 272 | + </plugin> |
| 273 | + |
271 | 274 | <!-- |
272 | 275 | Run integration tests from integration-tests subdirectory. |
273 | 276 | See integration-tests/README.md for more on how integration tests are set up here. |
|
296 | 299 | </executions> |
297 | 300 | </plugin> |
298 | 301 |
|
| 302 | + <!-- Plugin for enforcing proper dependency management --> |
| 303 | + <plugin> |
| 304 | + <groupId>org.apache.maven.plugins</groupId> |
| 305 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 306 | + <version>${maven-enforcer-plugin.version}</version> |
| 307 | + <executions> |
| 308 | + <execution> |
| 309 | + <id>enforce</id> |
| 310 | + <goals> |
| 311 | + <goal>enforce</goal> |
| 312 | + </goals> |
| 313 | + <configuration> |
| 314 | + <rules> |
| 315 | + <requireMavenVersion> |
| 316 | + <version>${required-maven-version}</version> |
| 317 | + </requireMavenVersion> |
| 318 | + <banDuplicatePomDependencyVersions/> |
| 319 | + <dependencyConvergence/> |
| 320 | + <requireUpperBoundDeps/> |
| 321 | + <banDynamicVersions/> |
| 322 | + </rules> |
| 323 | + </configuration> |
| 324 | + </execution> |
| 325 | + </executions> |
| 326 | + </plugin> |
| 327 | + |
| 328 | + <plugin> |
| 329 | + <groupId>org.codehaus.mojo</groupId> |
| 330 | + <artifactId>versions-maven-plugin</artifactId> |
| 331 | + <version>${versions-maven-plugin.version}</version> |
| 332 | + <configuration> |
| 333 | + <rulesUri>file:///${project.basedir}/rules.xml</rulesUri> |
| 334 | + </configuration> |
| 335 | + <executions> |
| 336 | + <execution> |
| 337 | + <phase>compile</phase> |
| 338 | + <goals> |
| 339 | + <goal>display-dependency-updates</goal> |
| 340 | + <goal>display-plugin-updates</goal> |
| 341 | + </goals> |
| 342 | + </execution> |
| 343 | + </executions> |
| 344 | + </plugin> |
| 345 | + |
299 | 346 | <!-- Generates source file JARs, required for publishing to Maven Central --> |
300 | 347 | <plugin> |
301 | 348 | <groupId>org.apache.maven.plugins</groupId> |
|
0 commit comments