File tree Expand file tree Collapse file tree 2 files changed +25
-22
lines changed Expand file tree Collapse file tree 2 files changed +25
-22
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ To run the demo standalone from the command line, simply invoke `mvn` or `./mvnw
4545Then open a browser to [ localhost:8080] ( http://localhost:8080 ) to use the application.
4646
4747The default Maven goal for this project is ` spring-boot:run ` . To ensure a full build, you can use ` mvn clean install ` .
48+ This will also build a fat JAR file so that the application can be run anywhere by generating an executable file
49+ with the '-jar-with-dependencies.jar' suffix in the ` target ` directory. It will also make this application and
50+ its dependencies available in your local Maven repository if you wish to use it as a dependency in another project.
4851
4952On startup, your Vonage application will be updated with the webhook URLs for the demo.
5053This is so that you don't have to manually set the webhook URLs on the dashboard every time you restart
Original file line number Diff line number Diff line change 8989 </execution >
9090 </executions >
9191 </plugin >
92- <plugin >
93- <artifactId >maven-assembly-plugin</artifactId >
94- <configuration >
95- <archive >
96- <manifest >
97- <mainClass >${exec.mainClass} </mainClass >
98- </manifest >
99- </archive >
100- <descriptorRefs >
101- <descriptorRef >jar-with-dependencies</descriptorRef >
102- </descriptorRefs >
103- </configuration >
104- <executions >
105- <execution >
106- <id >make-assembly</id >
107- <phase >package</phase >
108- <goals >
109- <goal >single</goal >
110- </goals >
111- </execution >
112- </executions >
113- </plugin >
11492 <plugin >
11593 <artifactId >maven-enforcer-plugin</artifactId >
11694 <version >3.5.0</version >
133111 </execution >
134112 </executions >
135113 </plugin >
114+ <plugin >
115+ <artifactId >maven-assembly-plugin</artifactId >
116+ <configuration >
117+ <archive >
118+ <manifest >
119+ <mainClass >${exec.mainClass} </mainClass >
120+ </manifest >
121+ </archive >
122+ <descriptorRefs >
123+ <descriptorRef >jar-with-dependencies</descriptorRef >
124+ </descriptorRefs >
125+ </configuration >
126+ <executions >
127+ <execution >
128+ <id >make-assembly</id >
129+ <phase >package</phase >
130+ <goals >
131+ <goal >single</goal >
132+ </goals >
133+ </execution >
134+ </executions >
135+ </plugin >
136136 </plugins >
137137 </build >
138138</project >
You can’t perform that action at this time.
0 commit comments