Can I use Spring Boot Starters just for dependency management? -
OK, I was looking at the Spring IO platform for managing my dependencies, by then I went to the source where Until I see it uses the spring boot pom under the hood, then I was thinking, can I use the initial, because it only shortcuts to declare a dependency to the POM?
Yes, you can use the beginners.
Because I just want poms, not automatically configured by boot
then see @EnableAutoConfiguration
, and.
Because I just want poms, not embedded servlet containers
then do not use spring-boot-starter-web
starter, See the list.
If you need Spring MVC, you must declare a dependency or you use spring-boot-starter-web
but without collusion, eg
Comments
Post a Comment