diff --git a/README.md b/README.md index efc0b1c..68d7a4e 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,6 @@ To run the web application tests, issue the following command: ## Creating and launching the executable JAR ``` -./bld jar -java -jar build/dist/demoapplication-0.1.0.jar +./bld bootjar +java -jar build/dist/demoapplication-0.1.0-boot.jar ``` diff --git a/src/bld/java/com/example/springboot/ApplicationBuild.java b/src/bld/java/com/example/springboot/ApplicationBuild.java index 4c71312..c3fee7c 100644 --- a/src/bld/java/com/example/springboot/ApplicationBuild.java +++ b/src/bld/java/com/example/springboot/ApplicationBuild.java @@ -39,9 +39,14 @@ public class ApplicationBuild extends WebProject { } @BuildCommand(summary = "Creates an executable JAR for the project") - public void jar() throws Exception { + public void bootjar() throws Exception { new BootJarOperation() .fromProject(this) .execute(); } + + @BuildCommand(summary = "Creates an executable JAR for the project") + public void uberjar() throws Exception { + bootjar(); + } } \ No newline at end of file