Added Root POM for Snyk
This commit is contained in:
parent
0d37c7b152
commit
2a9bb44fec
2 changed files with 3 additions and 3 deletions
|
@ -194,9 +194,9 @@ public class MobibotBuild extends Project {
|
||||||
.execute();
|
.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
@BuildCommand(value = "snyk-pom", summary = "Generates the Snyk POM")
|
@BuildCommand(value = "root-pom", summary = "Generates the POM file in the root directory")
|
||||||
public void snykPom() throws FileUtilsErrorException {
|
public void rootPom() throws FileUtilsErrorException {
|
||||||
PomBuilder.generateInto(publishOperation().info(), publishOperation().dependencies(),
|
PomBuilder.generateInto(publishOperation().info(), publishOperation().dependencies(),
|
||||||
Path.of(workDirectory.getPath(), "snyx.xml").toFile());
|
Path.of(workDirectory.getPath(), "pom.xml").toFile());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue