各种Spring Data Rest artifactids有什么区别?

时间:2016-10-06 20:35:53

标签: java spring rest spring-mvc

我具体谈到以下内容。

  <dependency>
     <groupId>org.springframework.boot</groupId>
     <artifactId>spring-boot-starter-data-rest</artifactId>
  </dependency>

  <dependency>
     <groupId>org.springframework.data</groupId>
     <artifactId>spring-data-rest-webmvc</artifactId>
     <version>2.5.4.RELEASE</version>
  </dependency>

  <dependency>
     <groupId>org.springframework.data</groupId>
     <artifactId>spring-data-rest-core</artifactId>
     <version>2.5.4.RELEASE</version>
  </dependency>

文档herespring-boot-starter-data-restspring-data-rest-webmvc之间的差异不是很清楚。差异本质上只是spring-boot-starter-data-rest工件中包含的spring boot自动配置?

我认为他们都会在某些时候包含spring-data-rest-core?我如何知道Spring-boot-start-data-rest将使用哪个版本的Spring Data REST WebMVC?

我发现了这个similar question,但没有直接回答我的问题。

0 个答案:

没有答案