From 1304dc43d32919bbe1111b967ed22e009bfd7c48 Mon Sep 17 00:00:00 2001 From: Robin Syl Date: Sun, 10 Jul 2022 14:18:46 +0200 Subject: [PATCH] Replace dependency definitions with BOMs where possible --- pom.xml | 57 ++++++++---------------- telegrambots-spring-boot-starter/pom.xml | 15 +++++-- 2 files changed, 30 insertions(+), 42 deletions(-) diff --git a/pom.xml b/pom.xml index 29fa0b0ea..37cbd6ac8 100644 --- a/pom.xml +++ b/pom.xml @@ -69,8 +69,6 @@ 5.9.1 4.8.1 - 4.8.1 - 2.14.0 2.14.0 2.0.3 2.1.1 @@ -81,55 +79,39 @@ + - org.projectlombok - lombok - ${lombok.version} - provided - - - org.junit.jupiter - junit-jupiter-api - ${junit.version} - test + com.fasterxml.jackson + jackson-bom + ${jackson.version} + pom + import org.mockito - mockito-core + mockito-bom ${mockito.version} - test + pom + import - org.mockito - mockito-junit-jupiter - ${mockito.version} - test + org.junit + junit-bom + ${junit.version} + pom + import - com.fasterxml.jackson.core - jackson-annotations - ${jacksonanotation.version} + org.projectlombok + lombok + ${lombok.version} + provided com.google.guava guava ${guava.version} - - com.fasterxml.jackson.module - jackson-module-jaxb-annotations - ${jacksonanotation.version} - - - com.fasterxml.jackson.jaxrs - jackson-jaxrs-json-provider - ${jacksonanotation.version} - - - com.fasterxml.jackson.core - jackson-databind - ${jackson.version} - org.slf4j slf4j-api @@ -154,21 +136,18 @@ org.mockito mockito-core - ${mockito.version} test org.mockito mockito-junit-jupiter - ${mockitojupiter.version} test org.junit.jupiter junit-jupiter-engine - ${junit.version} test diff --git a/telegrambots-spring-boot-starter/pom.xml b/telegrambots-spring-boot-starter/pom.xml index 7103c81e2..7d761ed4c 100644 --- a/telegrambots-spring-boot-starter/pom.xml +++ b/telegrambots-spring-boot-starter/pom.xml @@ -86,6 +86,18 @@ 3.10.1 + + + + org.springframework.boot + spring-boot-dependencies + ${spring-boot.version} + pom + import + + + + @@ -96,19 +108,16 @@ org.springframework.boot spring-boot - ${spring-boot.version} org.springframework.boot spring-boot-autoconfigure - ${spring-boot.version} org.springframework.boot spring-boot-starter-test - ${spring-boot.version} test