Added Root POM for Snyk

This commit is contained in:
Erik C. Thauvin 2024-02-25 21:32:58 -08:00
parent 0d37c7b152
commit 2a9bb44fec
2 changed files with 3 additions and 3 deletions

View file

@ -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());
}
}