January 2019
Beginner to intermediate
352 pages
8h
English
Apache Maven is probably the most common build management system: we can consider it the de facto build and package operation for Java applications. In this section, we will use it to build and package our application.
Spring Boot is compatible with Apache Maven 3.2 or higher, and, in order to easily manage all of the Spring Boot dependencies (in particular, the right versions), you can set your Maven POM file to inherit from the spring-boot-starter-parent project.
The following is an example of a pom.xml file that you can use in your Spring Boot application:
<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ...
Read now
Unlock full access