From edf32fe503fecc84b37716a585b9283f92e31549 Mon Sep 17 00:00:00 2001 From: Klara Date: Thu, 26 Aug 2021 11:59:36 +0200 Subject: [PATCH] Bom should not have a parent (#364) * bom should not have a parent * Move dependecyManagement of apollo-bom to apollo-parent --- apollo-api-impl/pom.xml | 12 ------------ apollo-api/pom.xml | 12 ------------ apollo-bom/pom.xml | 32 ++++++++++++++++---------------- apollo-core/pom.xml | 12 ------------ apollo-entity/pom.xml | 12 ------------ apollo-environment/pom.xml | 12 ------------ apollo-extra/pom.xml | 11 ----------- apollo-route/pom.xml | 12 ------------ apollo-test/pom.xml | 12 ------------ modules/metrics/pom.xml | 12 ------------ modules/okhttp-client/pom.xml | 12 ------------ pom.xml | 7 +++++++ 12 files changed, 23 insertions(+), 135 deletions(-) diff --git a/apollo-api-impl/pom.xml b/apollo-api-impl/pom.xml index 4ae386a6..8d0310ee 100644 --- a/apollo-api-impl/pom.xml +++ b/apollo-api-impl/pom.xml @@ -12,18 +12,6 @@ apollo-api-impl jar - - - - com.spotify - apollo-bom - ${project.parent.version} - pom - import - - - - com.spotify diff --git a/apollo-api/pom.xml b/apollo-api/pom.xml index 3a7bd465..e6ae54e5 100644 --- a/apollo-api/pom.xml +++ b/apollo-api/pom.xml @@ -12,18 +12,6 @@ apollo-api jar - - - - com.spotify - apollo-bom - ${project.parent.version} - pom - import - - - - com.google.guava diff --git a/apollo-bom/pom.xml b/apollo-bom/pom.xml index 002f6272..64f41bc3 100644 --- a/apollo-bom/pom.xml +++ b/apollo-bom/pom.xml @@ -2,15 +2,11 @@ 4.0.0 - - com.spotify - apollo-parent - 1.19.2-SNAPSHOT - - Spotify Apollo Bill of Materials + com.spotify apollo-bom + 1.19.2-SNAPSHOT pom @@ -18,55 +14,55 @@ com.spotify apollo-core - ${project.parent.version} + ${project.version} com.spotify apollo-okhttp-client - ${project.parent.version} + ${project.version} com.spotify apollo-api - ${project.parent.version} + ${project.version} com.spotify apollo-api-impl - ${project.parent.version} + ${project.version} com.spotify apollo-environment - ${project.parent.version} + ${project.version} com.spotify apollo-route - ${project.parent.version} + ${project.version} com.spotify apollo-extra - ${project.parent.version} + ${project.version} com.spotify apollo-entity - ${project.parent.version} + ${project.version} com.spotify apollo-metrics - ${project.parent.version} + ${project.version} com.spotify apollo-test - ${project.parent.version} + ${project.version} @@ -76,5 +72,9 @@ ossrh https://s01.oss.sonatype.org/content/repositories/snapshots + + ossrh + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + diff --git a/apollo-core/pom.xml b/apollo-core/pom.xml index c34a7f36..83712a52 100644 --- a/apollo-core/pom.xml +++ b/apollo-core/pom.xml @@ -12,18 +12,6 @@ apollo-core jar - - - - com.spotify - apollo-bom - ${project.parent.version} - pom - import - - - - org.slf4j diff --git a/apollo-entity/pom.xml b/apollo-entity/pom.xml index 1d990efb..a758c8e1 100644 --- a/apollo-entity/pom.xml +++ b/apollo-entity/pom.xml @@ -12,18 +12,6 @@ apollo-entity jar - - - - com.spotify - apollo-bom - ${project.parent.version} - pom - import - - - - com.spotify diff --git a/apollo-environment/pom.xml b/apollo-environment/pom.xml index 8ccda937..7b7962e4 100644 --- a/apollo-environment/pom.xml +++ b/apollo-environment/pom.xml @@ -13,18 +13,6 @@ apollo-environment jar - - - - com.spotify - apollo-bom - ${project.parent.version} - pom - import - - - - com.spotify diff --git a/apollo-extra/pom.xml b/apollo-extra/pom.xml index a4fd72fb..6e7283b6 100644 --- a/apollo-extra/pom.xml +++ b/apollo-extra/pom.xml @@ -12,17 +12,6 @@ apollo-extra jar - - - - com.spotify - apollo-bom - ${project.parent.version} - pom - import - - - diff --git a/apollo-route/pom.xml b/apollo-route/pom.xml index 2c6d22e7..52c4fc62 100644 --- a/apollo-route/pom.xml +++ b/apollo-route/pom.xml @@ -12,18 +12,6 @@ apollo-route jar - - - - com.spotify - apollo-bom - ${project.parent.version} - pom - import - - - - com.spotify diff --git a/apollo-test/pom.xml b/apollo-test/pom.xml index 77968c17..eee4b102 100644 --- a/apollo-test/pom.xml +++ b/apollo-test/pom.xml @@ -12,18 +12,6 @@ apollo-test jar - - - - com.spotify - apollo-bom - ${project.parent.version} - pom - import - - - - com.spotify diff --git a/modules/metrics/pom.xml b/modules/metrics/pom.xml index 78ca8f4b..1a0886f6 100644 --- a/modules/metrics/pom.xml +++ b/modules/metrics/pom.xml @@ -13,18 +13,6 @@ apollo-metrics jar - - - - com.spotify - apollo-bom - ${project.parent.version} - pom - import - - - - com.spotify diff --git a/modules/okhttp-client/pom.xml b/modules/okhttp-client/pom.xml index f62b4ed3..8611e7d0 100644 --- a/modules/okhttp-client/pom.xml +++ b/modules/okhttp-client/pom.xml @@ -13,18 +13,6 @@ apollo-okhttp-client jar - - - - com.spotify - apollo-bom - ${project.parent.version} - pom - import - - - - com.spotify diff --git a/pom.xml b/pom.xml index 0bfd4a9b..055f39e5 100644 --- a/pom.xml +++ b/pom.xml @@ -55,6 +55,13 @@ + + com.spotify + apollo-bom + ${project.version} + pom + import + com.fasterxml.jackson jackson-bom