Exploring pom.xml

The following snippet shows the dependencies that are declared:

<dependencies>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

<!-- Test dependency and DEV Tools removed for brevity-->

</dependencies>

A few other important observations are as follows:

  • The packaging for this component is .jar.
  • org.springframework.boot:spring-boot-starter-parent is declared as the parent POM.
  • <java.version>1.8</java.version>: The Java version is 1.8.
  • Spring Boot Maven Plugin (org.springframework.boot:spring-boot-maven-plugin) is configured as a plugin.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset