From 22afe401ca130eba6543f740039e8a3c13d11861 Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Tue, 2 Apr 2024 15:15:39 +0100 Subject: Dependency management update - including dependencies to pom.xml files only where they are used, avoiding extra dependencies being added in all packages. Issue-ID: POLICY-4945 Change-Id: I85b18befe3fe2877c754b1ac818d1b4994f9f7f9 Signed-off-by: adheli.tavares --- models-interactions/model-impl/aai/pom.xml | 14 +++++++++++++ models-interactions/model-impl/appc/pom.xml | 17 +++++++++++++++- models-interactions/model-impl/appclcm/pom.xml | 18 ++++++++++++++++- models-interactions/model-impl/cds/pom.xml | 17 +++++++++++++++- models-interactions/model-impl/events/pom.xml | 21 ++++++++++++++++++- models-interactions/model-impl/guard/pom.xml | 13 +++++++++++- models-interactions/model-impl/rest/pom.xml | 28 +++++++++++++++++++++++--- models-interactions/model-impl/sdnc/pom.xml | 7 ++++++- models-interactions/model-impl/sdnr/pom.xml | 16 ++++++++++++++- models-interactions/model-impl/so/pom.xml | 5 +++++ 10 files changed, 146 insertions(+), 10 deletions(-) (limited to 'models-interactions/model-impl') diff --git a/models-interactions/model-impl/aai/pom.xml b/models-interactions/model-impl/aai/pom.xml index 967487007..92251fe5a 100644 --- a/models-interactions/model-impl/aai/pom.xml +++ b/models-interactions/model-impl/aai/pom.xml @@ -38,6 +38,15 @@ gson provided + + org.json + json + + + org.onap.policy.common + utils + ${policy.common.version} + org.onap.policy.models.policy-models-interactions.model-impl rest @@ -64,5 +73,10 @@ + + org.mockito + mockito-core + test + diff --git a/models-interactions/model-impl/appc/pom.xml b/models-interactions/model-impl/appc/pom.xml index 99d774ddd..963a7885c 100644 --- a/models-interactions/model-impl/appc/pom.xml +++ b/models-interactions/model-impl/appc/pom.xml @@ -3,7 +3,7 @@ appc ================================================================================ Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. - Modifications Copyright (C) 2019, 2023 Nordix Foundation. + Modifications Copyright (C) 2019, 2023-2024 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -33,10 +33,25 @@ appc + + org.onap.policy.common + gson + ${policy.common.version} + com.google.code.gson gson provided + + org.projectlombok + lombok + provided + + + org.assertj + assertj-core + test + diff --git a/models-interactions/model-impl/appclcm/pom.xml b/models-interactions/model-impl/appclcm/pom.xml index 7abb6c5cb..e009e6b1f 100644 --- a/models-interactions/model-impl/appclcm/pom.xml +++ b/models-interactions/model-impl/appclcm/pom.xml @@ -3,7 +3,7 @@ appclcm ================================================================================ Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. - Modifications Copyright (C) 2019, 2023 Nordix Foundation. + Modifications Copyright (C) 2019, 2023-2024 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -33,11 +33,27 @@ appclcm + + org.onap.policy.common + gson + ${policy.common.version} + + + org.onap.policy.common + utils-test + ${policy.common.version} + test + com.google.code.gson gson provided + + org.projectlombok + lombok + provided + diff --git a/models-interactions/model-impl/cds/pom.xml b/models-interactions/model-impl/cds/pom.xml index 746092cc3..ad0b5936f 100644 --- a/models-interactions/model-impl/cds/pom.xml +++ b/models-interactions/model-impl/cds/pom.xml @@ -3,7 +3,7 @@ ============LICENSE_START======================================================= Copyright (C) 2019-2021 Bell Canada. Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. - Modifications Copyright (C) 2023 Nordix Foundation. + Modifications Copyright (C) 2023-2024 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -62,5 +62,20 @@ policy-endpoints ${policy.common.version} + + org.onap.policy.common + utils + ${policy.common.version} + + + org.assertj + assertj-core + test + + + org.mockito + mockito-core + test + diff --git a/models-interactions/model-impl/events/pom.xml b/models-interactions/model-impl/events/pom.xml index 0456814e8..fdfd18527 100644 --- a/models-interactions/model-impl/events/pom.xml +++ b/models-interactions/model-impl/events/pom.xml @@ -3,7 +3,7 @@ events in model-impl ================================================================================ Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. - Modifications Copyright (C) 2019, 2023 Nordix Foundation. + Modifications Copyright (C) 2019, 2023-2024 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -33,10 +33,29 @@ events + + org.onap.policy.common + gson + ${policy.common.version} + + + org.apache.commons + commons-lang3 + com.google.code.gson gson provided + + org.projectlombok + lombok + provided + + + org.assertj + assertj-core + test + diff --git a/models-interactions/model-impl/guard/pom.xml b/models-interactions/model-impl/guard/pom.xml index 0923206dd..a7a8a86c2 100644 --- a/models-interactions/model-impl/guard/pom.xml +++ b/models-interactions/model-impl/guard/pom.xml @@ -3,7 +3,7 @@ ONAP ================================================================================ Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. - Modifications Copyright (C) 2023 Nordix Foundation. + Modifications Copyright (C) 2023-2024 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -30,5 +30,16 @@ guard + + + jakarta.persistence + jakarta.persistence-api + + + org.projectlombok + lombok + provided + + diff --git a/models-interactions/model-impl/rest/pom.xml b/models-interactions/model-impl/rest/pom.xml index 711c35775..23965968d 100644 --- a/models-interactions/model-impl/rest/pom.xml +++ b/models-interactions/model-impl/rest/pom.xml @@ -3,7 +3,7 @@ rest ================================================================================ Copyright (C) 2017-2021 AT&T Intellectual Property. All rights reserved. - Modifications Copyright (C) 2019, 2023 Nordix Foundation. + Modifications Copyright (C) 2019, 2023-2024 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -33,14 +33,36 @@ rest + + org.onap.policy.common + utils + ${policy.common.version} + com.google.code.gson gson provided - org.apache.httpcomponents.client5 - httpclient5 + org.apache.httpcomponents + httpclient + + + org.apache.commons + commons-lang3 + + + org.glassfish.jersey.inject + jersey-hk2 + ${version.jersey} + + + org.glassfish.jaxb + jaxb-runtime + + + org.projectlombok + lombok provided diff --git a/models-interactions/model-impl/sdnc/pom.xml b/models-interactions/model-impl/sdnc/pom.xml index 64fb6c6ed..067fdec5e 100644 --- a/models-interactions/model-impl/sdnc/pom.xml +++ b/models-interactions/model-impl/sdnc/pom.xml @@ -2,7 +2,7 @@ ============LICENSE_START======================================================= Copyright (C) 2018 Huawei. All rights reserved. Modifications Copyright (C) 2018-2020 AT&T Intellectual Property. All rights reserved. - Modifications Copyright (C) 2019, 2023 Nordix Foundation. + Modifications Copyright (C) 2019, 2023-2024 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -41,6 +41,11 @@ rest ${project.version} + + org.projectlombok + lombok + provided + org.onap.policy.common policy-endpoints diff --git a/models-interactions/model-impl/sdnr/pom.xml b/models-interactions/model-impl/sdnr/pom.xml index 0ab5ad0db..3a5944b50 100644 --- a/models-interactions/model-impl/sdnr/pom.xml +++ b/models-interactions/model-impl/sdnr/pom.xml @@ -4,7 +4,7 @@ ================================================================================ Copyright (C) 2018 Wipro Limited Intellectual Property. All rights reserved. Modifications Copyright (C) 2018-2020 AT&T Intellectual Property. All rights reserved. - Modifications Copyright (C) 2019, 2023 Nordix Foundation. + Modifications Copyright (C) 2019, 2023-2024 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -34,10 +34,24 @@ sdnr + + org.onap.policy.common + gson + ${policy.common.version} + com.google.code.gson gson provided + + org.projectlombok + lombok + provided + + + org.assertj + assertj-core + diff --git a/models-interactions/model-impl/so/pom.xml b/models-interactions/model-impl/so/pom.xml index 31f9cf66c..2658b7c25 100644 --- a/models-interactions/model-impl/so/pom.xml +++ b/models-interactions/model-impl/so/pom.xml @@ -55,5 +55,10 @@ ${version.jersey} test + + com.openpojo + openpojo + test + -- cgit