Minor cleanup
This commit is contained in:
parent
c3bd06228f
commit
a72995f708
1 changed files with 9 additions and 4 deletions
|
@ -56,15 +56,20 @@ public class DemoApplicationBuild extends WebProject {
|
||||||
.execute();
|
.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")
|
@BuildCommand(summary = "Creates an executable JAR for the project")
|
||||||
public void uberjar() throws Exception {
|
public void uberjar() throws Exception {
|
||||||
bootjar();
|
bootjar();
|
||||||
}
|
}
|
||||||
|
|
||||||
@BuildCommand(summary = "Creates WAR for the project")
|
@BuildCommand(summary = "Create an executable WAR for the project")
|
||||||
public void war() throws Exception {
|
public void war() throws Exception {
|
||||||
new BootWarOperation()
|
bootwar();
|
||||||
.fromProject(this)
|
|
||||||
.execute();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue