Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 2. Configuring your application to use Spring Boot
Reference the Spring Boot BOM (Bill of Materials) artifact in the pom.xml file at the root directory of your application.
Prerequisites
- A Maven-based application
Procedure
Open the
pom.xmlfile, add theme.snowdrop:spring-boot-bomartifact to the<dependencyManagement>section, and specify the<type>pom</type>and<scope>import</scope>:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Include the following properties to track the version of Spring Boot and the Spring Boot Maven Plugin you are using:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Specify the repositories containing Spring Boot Starters and the Spring Boot Maven Plugin:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Reference
spring-boot-maven-pluginas the plugin used to package your application:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Additional resources
- For more information about packaging your Spring Boot application, see the Spring Boot Maven Plugin documentation.