PainIsAMaster
PainIsAMaster

Reputation: 2076

Spring Boot Starter vs Spring Core?

I'm dealing with a legacy application that I am trying to upgrade its dependencies in its pom.xml (its a Java Spring project that uses Maven). The problem is, they didn't use any starters, and explicitly declared the dependencies like hibernate, spring-batch-core and stuff like that, that is declared in the spring-boot-starter parents.

My question is, I'm trying to replace all these individual dependencies and then I came across spring-core , and I didn't see it listed in the parent spring-boot-starter (2.4.4) pom. What is this used for and is it even needed for a Spring Boot project using Spring Web and Spring Batch?

Upvotes: 0

Views: 1626

Answers (1)

PainIsAMaster
PainIsAMaster

Reputation: 2076

Per, M. Deinum:

spring-core will basically be part of most starters as that includes classes/utilities/stuff used by most of the spring framework. So is it needed yes, do you need to declare it no you don't. – M. Deinum 8 hours ago

Upvotes: 0

Related Questions