From 7554526c775b12aebc874e93da7cf20bee591498 Mon Sep 17 00:00:00 2001 From: David Pratt Date: Tue, 14 Jun 2022 13:38:38 -0500 Subject: [PATCH] Add an Automatic-Module-Name entry to the MANIFEST Ensure that an Automatic-Module-Name entry is added to the final MANIFEST.MF file in the produced jar. This will allow users of the library to properly import and use it on the module path with a stable, well-known name. This commit does *not* change this library itself to be a modular jar, nor does it incorporate any features that would break backwards compatibility with JDK 7-8 clients. --- pom.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pom.xml b/pom.xml index 7b606a5a..2579b2ca 100644 --- a/pom.xml +++ b/pom.xml @@ -270,6 +270,20 @@ + + org.apache.maven.plugins + maven-jar-plugin + 3.2.2 + + + + + + com.datadoghq.dogstatsd.client + + + + org.apache.maven.plugins maven-checkstyle-plugin @@ -323,6 +337,7 @@ org.apache.maven.plugins maven-deploy-plugin + 2.7 true