From 32bc41230740115ec079f3780820bbd5ae07e6d3 Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Tue, 2 Apr 2024 15:12:31 +0100 Subject: Dependency management update - including dependencies to pom.xml files only where they are used, avoiding extra dependencies being added in all modules. Issue-ID: POLICY-4945 Change-Id: If67059ecba32f406a5aa1148685584419d637877 Signed-off-by: adheli.tavares --- common/pom.xml | 44 +++++- models/pom.xml | 57 ++++++- .../participant-impl-a1pms/pom.xml | 15 +- .../participant-impl-acelement/pom.xml | 17 ++- .../participant-impl/participant-impl-http/pom.xml | 11 +- .../participant-impl-kserve/pom.xml | 8 +- .../participant-impl-kubernetes/pom.xml | 23 ++- .../participant-impl-policy/pom.xml | 18 ++- .../participant-impl-simulator/pom.xml | 32 +++- participant/participant-impl/pom.xml | 44 +++++- participant/participant-intermediary/pom.xml | 44 +++++- participant/pom.xml | 23 ++- pom.xml | 170 --------------------- runtime-acm/pom.xml | 111 +++++++++++++- .../commissioning/CommissioningProvider.java | 2 - 15 files changed, 430 insertions(+), 189 deletions(-) diff --git a/common/pom.xml b/common/pom.xml index 35fa427cd..63182d2af 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -1,7 +1,7 @@ diff --git a/participant/participant-impl/participant-impl-policy/pom.xml b/participant/participant-impl/participant-impl-policy/pom.xml index 044703d1c..f43aea6d0 100644 --- a/participant/participant-impl/participant-impl-policy/pom.xml +++ b/participant/participant-impl/participant-impl-policy/pom.xml @@ -1,6 +1,6 @@ + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 @@ -51,5 +51,43 @@ policy-clamp-participant-intermediary ${project.version} + + org.springframework.boot + spring-boot-starter-webflux + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-actuator + + + org.springframework.boot + spring-boot-starter-aop + + + io.micrometer + micrometer-core + + + io.micrometer + micrometer-registry-prometheus + + + org.springframework.boot + spring-boot-starter-security + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.jupiter + junit-jupiter-engine + test + diff --git a/participant/participant-intermediary/pom.xml b/participant/participant-intermediary/pom.xml index 5f1d5bb08..a8ce4dbaa 100644 --- a/participant/participant-intermediary/pom.xml +++ b/participant/participant-intermediary/pom.xml @@ -19,7 +19,7 @@ --> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 @@ -31,6 +31,46 @@ policy-clamp-participant-intermediary ${project.artifactId} Common intermediary library for managing Kafka participant messaging and holding participant and - Automation Composition state + Automation Composition state + + + + org.onap.policy.common + policy-endpoints + ${policy.common.version} + + + io.micrometer + micrometer-core + + + org.springframework.boot + spring-boot-starter-validation + + + io.opentelemetry + opentelemetry-context + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.mockito + mockito-junit-jupiter + test + + + org.assertj + assertj-core + test + + + org.springframework.boot + spring-boot-starter-test + test + + diff --git a/participant/pom.xml b/participant/pom.xml index dd646c462..89d28192c 100644 --- a/participant/pom.xml +++ b/participant/pom.xml @@ -1,7 +1,7 @@