Minor cleanup

This commit is contained in:
Erik C. Thauvin 2023-10-28 11:47:13 -07:00
parent c3bd06228f
commit a72995f708

View file

@ -56,15 +56,20 @@ public class DemoApplicationBuild extends WebProject {
.execute();
}
@BuildCommand(summary = "Create an executable WAR for the project")
public void bootwar() throws Exception {
new BootWarOperation()
.fromProject(this)
.execute();
}
@BuildCommand(summary = "Creates an executable JAR for the project")
public void uberjar() throws Exception {
bootjar();
}
@BuildCommand(summary = "Creates WAR for the project")
@BuildCommand(summary = "Create an executable WAR for the project")
public void war() throws Exception {
new BootWarOperation()
.fromProject(this)
.execute();
bootwar();
}
}