Spring Boot Starter POMs 介绍
Starter POMs是可以包含到应用中的一个方便的依赖关系描述符集合。可以获取所有Spring及相关的一站式服务,而不需要大量的依赖描述符。所有的starters遵循一个相似的命名模式:spring-boot-starter- ,在这里是一种特殊类型的应用程序。这句为官方翻译。
Spring Boot官方为了我们提供了很多的Starter Poms,具体见下表:
名称 | 描述 |
---|---|
spring-boot-starter-thymeleaf | 对Thymeleaf模板引擎的支持,Spring mvc的集成 |
spring-boot-starter-ws | 对Spring Web Services 支持,1.4建议弃用spring-boot-starter-web-services |
spring-boot-starter-data-couchbase | 对Couchbase面向文档的数据库和Spring Data Couchbase 的支持 |
spring-boot-starter-artemis | 对JMS消息使用Apache artemis |
spring-boot-starter-web-services | 对Spring web Service 支持 |
spring-boot-starter-mail | 对java.mail的支持 |
spring-boot-starter-data-redis | 对redis支持,包含Spring Data Redis 客户端 Jedis |
spring-boot-starter-web | 对web支持,包括RESTful,使用tomcat作为默认容器 |
spring-boot-starter-data-gemfire | 对Gemfire 分布式数据存储和Spring Data Gemfire支持 |
spring-boot-starter-activemq | 对activemq支持 |
spring-boot-starter-data-elasticsearch | 对elasticsearch 搜索和分析引擎支持 |
spring-boot-starter-integration | 对Spring Integration 支持 |
spring-boot-starter-test | 对Spring test支持,包括:Junit,Hamcrest,Mockito |
spring-boot-starter-hornetq | 对hornetq支持。1.4建议弃用spring-boot-starter-artemis |
spring-boot-starter-jdbc | 对tomcat 连接池与JDBC支持 |
spring-boot-starter-mobile | 对Spring mobile 支持 |
spring-boot-starter-validation | 对validation支持,使用Hibernate validation |
spring-boot-starter-hateoas | 对hateoas支持,用于构建RESTFul web应用使用Spring mvc与Spring Hateoas |
spring-boot-starter-jersey | 对jersey支持,用于构建RESTFul web应用使用JAX-RS与Jersey |
spring-boot-starter-data-neo4j | 对neo4j支持 |
spring-boot-starter-websocket | 对websocket支持 |
spring-boot-starter-aop | 对Spring AOP与aspectj AOP 支持 |
spring-boot-starter-amqp | 对Spring AMQP与Rabbit MQ支持 |
spring-boot-starter-data-cassandra | 对cassandra支持 |
spring-boot-starter-social-facebook | 对facebook支持 |
spring-boot-starter-jta-atomikos | 对atomikos JTA事务支持 |
spring-boot-starter-security | 对Spring security支持 |
spring-boot-starter-mustache | 对mustache支持 |
spring-boot-starter-data-jpa | 对jpa支持 |
spring-boot-starter | 对自动配置、日志记录和YAML支持,核心starter |
spring-boot-starter-velocity | 对Velocity 模板引擎支持 |
spring-boot-starter-groovy-templates | 对MVC应用中弃用groovy模板支持 |
spring-boot-starter-freemarker | 对freemarker模板引擎支持 |
spring-boot-starter-batch | 对Spring batch支持 |
spring-boot-starter-redis | 对Redis支持,1.4建议弃用spring-boot-starter-data-redis |
spring-boot-starter-social-linkedin | 对social linkedin 支持 |
spring-boot-starter-cache | 对缓存支持 |
spring-boot-starter-data-solr | 对Apache solr支持 |
spring-boot-starter-data-mongodb | 对mongodb支持 |
spring-boot-starter-jooq | 对jooq支持,使用jooq访问数据库 |
spring-boot-starter-jta-narayana | 对JTA narayana支持 |
spring-boot-starter-cloud-connectors | 对Spring cloud连接云平台和Heroku支持 |
spring-boot-starter-jta-bitronix | 对JTA bitronix事务支持 |
spring-boot-starter-social-twitter | 对social twitter支持 |
spring-boot-starter-data-rest | 通过Spring-data-rest-webmvc将Spring Data Repository暴露为REST服务 |
准生产特性的Starter | |
spring-boot-starter-actuator | 对准特性支持,生产监控和管理您的应用程序 |
spring-boot-starter-remote-shell | 对远程ssh shell支持 |
排除或替换技术类的Starter | |
spring-boot-starter-undertow | 对undertow支持,作为tomcat替代 |
spring-boot-starter-jetty | 对jetty支持,作为tomcat替代 |
spring-boot-starter-logging | 对logBack支持,Spring Boot默认的日志 |
spring-boot-starter-tomcat | 对tomcat的支持,Spring Boot默认的容器 |
spring-boot-starter-log4j2 | 对log4j2的支持 |