From ef84fc392baf28f9f6316226434c376248040e8a Mon Sep 17 00:00:00 2001 From: Dino Wernli Date: Tue, 12 Oct 2021 11:36:01 +0200 Subject: [PATCH] Add a POM template which makes sure that Sonatype is happy with the POM (#38) --- BUILD | 1 + pom_template.xml | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 pom_template.xml diff --git a/BUILD b/BUILD index 17f07f2..ea1f7d5 100644 --- a/BUILD +++ b/BUILD @@ -6,6 +6,7 @@ load("@rules_jvm_external//:defs.bzl", "java_export") java_export( name = "maven_export_lib", maven_coordinates = "me.dinowernli:java-grpc-prometheus:0.5.0", + pom_template = "//:pom_template.xml", # Make sure these show up in the dependencies of the resulting POM. runtime_deps = [ "//src/main/java/me/dinowernli/grpc/prometheus", diff --git a/pom_template.xml b/pom_template.xml new file mode 100644 index 0000000..ee24c7a --- /dev/null +++ b/pom_template.xml @@ -0,0 +1,43 @@ + + + 4.0.0 + + {groupId} + {artifactId} + {version} + {type} + + + me.dinowernli + + java-grpc-prometheus + Java interceptors which can be used to monitor Grpc services using Prometheus. + https://github.com/grpc-ecosystem/java-grpc-prometheus + + + + dino + Dino + + + + + scm:git:git://github.com/grpc-ecosystem/java-grpc-prometheus.git + scm:git:git://github.com/grpc-ecosystem/java-grpc-prometheus.git + https://github.com/grpc-ecosystem/java-grpc-prometheus + HEAD + + + + + Apache 2.0 License + https://github.com/dinowernli/java-grpc-prometheus/blob/master/LICENSE + repo + + + + + {dependencies} + + +