-
Notifications
You must be signed in to change notification settings - Fork 27
migrate OSS release settings from ossrh to central portal #311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -136,11 +136,11 @@ | |
| <artifactId>maven-gpg-plugin</artifactId> | ||
| <version>1.6</version> | ||
| </plugin> | ||
| <!-- https://mvnrepository.com/artifact/org.sonatype.plugins/nexus-staging-maven-plugin --> | ||
| <!-- https://mvnrepository.com/artifact/org.sonatype.central/central-publishing-maven-plugin --> | ||
| <plugin> | ||
| <groupId>org.sonatype.plugins</groupId> | ||
| <artifactId>nexus-staging-maven-plugin</artifactId> | ||
| <version>1.6.13</version> | ||
| <groupId>org.sonatype.central</groupId> | ||
| <artifactId>central-publishing-maven-plugin</artifactId> | ||
| <version>0.8.0</version> | ||
| </plugin> | ||
| <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin --> | ||
| <plugin> | ||
|
|
@@ -314,13 +314,16 @@ | |
| <build> | ||
| <plugins> | ||
| <plugin> | ||
| <groupId>org.sonatype.plugins</groupId> | ||
| <artifactId>nexus-staging-maven-plugin</artifactId> | ||
| <groupId>org.sonatype.central</groupId> | ||
| <artifactId>central-publishing-maven-plugin</artifactId> | ||
| <extensions>true</extensions> | ||
| <configuration> | ||
| <serverId>ossrh</serverId> | ||
| <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> | ||
| <autoReleaseAfterClose>false</autoReleaseAfterClose> | ||
| <publishingServerId>central</publishingServerId> | ||
| <centralBaseUrl>https://central.sonatype.com</centralBaseUrl> | ||
| <autoPublish>true</autoPublish> | ||
| <waitUntil>published</waitUntil> | ||
| <waitMaxTime>3600</waitMaxTime> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this timeout in seconds?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes |
||
| <waitPollingInterval>60</waitPollingInterval> | ||
|
Comment on lines
-321
to
+326
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks good! |
||
| </configuration> | ||
| </plugin> | ||
| <plugin> | ||
|
|
@@ -416,13 +419,13 @@ | |
| </profiles> | ||
|
|
||
| <distributionManagement> | ||
| <snapshotRepository> | ||
| <id>ossrh</id> | ||
| <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url> | ||
| </snapshotRepository> | ||
| <repository> | ||
| <id>ossrh</id> | ||
| <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
| </repository> | ||
| <!--<snapshotRepository> | ||
| <id>central</id> | ||
| <url>https://central.sonatype.com/repository/maven-snapshots/</url> | ||
| </snapshotRepository>--> | ||
| <!--<repository> | ||
| <id>central</id> | ||
| <url>https://central.sonatype.com</url> | ||
| </repository>--> | ||
|
Comment on lines
-419
to
+429
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Great! |
||
| </distributionManagement> | ||
| </project> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.