Skip to content

Commit 60ae503

Browse files
authored
Merge pull request #2483 from ClickHouse/fix_nightly_01
Fix nightly 01
2 parents efe36ec + e0f3dbf commit 60ae503

File tree

7 files changed

+9
-18
lines changed

7 files changed

+9
-18
lines changed

.github/workflows/nightly.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
with:
6969
maven_profiles: release
7070
maven_args: -q --batch-mode -DclickhouseVersion=${{ env.CH_VERSION }}
71+
server_id: central
7172
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
7273
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
7374
nexus_username: ${{ secrets.SONATYPE_TOKEN_USER }}
@@ -78,6 +79,7 @@ jobs:
7879
directory: clickhouse-r2dbc
7980
maven_profiles: release
8081
maven_args: -q --batch-mode -Dr2dbc-spi.version=0.9.1.RELEASE -DclickhouseVersion=${{ env.CH_VERSION }}
82+
server_id: central
8183
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
8284
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
8385
nexus_username: ${{ secrets.SONATYPE_TOKEN_USER }}

examples/client-v2/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<!-- <repository>-->
4646
<!-- <id>ossrh</id>-->
4747
<!-- <name>Sonatype OSSRH</name>-->
48-
<!-- <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>-->
48+
<!-- <url>https://central.sonatype.com/repository/maven-snapshots/</url>-->
4949
<!-- </repository>-->
5050
</repositories>
5151

examples/client/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<repository>
3232
<id>ossrh</id>
3333
<name>Sonatype OSSRH</name>
34-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
34+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
3535
</repository>
3636
</repositories>
3737

@@ -41,7 +41,7 @@
4141
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
4242

4343
<clickhouse-java.version>0.9.0-SNAPSHOT</clickhouse-java.version>
44-
<!-- Nightly snapshot version from https://s01.oss.sonatype.org/content/repositories/snapshots/ or latest from local -->
44+
<!-- Nightly snapshot version from https://central.sonatype.com/repository/maven-snapshots/or latest from local -->
4545
<!-- <clickhouse-java.version>0.9.0-SNAPSHOT</clickhouse-java.version>-->
4646

4747
<apache-httpclient.version>5.2.1</apache-httpclient.version>

examples/demo-kotlin-service/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ application {
2121
repositories {
2222
mavenLocal() // comment to pull nightly builds instead of local cache
2323
mavenCentral()
24-
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") // for nightly builds
24+
maven("https://central.sonatype.com/repository/maven-snapshots/") // for nightly builds
2525
}
2626

2727
val ch_java_client_version: String by extra

examples/demo-service/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ configurations {
2222
repositories {
2323
mavenLocal() // comment to pull nightly builds instead of local cache
2424
mavenCentral()
25-
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") // for nightly builds
25+
maven("https://central.sonatype.com/repository/maven-snapshots/")
2626
}
2727

2828
val ch_java_client_version: String by extra

examples/jdbc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<repository>
3939
<id>ossrh</id>
4040
<name>Sonatype OSSRH</name>
41-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
41+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
4242
</repository>
4343
</repositories>
4444

pom.xml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,7 @@
6767
<system>Github</system>
6868
<url>https://github.com/ClickHouse/clickhouse-java/actions</url>
6969
</ciManagement>
70-
71-
<distributionManagement>
72-
<snapshotRepository>
73-
<id>ossrh</id>
74-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
75-
</snapshotRepository>
76-
<repository>
77-
<id>ossrh</id>
78-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
79-
</repository>
80-
</distributionManagement>
81-
70+
8271
<properties>
8372
<revision>0.9.0-SNAPSHOT</revision>
8473
<project.current.year>2025</project.current.year>

0 commit comments

Comments
 (0)