Skip to content

Commit 5db1c8d

Browse files
cicd: Update url to server id to ossrh #TASK-7783
1 parent a02546e commit 5db1c8d

File tree

3 files changed

+4
-84
lines changed

3 files changed

+4
-84
lines changed

.github/workflows/deploy-maven-central-workflow.yml

Lines changed: 0 additions & 82 deletions
This file was deleted.

.github/workflows/deploy-maven-repository-workflow.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ jobs:
5757
rm private.key
5858
5959
- name: Generate Maven settings.xml
60-
# Create settings.xml with Sonatype Central credentials & GPG profile
6160
run: |
6261
cat > settings.xml <<EOF
6362
<settings>
@@ -76,6 +75,9 @@ jobs:
7675
</properties>
7776
</profile>
7877
</profiles>
78+
<activeProfiles>
79+
<activeProfile>gpg</activeProfile>
80+
</activeProfiles>
7981
</settings>
8082
EOF
8183

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378
<extensions>true</extensions>
379379
<configuration>
380380
<serverId>ossrh</serverId>
381-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
381+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
382382
<autoReleaseAfterClose>true</autoReleaseAfterClose>
383383
</configuration>
384384
</plugin>

0 commit comments

Comments
 (0)