From 2a9bb44fecff85e4ef2fd82313b68b6a7620ca43 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sun, 25 Feb 2024 21:32:58 -0800 Subject: [PATCH] Added Root POM for Snyk --- snyx.xml => pom.xml | 0 src/bld/java/net/thauvin/erik/MobibotBuild.java | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename snyx.xml => pom.xml (100%) diff --git a/snyx.xml b/pom.xml similarity index 100% rename from snyx.xml rename to pom.xml diff --git a/src/bld/java/net/thauvin/erik/MobibotBuild.java b/src/bld/java/net/thauvin/erik/MobibotBuild.java index 1f72ddf..6f4e7cc 100644 --- a/src/bld/java/net/thauvin/erik/MobibotBuild.java +++ b/src/bld/java/net/thauvin/erik/MobibotBuild.java @@ -194,9 +194,9 @@ public class MobibotBuild extends Project { .execute(); } - @BuildCommand(value = "snyk-pom", summary = "Generates the Snyk POM") - public void snykPom() throws FileUtilsErrorException { + @BuildCommand(value = "root-pom", summary = "Generates the POM file in the root directory") + public void rootPom() throws FileUtilsErrorException { PomBuilder.generateInto(publishOperation().info(), publishOperation().dependencies(), - Path.of(workDirectory.getPath(), "snyx.xml").toFile()); + Path.of(workDirectory.getPath(), "pom.xml").toFile()); } }