|
38 | 38 |
|
39 | 39 | <distributionManagement> |
40 | 40 | <repository> |
41 | | - <id>sonatype-nexus-staging</id> |
42 | | - <name>Nexus Release Repository</name> |
43 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 41 | + <id>sonatype-central-portal</id> |
| 42 | + <name>Sonatype Central Portal</name> |
| 43 | + <url>https://central.sonatype.com/repository/maven/</url> |
44 | 44 | </repository> |
45 | 45 | <snapshotRepository> |
46 | | - <id>sonatype-nexus-snapshots</id> |
47 | | - <name>Sonatype Nexus Snapshots</name> |
48 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 46 | + <id>sonatype-central-portal</id> |
| 47 | + <name>Sonatype Central Portal</name> |
| 48 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
49 | 49 | </snapshotRepository> |
50 | 50 | </distributionManagement> |
51 | 51 |
|
|
63 | 63 |
|
64 | 64 | <!-- do not run tests on release --> |
65 | 65 | <air.release.preparation-goals>clean verify -DskipTests</air.release.preparation-goals> |
| 66 | + |
| 67 | + <!-- Stage files to the local directory, njord will push them to central --> |
| 68 | + <altDeploymentRepository>id::default::njord:</altDeploymentRepository> |
| 69 | + <njord.publishingType>automatic</njord.publishingType> |
| 70 | + <njord.waitForStates>true</njord.waitForStates> |
66 | 71 | </properties> |
67 | 72 |
|
68 | 73 | <dependencies> |
|
158 | 163 | <release combine.self="override" /> |
159 | 164 | </configuration> |
160 | 165 | </plugin> |
| 166 | + <plugin> |
| 167 | + <groupId>eu.maveniverse.maven.plugins</groupId> |
| 168 | + <artifactId>njord</artifactId> |
| 169 | + <version>0.8.7</version> |
| 170 | + </plugin> |
161 | 171 | </plugins> |
162 | 172 | </pluginManagement> |
| 173 | + |
| 174 | + <extensions> |
| 175 | + <extension> |
| 176 | + <groupId>eu.maveniverse.maven.njord</groupId> |
| 177 | + <artifactId>extension3</artifactId> |
| 178 | + <version>0.8.7</version> |
| 179 | + </extension> |
| 180 | + </extensions> |
163 | 181 | </build> |
164 | 182 | </project> |
0 commit comments