|
12 | 12 | <version>1.0.75-SNAPSHOT</version> |
13 | 13 | <packaging>pom</packaging> |
14 | 14 | <name>swagger-parser-project</name> |
| 15 | + <description>swagger-parser-project</description> |
15 | 16 | <developers> |
16 | 17 | <developer> |
17 | 18 | <id>fehguy</id> |
|
51 | 52 | < developerConnection>scm:git: [email protected]:swagger-api/swagger-parser.git</ developerConnection> |
52 | 53 | <url>https://github.com/swagger-api/swagger-parser</url> |
53 | 54 | </scm> |
54 | | - <distributionManagement> |
55 | | - <snapshotRepository> |
56 | | - <id>ossrh</id> |
57 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
58 | | - </snapshotRepository> |
59 | | - <repository> |
60 | | - <id>ossrh</id> |
61 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
62 | | - </repository> |
63 | | - </distributionManagement> |
64 | 55 | <build> |
65 | 56 | <defaultGoal>install</defaultGoal> |
66 | 57 | <resources> |
|
226 | 217 | </executions> |
227 | 218 | </plugin> |
228 | 219 | <plugin> |
229 | | - <groupId>org.sonatype.plugins</groupId> |
230 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
231 | | - <version>1.6.13</version> |
| 220 | + <groupId>org.sonatype.central</groupId> |
| 221 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 222 | + <version>0.7.0</version> |
232 | 223 | <extensions>true</extensions> |
233 | 224 | <configuration> |
234 | | - <serverId>ossrh</serverId> |
235 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
236 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
237 | | - <stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes> |
238 | | - <!-- <skipStaging>true</skipStaging> |
239 | | - <skipRemoteStaging>true</skipRemoteStaging> |
240 | | - <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>--> |
| 225 | + <publishingServerId>central</publishingServerId> |
| 226 | + <autoPublish>true</autoPublish> |
| 227 | + <waitUntil>published</waitUntil> |
| 228 | + <waitMaxTime>3600</waitMaxTime> |
241 | 229 | </configuration> |
242 | 230 | </plugin> |
243 | 231 | </plugins> |
|
369 | 357 | <module>modules/swagger-parser</module> |
370 | 358 | <module>modules/swagger-compat-spec-parser</module> |
371 | 359 | </modules> |
372 | | - <repositories> |
373 | | - <repository> |
374 | | - <id>sonatype-snapshots</id> |
375 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
376 | | - <snapshots> |
377 | | - <enabled>true</enabled> |
378 | | - </snapshots> |
379 | | - <releases> |
380 | | - <enabled>false</enabled> |
381 | | - </releases> |
382 | | - </repository> |
383 | | - <repository> |
384 | | - <id>sonatype-releases</id> |
385 | | - <url>https://oss.sonatype.org/content/repositories/releases</url> |
386 | | - <snapshots> |
387 | | - <enabled>false</enabled> |
388 | | - </snapshots> |
389 | | - <releases> |
390 | | - <enabled>true</enabled> |
391 | | - </releases> |
392 | | - </repository> |
393 | | - </repositories> |
394 | 360 | <properties> |
395 | 361 | <!--<maven.compiler.release>8</maven.compiler.release>--> |
396 | 362 | <commons-io-version>2.15.1</commons-io-version> |
|
403 | 369 | <wiremock-version>2.27.2</wiremock-version> |
404 | 370 | <surefire-version>2.22.2</surefire-version> |
405 | 371 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
406 | | - <sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl> |
407 | 372 | </properties> |
408 | 373 | </project> |
0 commit comments