From decd2dff3b5b8aff53be52c825e45186d5c16e99 Mon Sep 17 00:00:00 2001 From: vempo Date: Mon, 23 Jul 2018 19:07:37 +0300 Subject: Removed forced dependencies in common Moved dependencies from "dependencies" to "dependencyManagement" so that they aren't inherited unconditionally to child modules. Organized and cleaned up dependencies, aligned versions. Change-Id: I27c7792135ec5b7b2b5b49527bc0ac0d09b024b1 Issue-ID: SDC-1065 Signed-off-by: vempo --- .../src/test/resources/logback-test.xml | 13 +++ .../src/test/resources/logback-test.xml | 15 +++ .../src/test/resources/logback.xml | 15 --- openecomp-be/lib/openecomp-common-lib/pom.xml | 15 ++- .../openecomp-item-permissions-core/pom.xml | 11 ++- .../openecomp-sdc-action-api/pom.xml | 8 +- .../src/test/resources/logback-test.xml | 13 +++ .../src/test/resources/logback.xml | 13 --- .../src/test/resources/logback-test.xml | 13 +++ .../src/test/resources/logback.xml | 13 --- .../openecomp-sdc-logging-core/pom.xml | 5 - .../openecomp-sdc-notification-worker/pom.xml | 14 +-- .../src/test/resources/logback-test.xml | 13 +++ .../src/test/resources/logback.xml | 13 --- openecomp-be/pom.xml | 107 ++++----------------- 15 files changed, 115 insertions(+), 166 deletions(-) create mode 100644 openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/resources/logback-test.xml create mode 100644 openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/logback-test.xml delete mode 100644 openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/logback.xml create mode 100644 openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-core/src/test/resources/logback-test.xml delete mode 100644 openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-core/src/test/resources/logback.xml create mode 100644 openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/logback-test.xml delete mode 100644 openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/logback.xml create mode 100644 openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/resources/logback-test.xml delete mode 100644 openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/resources/logback.xml (limited to 'openecomp-be') diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/resources/logback-test.xml b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/resources/logback-test.xml new file mode 100644 index 0000000000..278f2ac6ec --- /dev/null +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vnf-repository-rest-services/src/test/resources/logback-test.xml @@ -0,0 +1,13 @@ + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + \ No newline at end of file diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/logback-test.xml b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/logback-test.xml new file mode 100644 index 0000000000..c1932e31e8 --- /dev/null +++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/logback-test.xml @@ -0,0 +1,15 @@ + + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + \ No newline at end of file diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/logback.xml b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/logback.xml deleted file mode 100644 index c1932e31e8..0000000000 --- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/logback.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n - - - - - - - - \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-common-lib/pom.xml b/openecomp-be/lib/openecomp-common-lib/pom.xml index 87f0482b80..28d81cbed7 100644 --- a/openecomp-be/lib/openecomp-common-lib/pom.xml +++ b/openecomp-be/lib/openecomp-common-lib/pom.xml @@ -1,5 +1,6 @@ + 4.0.0 org.openecomp.sdc.core @@ -27,27 +28,33 @@ javax.ws.rs javax.ws.rs-api - 2.1-m05 + provided ch.qos.logback logback-classic - ${logback.version} + runtime commons-io commons-io - 2.5 org.apache.commons commons-lang3 - ${commons.lang3.version} org.apache.commons commons-text + + com.fasterxml.jackson.core + jackson-core + + + com.fasterxml.jackson.core + jackson-databind + com.amdocs.zusammen zusammen-datatypes diff --git a/openecomp-be/lib/openecomp-item-permissions-lib/openecomp-item-permissions-core/pom.xml b/openecomp-be/lib/openecomp-item-permissions-lib/openecomp-item-permissions-core/pom.xml index 751b3a9be0..092338fb2d 100644 --- a/openecomp-be/lib/openecomp-item-permissions-lib/openecomp-item-permissions-core/pom.xml +++ b/openecomp-be/lib/openecomp-item-permissions-lib/openecomp-item-permissions-core/pom.xml @@ -2,14 +2,13 @@ - 4.0.0 + 4.0.0 org.openecomp.sdc openecomp-item-permissions-lib 1.3.0-SNAPSHOT - .. openecomp-item-permissions-core @@ -19,7 +18,11 @@ javax.servlet javax.servlet-api - ${servlet-api.version} + provided + + + javax.ws.rs + javax.ws.rs-api provided @@ -50,14 +53,12 @@ org.mockito mockito-all - ${mockito.all.version} test org.testng testng test - ${testng.version} diff --git a/openecomp-be/lib/openecomp-sdc-action-lib/openecomp-sdc-action-api/pom.xml b/openecomp-be/lib/openecomp-sdc-action-lib/openecomp-sdc-action-api/pom.xml index 4eb91f40ec..9ae7232901 100644 --- a/openecomp-be/lib/openecomp-sdc-action-lib/openecomp-sdc-action-api/pom.xml +++ b/openecomp-be/lib/openecomp-sdc-action-lib/openecomp-sdc-action-api/pom.xml @@ -2,9 +2,9 @@ + 4.0.0 - org.openecomp.sdc openecomp-sdc-action-api @@ -38,7 +38,11 @@ com.fasterxml.jackson.core jackson-annotations - ${jackson.annotations.version} + + + javax.ws.rs + javax.ws.rs-api + provided diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-core/src/test/resources/logback-test.xml b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-core/src/test/resources/logback-test.xml new file mode 100644 index 0000000000..03ce9d1243 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-core/src/test/resources/logback-test.xml @@ -0,0 +1,13 @@ + + + + + + %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + + + + + + + \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-core/src/test/resources/logback.xml b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-core/src/test/resources/logback.xml deleted file mode 100644 index 03ce9d1243..0000000000 --- a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-core/src/test/resources/logback.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n - - - - - - - \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/logback-test.xml b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/logback-test.xml new file mode 100644 index 0000000000..31672ca4d9 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/logback-test.xml @@ -0,0 +1,13 @@ + + + + + + %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + + + + + + + \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/logback.xml b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/logback.xml deleted file mode 100644 index 31672ca4d9..0000000000 --- a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/logback.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n - - - - - - - \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-logging-lib/openecomp-sdc-logging-core/pom.xml b/openecomp-be/lib/openecomp-sdc-logging-lib/openecomp-sdc-logging-core/pom.xml index b30857620a..a960e67898 100644 --- a/openecomp-be/lib/openecomp-sdc-logging-lib/openecomp-sdc-logging-core/pom.xml +++ b/openecomp-be/lib/openecomp-sdc-logging-lib/openecomp-sdc-logging-core/pom.xml @@ -26,11 +26,6 @@ ch.qos.logback logback-classic - - 1.2.3 provided diff --git a/openecomp-be/lib/openecomp-sdc-notification-lib/openecomp-sdc-notification-worker/pom.xml b/openecomp-be/lib/openecomp-sdc-notification-lib/openecomp-sdc-notification-worker/pom.xml index d39c5c5cb7..b93d9566c7 100644 --- a/openecomp-be/lib/openecomp-sdc-notification-lib/openecomp-sdc-notification-worker/pom.xml +++ b/openecomp-be/lib/openecomp-sdc-notification-lib/openecomp-sdc-notification-worker/pom.xml @@ -37,7 +37,6 @@ com.google.code.gson gson - 2.3.1 com.googlecode.json-simple @@ -56,17 +55,20 @@ ${http.core.version} provided + + javax.ws.rs + javax.ws.rs-api + provided + - com.datastax.cassandra - cassandra-driver-core - 3.4.0 - test + com.datastax.cassandra + cassandra-driver-core + test junit junit test - ${junit.version} diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/resources/logback-test.xml b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/resources/logback-test.xml new file mode 100644 index 0000000000..03ce9d1243 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/resources/logback-test.xml @@ -0,0 +1,13 @@ + + + + + + %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + + + + + + + \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/resources/logback.xml b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/resources/logback.xml deleted file mode 100644 index 03ce9d1243..0000000000 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/resources/logback.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n - - - - - - - \ No newline at end of file diff --git a/openecomp-be/pom.xml b/openecomp-be/pom.xml index 492d0e0a28..e93576a803 100644 --- a/openecomp-be/pom.xml +++ b/openecomp-be/pom.xml @@ -3,7 +3,6 @@ 4.0.0 openecomp-sdc - org.openecomp.sdc openecomp-sdc pom @@ -13,23 +12,15 @@ org.openecomp.sdc sdc-onboarding 1.3.0-SNAPSHOT - ../onboarding + ../onboarding/pom.xml - - com.fasterxml.jackson.core - jackson-annotations - ${jackson.version} - - - org.togglz togglz-core ${togglz.version} - org.togglz togglz-testing @@ -120,7 +111,8 @@ ${project.build.directory}/generated-sources ${project} - org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat + org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat + @@ -194,10 +186,15 @@ ${project.build.directory}/pmd.txt ${project.build.directory}/pmd/pmd.csv org.openecomp.sdc:build-data-installer - org.openecomp.sdc:sdc-onboarding/target/build-data/pmdState.dat + org.openecomp.sdc:sdc-onboarding/target/build-data/pmdState.dat + ${project.build.outputDirectory}/pmd.dat - ${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst - ${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst + + ${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst + + + ${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst + @@ -219,9 +216,12 @@ ${mvn.license.version} false - ============LICENSE_START======================================================= - ============LICENSE_END========================================================= - ================================================================================ + ============LICENSE_START======================================================= + + ============LICENSE_END========================================================= + + ================================================================================ + apache_v2 2017 AT&T Intellectual Property. All rights reserved. @@ -288,72 +288,6 @@ - - - - - - commons-beanutils - commons-beanutils - ${commons.beanutils.version} - - - - com.beust - jcommander - ${jcommander.version} - - - - org.apache.httpcomponents - httpasyncclient - ${httpasyncclient.version} - - - - com.sun.xml.bind - jaxb-impl - ${jaxb.impl.version} - - - - org.beanshell - bsh - ${bsh.version} - - - - commons-digester - commons-digester - ${commons.digester.version} - - - - com.fasterxml - classmate - ${classmate.version} - - - - - org.slf4j - slf4j-api - ${slf4j.version} - - - org.codehaus.groovy - groovy-all - ${groovy.version} - - - org.codehaus.janino - janino - ${janino.version} - provided - - - - /api /lib @@ -362,13 +296,6 @@ /backend - - - - - - - docker -- cgit 1.2.3-korg