Wednesday, October 30, 2019

Spring Boot: Starter Annotations

Almost all of us developers have faced this issue, to add all dependencies for a particular project.

What strategy generally I use to follow, go to maven repo, copy required maven/gradle dependency string and  past into POM/build

isn't it good if we can centralize everything at a single place and add that as a parent in our POM ?

Many must have already done this, but in their own different way.

If Spring itself provides some parent POM which accumulate everything at a single place.
Just by adding that dependency in project POM, everything gets added.

All these POM's are called STARTERS.

Based on the requirement we can add appropriate Starter POM and all related dependencies will be added to our project

List of all starter POM's


spring-boot-starter-actuator
spring-boot-starter-amqp
spring-boot-starter-aop
spring-boot-starter-artemis
spring-boot-starter-batch
spring-boot-starter-cache
spring-boot-starter-cloud-connectors
spring-boot-starter-data-cassandra-reactive
spring-boot-starter-data-cassandra
spring-boot-starter-data-couchbase-reactive
spring-boot-starter-data-couchbase
spring-boot-starter-data-elasticsearch
spring-boot-starter-data-jdbc
spring-boot-starter-data-jpa
spring-boot-starter-data-ldap
spring-boot-starter-data-mongodb-reactive
spring-boot-starter-data-mongodb
spring-boot-starter-data-neo4j
spring-boot-starter-data-redis-reactive
spring-boot-starter-data-redis
spring-boot-starter-data-rest
spring-boot-starter-data-solr
spring-boot-starter-freemarker
spring-boot-starter-groovy-templates
spring-boot-starter-hateoas
spring-boot-starter-integration
spring-boot-starter-jdbc
spring-boot-starter-jersey
spring-boot-starter-jetty
spring-boot-starter-jooq
spring-boot-starter-json
spring-boot-starter-jta-atomikos
spring-boot-starter-jta-bitronix
spring-boot-starter-log4j2
spring-boot-starter-logging
spring-boot-starter-mail
spring-boot-starter-mustache
spring-boot-starter-oauth2-client
spring-boot-starter-oauth2-resource-server
spring-boot-starter-parent
spring-boot-starter-quartz
spring-boot-starter-reactor-netty
spring-boot-starter-rsocket
spring-boot-starter-security
spring-boot-starter-test
spring-boot-starter-thymeleaf
spring-boot-starter-tomcat
spring-boot-starter-undertow
spring-boot-starter-validation
spring-boot-starter-web-services
spring-boot-starter-web
spring-boot-starter-webflux
spring-boot-starter-websocket
spring-boot-starter
spring-boot-starter-activemq

No comments: