|
39 | 39 | </scm> |
40 | 40 | <distributionManagement> |
41 | 41 | <repository> |
42 | | - <id>ossrh</id> |
43 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 42 | + <id>sonatype-central-portal</id> |
| 43 | + <url>https://repo.maven.apache.org/maven2</url> |
44 | 44 | </repository> |
45 | 45 | <snapshotRepository> |
46 | | - <id>ossrh</id> |
47 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 46 | + <id>sonatype-central-portal</id> |
| 47 | + <url>https://central.sonatype.com/repository/maven-snapshots</url> |
48 | 48 | </snapshotRepository> |
49 | 49 | </distributionManagement> |
50 | 50 |
|
51 | 51 | <properties> |
52 | | - <maven.version>3.6.3</maven.version> |
| 52 | + <!-- required for njord--> |
| 53 | + <maven.version>3.9.0</maven.version> |
53 | 54 | <java.target.version>8</java.target.version> |
| 55 | + <njord.version>0.8.4</njord.version> |
54 | 56 | <!-- used for compiler plugin, javadoc plugin and animal-sniffer, for compatibility reasons with Java 9 only the values 6,7,8 and 9 is allowed --> |
55 | 57 | <maven.compiler.release>${java.target.version}</maven.compiler.release> |
56 | 58 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
133 | 135 | <build> |
134 | 136 | <pluginManagement> |
135 | 137 | <plugins> |
| 138 | + <plugin> |
| 139 | + <groupId>eu.maveniverse.maven.plugins</groupId> |
| 140 | + <artifactId>njord</artifactId> |
| 141 | + <version>${njord.version}</version> |
| 142 | + </plugin> |
136 | 143 | <plugin> |
137 | 144 | <artifactId>maven-surefire-plugin</artifactId> |
138 | 145 | <version>3.3.1</version> |
|
281 | 288 | <scmReleaseCommitComment>@{prefix} prepare release @{releaseLabel} [skip ci]</scmReleaseCommitComment> |
282 | 289 | </configuration> |
283 | 290 | </plugin> |
284 | | - <plugin> |
285 | | - <groupId>org.sonatype.plugins</groupId> |
286 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
287 | | - <extensions>true</extensions> |
288 | | - <configuration> |
289 | | - <serverId>ossrh</serverId> |
290 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
291 | | - <!-- manually release in https://oss.sonatype.org/#stagingRepositories after the Maven release build --> |
292 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
293 | | - <!-- workarounds to make releasing possible at times when ossrh is really slow --> |
294 | | - <stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes> |
295 | | - <keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure> |
296 | | - </configuration> |
297 | | - </plugin> |
298 | 291 | <plugin> |
299 | 292 | <groupId>com.diffplug.spotless</groupId> |
300 | 293 | <artifactId>spotless-maven-plugin</artifactId> |
|
337 | 330 | </executions> |
338 | 331 | </plugin> |
339 | 332 | </plugins> |
| 333 | + <extensions> |
| 334 | + <extension> |
| 335 | + <groupId>eu.maveniverse.maven.njord</groupId> |
| 336 | + <artifactId>extension3</artifactId> |
| 337 | + <version>${njord.version}</version> |
| 338 | + </extension> |
| 339 | + </extensions> |
340 | 340 | </build> |
341 | 341 |
|
342 | 342 | <profiles> |
|
0 commit comments