Skip to content

Commit a650023

Browse files
committed
test
1 parent 2dad73c commit a650023

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

.github/workflows/release-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ jobs:
112112
with:
113113
arguments: build final closeAndReleaseSonatypeStagingRepository -Prelease.version=${{ github.event.inputs.version }} --stacktrace
114114
env:
115-
PUBLISH_TOKEN_USERNAME: ${{ secrets.PUBLISH_TOKEN_USERNAME }}
116-
PUBLISH_TOKEN_PASSWORD: ${{ secrets.PUBLISH_TOKEN_PASSWORD }}
115+
PUBLISH_TOKEN_USERNAME: ${{ secrets.PUBLISH_TOKEN_USERNAME_TEST }}
116+
PUBLISH_TOKEN_PASSWORD: ${{ secrets.PUBLISH_TOKEN_PASSWORD_TEST }}
117117
GRGIT_USER: ${{ secrets.GITHUB_TOKEN }}
118118
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
119119
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

build.gradle.kts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ nebulaRelease {
4040
nexusPublishing {
4141
repositories {
4242
sonatype {
43-
nexusUrl.set(uri("https://aws.oss.sonatype.org/service/local/"))
44-
snapshotRepositoryUrl.set(uri("https://aws.oss.sonatype.org/content/repositories/snapshots/"))
45-
username.set(System.getenv("PUBLISH_TOKEN_USERNAME"))
46-
password.set(System.getenv("PUBLISH_TOKEN_PASSWORD"))
43+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
44+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
45+
username.set(System.getenv("PUBLISH_TOKEN_USERNAME_TEST"))
46+
password.set(System.getenv("PUBLISH_TOKEN_PASSWORD_TEST"))
4747
}
4848
}
4949
}
@@ -53,7 +53,7 @@ val postReleaseTask = tasks.named("release")
5353

5454
allprojects {
5555

56-
project.group = "software.amazon.opentelemetry"
56+
project.group = "com.sonatype.central.testing.amazon"
5757

5858
plugins.apply("com.diffplug.spotless")
5959

@@ -193,13 +193,13 @@ allprojects {
193193
plugins.withId("maven-publish") {
194194
plugins.apply("signing")
195195

196-
afterEvaluate {
197-
val publishTask = tasks.named("publishToSonatype")
198-
199-
postReleaseTask.configure {
200-
dependsOn(publishTask)
201-
}
202-
}
196+
// afterEvaluate {
197+
// val publishTask = tasks.named("publishToSonatype")
198+
//
199+
// postReleaseTask.configure {
200+
// dependsOn(publishTask)
201+
// }
202+
// }
203203

204204
configure<PublishingExtension> {
205205
publications {

exporters/aws-distro-opentelemetry-xray-udp-span-exporter/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ tasks.create("printVersion") {
101101
nexusPublishing {
102102
repositories {
103103
sonatype {
104-
nexusUrl.set(uri("https://aws.oss.sonatype.org/service/local/"))
105-
snapshotRepositoryUrl.set(uri("https://aws.oss.sonatype.org/content/repositories/snapshots/"))
106-
username.set(System.getenv("PUBLISH_TOKEN_USERNAME"))
107-
password.set(System.getenv("PUBLISH_TOKEN_PASSWORD"))
104+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
105+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
106+
username.set(System.getenv("PUBLISH_TOKEN_USERNAME_TEST"))
107+
password.set(System.getenv("PUBLISH_TOKEN_PASSWORD_TEST"))
108108
}
109109
}
110110
}

exporters/aws-distro-opentelemetry-xray-udp-span-exporter/settings.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencyResolutionManagement {
66
mavenLocal()
77

88
maven {
9-
setUrl("https://oss.sonatype.org/content/repositories/snapshots")
9+
setUrl("https://central.sonatype.com/repository/maven-snapshots/")
1010
}
1111
}
1212
}
@@ -16,4 +16,4 @@ pluginManagement {
1616
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
1717
id("nebula.release") version "18.0.6"
1818
}
19-
}
19+
}

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dependencyResolutionManagement {
3333
mavenLocal()
3434

3535
maven {
36-
setUrl("https://oss.sonatype.org/content/repositories/snapshots")
36+
setUrl("https://central.sonatype.com/repository/maven-snapshots/")
3737
}
3838
}
3939
}

0 commit comments

Comments
 (0)