The parent pom spring-boot-starter-parent, contains the full dependencies (mvc, cache, jpa) and commons properties to maintain dependencies versions in a good consistency, to be used in our project or submodules.
org.springframework.boot spring-boot-starter-parent 1.4.0.RELEASE
We can manage the following things with the help of parent pom:
- Configuration: It maintains Java Version and Other Properties
- Dependency Management: It maintains Version of dependencies
- Default Plugin Configuration
It inherits dependency management from spring-boot-dependencies.
We can add some starters in your pom.xml depending on our need like web, jpa, batch etc.
org.springframework.boot spring-boot-starter-parent 1.4.0.RELEASE org.springframework.boot spring-boot-starter-web