From 750c4311a7e7b864635b5688947657c0f9418661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20St=C3=A4ber?= Date: Sun, 4 Jul 2021 21:26:43 +0200 Subject: [PATCH] Fulfill requirement for publishing to Maven central --- integration_tests/pom.xml | 12 ++++++++ jmx_prometheus_javaagent/pom.xml | 47 ++++++++++++++++++++++++++++++++ pom.xml | 11 +++++--- 3 files changed, 66 insertions(+), 4 deletions(-) diff --git a/integration_tests/pom.xml b/integration_tests/pom.xml index 3946f72b..4a50860a 100644 --- a/integration_tests/pom.xml +++ b/integration_tests/pom.xml @@ -35,4 +35,16 @@ + + + + + org.apache.maven.plugins + maven-deploy-plugin + + true + + + + diff --git a/jmx_prometheus_javaagent/pom.xml b/jmx_prometheus_javaagent/pom.xml index 289e0f58..fcd03737 100644 --- a/jmx_prometheus_javaagent/pom.xml +++ b/jmx_prometheus_javaagent/pom.xml @@ -93,6 +93,53 @@ + + + release + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar-no-fork + + + + + true + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + + true + + ${project.groupId}:jmx_prometheus_javaagent_java6 + + + + + + + + + + UTF-8 UTF-8 diff --git a/pom.xml b/pom.xml index 56c262d1..a3ac1d7e 100644 --- a/pom.xml +++ b/pom.xml @@ -29,6 +29,13 @@ HEAD + + + Fabian Stäber + fabian@fstab.de + + + collector jmx_prometheus_httpserver @@ -102,10 +109,6 @@ maven-jar-plugin 2.4 - - maven-deploy-plugin - 2.7 - maven-clean-plugin 2.5