|
30 | 30 | </developers> |
31 | 31 |
|
32 | 32 | <properties> |
33 | | - <weld.api.bom.version>6.0.Final</weld.api.bom.version> |
| 33 | + <weld.api.bom.version>7.0.Alpha2</weld.api.bom.version> |
34 | 34 | <gpg.plugin.version>3.2.7</gpg.plugin.version> |
35 | 35 | <nexus.staging.plugin.version>1.7.0</nexus.staging.plugin.version> |
36 | 36 | <jboss.releases.repo.url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/ |
37 | 37 | </jboss.releases.repo.url> |
38 | 38 | <jboss.snapshots.repo.url>https://repository.jboss.org/nexus/content/repositories/snapshots/ |
39 | 39 | </jboss.snapshots.repo.url> |
40 | | - <ossrh.releases.repo.url>https://oss.sonatype.org/service/local/staging/deploy/maven2</ossrh.releases.repo.url> |
41 | | - <ossrh.snapshots.repo.url>https://oss.sonatype.org/content/repositories/snapshots</ossrh.snapshots.repo.url> |
| 40 | + <central.portal.releases.repo.url>https://central.sonatype.com/api/v1/publisher</central.portal.releases.repo.url> |
42 | 41 | </properties> |
43 | 42 |
|
44 | 43 | <dependencyManagement> |
|
166 | 165 | </executions> |
167 | 166 | </plugin> |
168 | 167 | <plugin> |
169 | | - <groupId>org.sonatype.plugins</groupId> |
170 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
171 | | - <version>${nexus.staging.plugin.version}</version> |
| 168 | + <groupId>org.sonatype.central</groupId> |
| 169 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 170 | + <version>0.7.0</version> |
172 | 171 | <extensions>true</extensions> |
173 | 172 | <configuration> |
174 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
175 | | - <serverId>sonatype-nexus-staging</serverId> |
176 | | - <stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes> |
177 | | - <!-- Automatically releases staging repo, no manual action needed --> |
178 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 173 | + <publishingServerId>central</publishingServerId> |
| 174 | + <!-- Automatically publish staged repo --> |
| 175 | + <autoPublish>true</autoPublish> |
| 176 | + <!-- The plugin will block and wait until the artifact is published --> |
| 177 | + <waitUntil>published</waitUntil> |
179 | 178 | </configuration> |
180 | 179 | </plugin> |
181 | 180 | </plugins> |
|
204 | 203 | </snapshotRepository> |
205 | 204 | </distributionManagement> |
206 | 205 | </profile> |
207 | | - <!-- OSSRH release repository - selected by default --> |
| 206 | + <!-- Sonatype Central Portal - selected by default --> |
208 | 207 | <profile> |
209 | | - <id>ossrh-release-repo</id> |
| 208 | + <id>central-portal-release-repo</id> |
210 | 209 | <activation> |
211 | 210 | <activeByDefault>false</activeByDefault> |
212 | 211 | <property> |
213 | 212 | <name>!jboss-release-repo</name> |
214 | 213 | </property> |
215 | 214 | </activation> |
216 | 215 | <distributionManagement> |
217 | | - <snapshotRepository> |
218 | | - <id>sonatype-nexus-snapshots</id> |
219 | | - <name>Sonatype Nexus Snapshots</name> |
220 | | - <url>${ossrh.snapshots.repo.url}</url> |
221 | | - </snapshotRepository> |
222 | 216 | <repository> |
223 | | - <id>sonatype-nexus-staging</id> |
224 | | - <name>Nexus Release Repository</name> |
225 | | - <url>${ossrh.releases.repo.url}</url> |
| 217 | + <id>central-portal-staging</id> |
| 218 | + <name>Central Portal Repository</name> |
| 219 | + <url>${central.portal.releases.repo.url}</url> |
226 | 220 | </repository> |
227 | 221 | </distributionManagement> |
228 | 222 | </profile> |
|
0 commit comments