Skip to content

Gradle > Dependencies: (중복 선언, 버전 충돌) Jackson Annotations 2.15.2 vs. 2.18.2 #83

@merge-simpson

Description

@merge-simpson

이슈 개요

jackson-annotations 의존성은 이미 spring-boot-starter-web에 의해 제공되고 있습니다. (2.18.2 버전을 제공하려고 함.)
따라서 우리가 별도로 추가한 jackson-annotations:2.15.2 의존성이 불필요하고, 버전 충돌을 야기합니다.

작업 목록

  • jackson-annotations의 중복 선언을 제거합니다.

부연 설명

자세한 정보는 다음을 참고하세요.


의존성 분석기

인텔리제이에서 의존성 분석기(dependency analyzer)를 사용 의존성의 중복 선언을 확인할 수 있습니다.
검색 스코프를 implementationDependenciesMetaData로 필터했습니다.


Jackson Annotations

Dependency analyzer shows the duplication calling jackson annotations

우리는 이 의존성을 다음 두 경로로 추가하였습니다.
(gradle의 의존성 관리 전략 덕분에 버전 충돌을 회피할 수 있었습니다.)

  • 명시적으로 추가한 jackson-annotations:2.15.2
  • spring-boot-starter-web에서 제공하는 jackson-annotations:2.18.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions