Spring Boot with two powerful plug-ins:
spring-boot-gradle-plugin
spring-boot-maven-plugin
They are essentially functional parity, and provide operational command line Spring Boot application and its ability to be bundled into the operating JAR. In the final implementation phase, almost all guidelines have referred to this body.
A popular topic that many people still want to generate a WAR file deployed in the container. Such plugins are also supported. Essentially, you must reconfigure the project to generate the WAR file and the embedded container declared as a dependent provided
. This ensures that the associated embedded container dependencies are not included in the WAR file.
For information about how to configure applications that plug container WAR file detailed steps, see:
- Executable jar files with Maven magic and war
- Spring Boot Gradle plugins or
- Gradle plugin Reference: packed executable war package
Spring Boot runs on Servlet 3.0 Specification container.
See also
The following guidelines may be helpful:
- Build applications using Spring Boot (please do look forward ~)
Want to see other content guidelines? Please visit this guide belongs to column: " the Spring Official Guide "