maven spring-boot-starter-parent

Maven spring-boot-starter-parent

The spring-boot-starter-parent is a project starter. It provides default configurations for our applications.

Spring Boot Starter Parent is a starter project that provides the default configuration for spring-based applications. It is added as a parent in the pom. The spring-boot-starter-parent defines spring-boot-dependencies as its parent. The spring-boot-starter-parent inherits dependency management from spring-boot-dependencies. Every Spring Boot release provides a list of dependencies and the latest versions it supports. The following are the features of the starter parent project:.

Maven spring-boot-starter-parent

.

Campus Experiences.

.

This guide will help you understand how Spring Boot Starter Parent helps with managing dependency versions, the java version used by project and the default configuration for plug-ins. First and foremost, Spring Boot Starter The parent pom defines spring-boot-dependencies. Details in the next section. Default java version is 1. A few other settings related to encoding and source, target version are also set in the parent pom. Spring Boot Starter Parent specifies the default configuration for a host of plugins including maven-compiler-plugin , maven-failsafe-plugin , maven-jar-plugin , maven-war-plugin and more.

Maven spring-boot-starter-parent

.

Antares tires review

Related Articles. Admission Experiences. Last Updated : 28 Jul, Contribute your expertise and make a difference in the GeeksforGeeks portal. This article is being improved by another user right now. Change Language. We can override those property values inside the pom. What kind of Experience do you want to share? Verbal Ability. Data Structures.

.

The spring-boot-starter-parent inherits dependency management from spring-boot-dependencies. Like Article. Software Engineering. The spring-boot-starter-parent defines spring-boot-dependencies as its parent. Contribute to the GeeksforGeeks community and help create better learning resources for all. Interview Experiences. What kind of Experience do you want to share? Python Pillow. Create Improvement. Computer Network. The following code has to be added in the pom. However, we can still benefit from the dependency management feature not the plugin management provided by spring-boot-dependencies , by including the dependency inside the dependencyMangement section as an import scope. If we omit the version for a particular starter, Maven will download the jar files based on the version number defined in the parent section.

1 thoughts on “Maven spring-boot-starter-parent

  1. It is a pity, that now I can not express - I hurry up on job. But I will be released - I will necessarily write that I think on this question.

Leave a Reply

Your email address will not be published. Required fields are marked *