File tree Expand file tree Collapse file tree 5 files changed +21
-21
lines changed
exporters/aws-distro-opentelemetry-xray-udp-span-exporter Expand file tree Collapse file tree 5 files changed +21
-21
lines changed Original file line number Diff line number Diff 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 }}
Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ nebulaRelease {
4040nexusPublishing {
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
5454allprojects {
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 {
Original file line number Diff line number Diff line change @@ -101,10 +101,10 @@ tasks.create("printVersion") {
101101nexusPublishing {
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}
Original file line number Diff line number Diff 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+ }
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments