@@ -85,7 +85,7 @@ StubParser. Only developers, not users, of StubParser need to do this.
8585 ``` sh
8686 export STUBPARSER=stubparser-${VER}
8787 export HOSTING_INFO_DIR=/projects/swlab1/checker-framework/hosting-info
88- ../mvnw gpg:sign-and-deploy-file -Durl=https://oss .sonatype.org/content/repositories/ snapshots/ \
88+ ../mvnw gpg:sign-and-deploy-file -Durl=https://central .sonatype.com/repository/maven- snapshots/ \
8989 -DpomFile=cfMavenCentral.xml -Dfile=target/$STUBPARSER .jar\
9090 -Dgpg.keyname=checker-framework-dev@googlegroups.com \
9191 -Dgpg.passphrase=" ` cat $HOSTING_INFO_DIR /release-private.password` " \
@@ -107,47 +107,61 @@ If any tests fail, fix them before continuing.
107107 ../mvnw source:jar && \
108108 ../mvnw javadoc:javadoc && (cd target/reports/apidocs && jar -c -f ../../$STUBPARSER -javadoc.jar com)
109109
110- ../mvnw gpg:sign-and-deploy-file -Durl=https://oss. sonatype.org /service/local/staging/deploy/maven2/ \
110+ ../mvnw gpg:sign-and-deploy-file -Durl=https://ossrh-staging-api.central. sonatype.com /service/local/staging/deploy/maven2/ \
111111 -DpomFile=cfMavenCentral.xml -Dfile=target/$STUBPARSER .jar \
112112 -Dgpg.keyname=checker-framework-dev@googlegroups.com \
113113 -Dgpg.passphrase=" ` cat $HOSTING_INFO_DIR /release-private.password` " \
114114 -DrepositoryId=sonatype-nexus-staging
115115
116- ../mvnw gpg:sign-and-deploy-file -Durl=https://oss. sonatype.org /service/local/staging/deploy/maven2/ \
116+ ../mvnw gpg:sign-and-deploy-file -Durl=https://ossrh-staging-api.central. sonatype.com /service/local/staging/deploy/maven2/ \
117117 -DpomFile=cfMavenCentral.xml \
118118 -Dgpg.keyname=checker-framework-dev@googlegroups.com \
119119 -Dgpg.passphrase=" ` cat $HOSTING_INFO_DIR /release-private.password` " \
120120 -DrepositoryId=sonatype-nexus-staging \
121121 -Dclassifier=javadoc -Dfile=target/$STUBPARSER -javadoc.jar
122122
123- ../mvnw gpg:sign-and-deploy-file -Durl=https://oss. sonatype.org /service/local/staging/deploy/maven2/ \
123+ ../mvnw gpg:sign-and-deploy-file -Durl=https://ossrh-staging-api.central. sonatype.com /service/local/staging/deploy/maven2/ \
124124 -DpomFile=cfMavenCentral.xml \
125125 -Dgpg.keyname=checker-framework-dev@googlegroups.com \
126126 -Dgpg.passphrase=" ` cat $HOSTING_INFO_DIR /release-private.password` " \
127127 -DrepositoryId=sonatype-nexus-staging \
128128 -Dclassifier=sources -Dfile=target/$STUBPARSER -sources.jar
129129 ```
130-
131- Complete the release at https://oss.sonatype.org/#stagingRepositories .
132-
133- 13 . In the Checker Framework, remove ` SNAPSHOT ` in the StubParser version numbers.
130+ 13 . Close the artifacts:
131+ * Browse to https://ossrh-staging-api.central.sonatype.com/swagger-ui/#/default/manual_search_repositories .
132+ * Expand GET manual/search/repositories
133+ * Click try it out.
134+ * Type any in the IP field.
135+ * Click Execute.
136+ * Log in with user token/password.
137+ * Scroll down until you see a JSON block that includes a key like this:
138+ "key": "user/ip/org.checkerframework--default-repository",`
139+ * Copy the key field.
140+ * Expand POST manual/upload/repositories/{repository_key}.
141+ * Click try it out.
142+ * Copy key field from above into repository_key.
143+ * Click Execute, it may take a minute or two to update.
144+ * Under Server response it should say Code 200.
145+ * Go to https://central.sonatype.com/publishing and make sure you see a deployment org.checkerframework (via OSSRH Staging API).
146+
147+ 14 . In the Checker Framework, remove ` SNAPSHOT ` in the StubParser version numbers.
134148 Commit and push your changes to Checker Framework.
135149
136- 14 . Push commits to your fork of StubParser.
150+ 15 . Push commits to your fork of StubParser.
137151 ``` sh
138152 git push
139153 ```
140154 GitHub Actions CI will not run for your branch.
141155
142- 15 . Create a [ pull request to ` typetools/stubparser ` ] ( https://github.com/typetools/stubparser ) .
156+ 16 . Create a [ pull request to ` typetools/stubparser ` ] ( https://github.com/typetools/stubparser ) .
143157 Give it a title like "Update to JavaParser 3.24.3".
144158 Do * not* squash-and-merge the pull request;
145159 you want to keep a history of what upstream commits were merged in.
146160
147- 16 . Create a [ pull request to ` typetools/checker-framework ` ] ( https://github.com/typetools/checkerframework ) .
161+ 17 . Create a [ pull request to ` typetools/checker-framework ` ] ( https://github.com/typetools/checkerframework ) .
148162 Give it a title like "Update to StubParser 3.24.3".
149163
150- 17 . Merge both pull requests when both pass.
164+ 18 . Merge both pull requests when both pass.
151165
152166## Changes to StubParser that break the Checker Framework
153167
0 commit comments