SpringBootstarterParent
SpringBootstarterParent
boot dependencies.
What is spring-boot-starter-parent
dependency?
The spring-boot-starter-parent dependency is the parent POM providing
dependency and plugin management for Spring Boot-based applications. It
contains the default versions of Java to use, the default versions of
dependencies that Spring Boot uses, and the default configuration of the
Maven plugins.
...
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/application*.yml</include>
<include>**/application*.yaml</include>
<include>**/application*.properties</include>
</includes>
</resource>
</project>
This file is the actual file which contains the information of default version to
use for all libraries. The following code shows the different versions of
various dependencies that are configured in spring-boot-dependencies:
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://
maven.apache.org/xsd/maven-4.0.0.xsd;
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${revision}</version>
<relativePath>../../spring-boot-dependencies</relativePath>
</parent>
<artifactId>spring-boot-starter-parent</artifactId>
<packaging>pom</packaging>
<name>Spring Boot Starter Parent</name>
<description>Parent pom providing dependency and plugin management for
applications
built with Maven</description>
<properties>
<java.version>1.8</java.version>
<resource.delimiter>@</resource.delimiter> <!-- delimiter that doesn't
clash with Spring ${} placeholders -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</
project.reporting.outputEncoding>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
</properties>
...
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/application*.yml</include>
<include>**/application*.yaml</include>
<include>**/application*.properties</include>
</includes>
</resource>
</project>
STARTER DEPENDENCIES
jersey jersey-server
spring-boot-starter-
spring-boot-actuator, micrometer-core
actuator
spring-boot-starter-
spring-hateoas
hateoas
spring-boot-starter-
logback-classic, jcl-over-slf4j, jul-to-slf4j
logging
spring-boot-starter-
log4j2, log4j-slf4j-impl
log4j2
spring-boot-starter-
spring-security-web, spring-security-config
security