Add root pom to publishLocal

This commit is contained in:
Erik C. Thauvin 2025-03-16 21:31:34 -07:00
parent c345a48cf1
commit 387137cc5f
Signed by: erik
GPG key ID: 776702A6A2DA330E

View file

@ -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(),