본문 바로가기

Back-End

Spring Boot 특정 버전의 의존성은 어떻게 확인 할 수 있을까?

Spring Boot Version 2.0.0.RELEASE 이라고 가정하면?

1. 공식 사이트를 이용한다.

https://docs.spring.io/spring-boot/docs/current/reference/html/dependency-versions.html#dependency-versions

 

Dependency Versions

The following table provides details of all of the dependency versions that are provided by Spring Boot in its CLI (Command Line Interface), Maven dependency management, and Gradle plugin. When you declare a dependency on one of these artifacts without dec

docs.spring.io

공식 사이트를 통해 확인한다.

 

2. Maven repository 사이트를 이용한다.

https://mvnrepository.com/artifact/org.springframework.boot/spring-boot/2.0.0.RELEASE

option이 붙지 않은 부분은 필수이다. 오른쪽에서 의존성 버전을 확인할 수 있다.

 

3. Spring Boot Starter 의존성을 이용한다. 

spring-boot-starter는 사전에 미리 정의한 의존성을 제공한다. 프로젝트에 설정해야하는 다수의 의존성들을 이미 포함하고 있어 간단하게 의존성을 확인 할 수 있다. (자동)