From 2075e0999d676e4bd5f8ce1ca5bdf0ff2538be54 Mon Sep 17 00:00:00 2001 From: Sina Madani Date: Thu, 7 Nov 2024 10:26:42 +0000 Subject: [PATCH] Explain packaging in README --- README.md | 3 +++ pom.xml | 44 ++++++++++++++++++++++---------------------- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 9ed869b..3e2a21b 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,9 @@ To run the demo standalone from the command line, simply invoke `mvn` or `./mvnw Then open a browser to [localhost:8080](http://localhost:8080) to use the application. The default Maven goal for this project is `spring-boot:run`. To ensure a full build, you can use `mvn clean install`. +This will also build a fat JAR file so that the application can be run anywhere by generating an executable file +with the '-jar-with-dependencies.jar' suffix in the `target` directory. It will also make this application and +its dependencies available in your local Maven repository if you wish to use it as a dependency in another project. On startup, your Vonage application will be updated with the webhook URLs for the demo. This is so that you don't have to manually set the webhook URLs on the dashboard every time you restart diff --git a/pom.xml b/pom.xml index b3a1b71..041ab32 100644 --- a/pom.xml +++ b/pom.xml @@ -89,28 +89,6 @@ - - maven-assembly-plugin - - - - ${exec.mainClass} - - - - jar-with-dependencies - - - - - make-assembly - package - - single - - - - maven-enforcer-plugin 3.5.0 @@ -133,6 +111,28 @@ + + maven-assembly-plugin + + + + ${exec.mainClass} + + + + jar-with-dependencies + + + + + make-assembly + package + + single + + + + \ No newline at end of file