File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,5 +158,5 @@ jobs:
158158 mvn clean install -B -U -e -Pdeploying
159159 - name : Deploy snapshot artifacts
160160 run : |
161- echo "<settings><servers><server><id>central </id><username>${{ secrets.CI_DEPLOY_USERNAME }}</username><password>${{ secrets.CI_DEPLOY_PASSWORD }}</password></server></servers></settings>" > $HOME/.m2/settings.xml
161+ echo "<settings><servers><server><id>ossrh </id><username>${{ secrets.CI_DEPLOY_USERNAME }}</username><password>${{ secrets.CI_DEPLOY_PASSWORD }}</password></server></servers></settings>" > $HOME/.m2/settings.xml
162162 mvn deploy -Pdeploying -B -e -Dmaven.test.skip=true
Original file line number Diff line number Diff line change @@ -133,14 +133,14 @@ for temporary staging.
133133 <settings>
134134 <servers>
135135 <server>
136- <id>ossrh </id>
137- <username>${SONATYPE_USERNAME }</username>
138- <password>${SONATYPE_PASSWORD }</password>
136+ <id>central </id>
137+ <username>${USERNAME }</username>
138+ <password>${PASSWORD }</password>
139139 </server>
140140 <server>
141- <id>ossrh -staging</id>
142- <username>${SONATYPE_USERNAME }</username>
143- <password>${SONATYPE_PASSWORD }</password>
141+ <id>central -staging</id>
142+ <username>${USERNAME }</username>
143+ <password>${PASSWORD }</password>
144144 </server>
145145 </servers>
146146 <profiles>
@@ -178,9 +178,7 @@ for temporary staging.
178178
179179Some things of note:
180180 - For details, look at the [Sonatype guide](http://central.sonatype.org/pages/releasing-the-deployment.html).
181- - Syncing with [Maven Central](http://repo1.maven.org/maven2/org/tensorflow/)
182- can take 10 minutes to 2 hours (as per the [OSSRH
183- guide](http://central.sonatype.org/pages/ossrh-guide.html#releasing-to-central)).
181+ - Syncing with [Maven Central](http://repo1.maven.org/maven2/org/tensorflow/) can take 10 minutes to 2 hours.
184182
185183### Finishing a release
186184
@@ -223,6 +221,4 @@ Some things of note:
223221
224222## References
225223
226- - [Sonatype guide](http://central.sonatype.org/pages/ossrh-guide.html) for
227- hosting releases.
228- - [Ticket that created the `org/tensorflow` configuration](https://issues.sonatype.org/browse/OSSRH-28072) on OSSRH.
224+ - [Maven Central guide](https://central.sonatype.org/register/central-portal/) for hosting releases.
Original file line number Diff line number Diff line change 5555
5656 <repositories >
5757 <repository >
58- <id >ossrh -snapshots</id >
59- <name >OSSRH Sonatype Snapshots</name >
60- <url >https://oss .sonatype.org/content/repositories/ snapshots</url >
58+ <id >central -snapshots</id >
59+ <name >Maven Central Snapshots</name >
60+ <url >https://central .sonatype.com/repository/maven- snapshots/ </url >
6161 <releases >
6262 <enabled >false</enabled >
6363 </releases >
6969
7070 <pluginRepositories >
7171 <pluginRepository >
72- <id >ossrh -snapshots</id >
73- <name >OSSRH Sonatype Snapshots</name >
74- <url >https://oss .sonatype.org/content/repositories/ snapshots</url >
72+ <id >central -snapshots</id >
73+ <name >Maven Central Plugin Snapshots</name >
74+ <url >https://central .sonatype.com/repository/maven- snapshots/ </url >
7575 <releases >
7676 <enabled >false</enabled >
7777 </releases >
You can’t perform that action at this time.
0 commit comments