• Register

Share:- Whatsapp Facebook Facebook

------------------------------------- Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.


0 votes
How can we set up a Spring Boot application with Maven?
in Spring Boot by

1 Answer

0 votes
We can set up a Spring Boot application with Maven project just like we would any other library. The best way is to inherit from the spring-boot-starter-parent project and declare dependencies to Spring Boot starters. Doing this lets our project reuse the default settings of Spring Boot.

Inherit the spring-boot-starter-parent project using maven configuration file pom.xml:


Dependency management with POM element:

by (1.7k points)