This is an automated email from the ASF dual-hosted git repository. lollipop pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/rocketmq-apis.git
The following commit(s) were added to refs/heads/main by this push: new b07c7bd Modify default deploy maven repo to apache (#88) b07c7bd is described below commit b07c7bd19505b702e15319869bba79775d02d688 Author: lizhimins <707364...@qq.com> AuthorDate: Thu Nov 14 17:59:42 2024 +0800 Modify default deploy maven repo to apache (#88) --- java/BUILD.bazel | 6 +++--- java/README.md | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/java/BUILD.bazel b/java/BUILD.bazel index 3d1eb37..aeb7326 100644 --- a/java/BUILD.bazel +++ b/java/BUILD.bazel @@ -52,7 +52,7 @@ java_library( "@maven//:com_google_api_grpc_proto_google_common_protos", "@maven//:javax_annotation_javax_annotation_api", # gRPC needs this in order to compile in Java 11 and Java 14 ], - tags = ["maven_coordinates=org.apache.rocketmq:rocketmq-proto-test:{pom_version}"] + tags = ["maven_coordinates=org.apache.rocketmq:rocketmq-proto:{pom_version}"] ) assemble_maven( @@ -70,7 +70,7 @@ assemble_maven( deploy_maven( name = "deploy-maven", - release = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/", - snapshot = "https://s01.oss.sonatype.org/content/repositories/snapshots", + release = "https://repository.apache.org/service/local/staging/deploy/maven2", + snapshot = "https://repository.apache.org/content/repositories/snapshots", target = ":assemble-maven", ) \ No newline at end of file diff --git a/java/README.md b/java/README.md index e6541a1..36046c7 100644 --- a/java/README.md +++ b/java/README.md @@ -6,4 +6,8 @@ build and deploy snapshot export DEPLOY_MAVEN_USERNAME=your_username export DEPLOY_MAVEN_PASSWORD=your_password bazel run //java:deploy-maven snapshot + +# release to apache repo +# https://medium.com/wix-engineering/how-to-publish-artifacts-from-bazel-to-maven-central-71da0cf990f5 +bazel run //java:deploy-maven -- snapshot --gpg ``` \ No newline at end of file