![]() ![]() Spring Boot is built with Gradle which, unlike Maven, completely separates the configuration needed by the build system to build the project and the information needed by a build system to consume the project. But since it is not present, I am wondering how spring boot team publishes there artifacts to maven central repo. You can learn more about this conditional activation and auto-configuration in the reference documentation.Īnd I use maven, so I was expecting atleast a pom.xml in these projects. ![]() The code in these two modules is activated automatically when the dependencies that it requires are on the classpath. For more production-focused features, you'll also find some code in spring-boot-actuator-autoconfigure. The majority of the code can be found in spring-boot-autoconfigure. Where the actual source code can be found You can learn a bit more about the starters in the reference documentation. For example, if you want to write a Servlet-based web application using Spring MVC and Tomcat, a single dependency on spring-boot-starter-web provides all of the dependencies that you need. Spring Boot's starter modules exist purely to being multiple dependencies together into a convenient "package". ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |