From 387137cc5fae970a2978f1afe202ce6ef8597a9b Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sun, 16 Mar 2025 21:31:34 -0700 Subject: [PATCH] Add root pom to publishLocal --- src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java b/src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java index eb056a1..7e9c809 100644 --- a/src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java +++ b/src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java @@ -193,6 +193,12 @@ public class BitlyShortenBuild extends Project { pomRoot(); } + @Override + public void publishLocal() throws Exception { + super.publishLocal(); + pomRoot(); + } + @BuildCommand(value = "pom-root", summary = "Generates the POM file in the root directory") public void pomRoot() throws FileUtilsErrorException { PomBuilder.generateInto(publishOperation().fromProject(this).info(), dependencies(),