From decd2dff3b5b8aff53be52c825e45186d5c16e99 Mon Sep 17 00:00:00 2001 From: vempo Date: Mon, 23 Jul 2018 19:07:37 +0300 Subject: [PATCH] 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 --- .../onap-configuration-management-api/pom.xml | 22 +- .../onap-configuration-management-core/pom.xml | 210 ++++--- .../onap-configuration-management-test/pom.xml | 85 ++- .../onap-sdc-artifact-generator-core/pom.xml | 220 ++++---- .../onap-sdc-artifact-generator-test/pom.xml | 103 ++-- common/pom.xml | 619 ++++++++------------- onboarding/pom.xml | 170 +++++- .../src/test/resources/logback-test.xml | 13 + .../resources/{logback.xml => logback-test.xml} | 0 openecomp-be/lib/openecomp-common-lib/pom.xml | 15 +- .../openecomp-item-permissions-core/pom.xml | 11 +- .../openecomp-sdc-action-api/pom.xml | 8 +- .../resources/{logback.xml => logback-test.xml} | 0 .../resources/{logback.xml => logback-test.xml} | 0 .../openecomp-sdc-logging-core/pom.xml | 5 - .../openecomp-sdc-notification-worker/pom.xml | 14 +- .../resources/{logback.xml => logback-test.xml} | 0 openecomp-be/pom.xml | 107 +--- 18 files changed, 778 insertions(+), 824 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 rename openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/{logback.xml => logback-test.xml} (100%) rename openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-core/src/test/resources/{logback.xml => logback-test.xml} (100%) rename openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/{logback.xml => logback-test.xml} (100%) rename openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/resources/{logback.xml => logback-test.xml} (100%) diff --git a/common/onap-common-configuration-management/onap-configuration-management-api/pom.xml b/common/onap-common-configuration-management/onap-configuration-management-api/pom.xml index 83a8215851..866371d7d9 100644 --- a/common/onap-common-configuration-management/onap-configuration-management-api/pom.xml +++ b/common/onap-common-configuration-management/onap-configuration-management-api/pom.xml @@ -1,16 +1,16 @@ - 4.0.0 + 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"> - onap-configuration-management-api - onap-configuration-management-api + 4.0.0 - - onap-common-configuration-management - org.onap.sdc.common - 1.3.0-SNAPSHOT - .. - + onap-configuration-management-api + onap-configuration-management-api + + + onap-common-configuration-management + org.onap.sdc.common + 1.3.0-SNAPSHOT + diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml b/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml index 40693df779..78c378713a 100644 --- a/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml +++ b/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml @@ -1,113 +1,111 @@ - 4.0.0 + 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"> - onap-configuration-management-core - onap-configuration-management-core + 4.0.0 - - onap-common-configuration-management - org.onap.sdc.common - 1.3.0-SNAPSHOT - .. - + onap-configuration-management-core + onap-configuration-management-core - - - com.fasterxml.jackson.core - jackson-databind - 2.5.4 - - - com.fasterxml.jackson.dataformat - jackson-dataformat-yaml - ${jackson.version} - - - org.apache.commons - commons-configuration2 - 2.1 - - - commons-logging - commons-logging - 1.2 - - - commons-beanutils - commons-beanutils - ${commons.beanutils.version} - - - org.apache.commons - commons-lang3 - 3.3.2 - - - com.github.adejanovski - cassandra-jdbc-wrapper - 3.1.0 - - - org.apache.commons - commons-dbcp2 - 2.0 - - - org.apache.commons - commons-pool2 - 2.4.2 - - - commons-io - commons-io - ${commons.io.version} - - - net.sf.corn - corn-cps - 1.1.7 - - - com.sun - tools - - - - - com.virtlink.commons - commons-configuration2-jackson - 0.6.1 - - - org.apache.logging.log4j - log4j-core - 2.7 - - - org.onap.sdc.common - onap-configuration-management-api - ${project.version} - - - javax.servlet - javax.servlet-api - ${servlet-api.version} - provided - - - com.fasterxml.jackson.core - jackson-annotations - 2.8.1 - - - junit - junit - test - ${junit.version} - + + onap-common-configuration-management + org.onap.sdc.common + 1.3.0-SNAPSHOT + - + + + com.fasterxml.jackson.core + jackson-databind + + + com.fasterxml.jackson.dataformat + jackson-dataformat-yaml + ${jackson.version} + + + org.apache.commons + commons-configuration2 + 2.1 + + + commons-logging + commons-logging + ${commons-logging} + + + commons-beanutils + commons-beanutils + ${commons.beanutils.version} + + + org.apache.commons + commons-lang3 + ${commons.lang3.version} + + + com.github.adejanovski + cassandra-jdbc-wrapper + 3.1.0 + + + org.apache.commons + commons-dbcp2 + 2.0 + + + org.apache.commons + commons-pool2 + 2.4.2 + + + commons-io + commons-io + ${commons.io.version} + + + net.sf.corn + corn-cps + 1.1.7 + + + com.sun + tools + + + + + com.virtlink.commons + commons-configuration2-jackson + 0.6.1 + + + org.apache.logging.log4j + log4j-core + 2.7 + + + org.onap.sdc.common + onap-configuration-management-api + ${project.version} + + + javax.servlet + javax.servlet-api + ${servlet-api.version} + provided + + + com.fasterxml.jackson.core + jackson-annotations + 2.8.1 + + + junit + junit + test + ${junit.version} + + diff --git a/common/onap-common-configuration-management/onap-configuration-management-test/pom.xml b/common/onap-common-configuration-management/onap-configuration-management-test/pom.xml index 700513ea5d..77e645eef2 100644 --- a/common/onap-common-configuration-management/onap-configuration-management-test/pom.xml +++ b/common/onap-common-configuration-management/onap-configuration-management-test/pom.xml @@ -1,49 +1,48 @@ - 4.0.0 + 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"> - onap-configuration-management-test - onap-configuration-management-test + 4.0.0 - - onap-common-configuration-management - org.onap.sdc.common - 1.3.0-SNAPSHOT - .. - + onap-configuration-management-test + onap-configuration-management-test - - - org.onap.sdc.common - onap-configuration-management-core - ${project.version} - - - junit - junit - ${junit.version} - test - - + + onap-common-configuration-management + org.onap.sdc.common + 1.3.0-SNAPSHOT + - - - - org.apache.maven.plugins - maven-surefire-plugin - ${mvn.surefire.version} - - true - - ${project.basedir}/src/test/resources - ${user.home}/TestResources - - - **/TestCMSuite.java - - - - - + + + org.onap.sdc.common + onap-configuration-management-core + ${project.version} + + + junit + junit + test + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${mvn.surefire.version} + + true + + ${project.basedir}/src/test/resources + ${user.home}/TestResources + + + **/TestCMSuite.java + + + + + diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/pom.xml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/pom.xml index 6e8c4d11e3..941adb8c83 100644 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/pom.xml +++ b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/pom.xml @@ -1,121 +1,113 @@ - 4.0.0 + 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"> - onap-sdc-artifact-generator-core - onap-sdc-artifact-generator-core + 4.0.0 - - onap-common-lib - org.onap.sdc.common - 1.3.0-SNAPSHOT - ../../ - + onap-sdc-artifact-generator-core + onap-sdc-artifact-generator-core - - - org.aspectj - aspectjrt - ${aspectj.version} - - - org.slf4j - slf4j-api - ${slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - provided - - - ch.qos.logback - logback-core - ${logback.version} - provided - - - com.fasterxml.jackson.core - jackson-databind - ${jackson.version} - - - com.fasterxml.jackson.dataformat - jackson-dataformat-yaml - ${jackson.version} - - - commons-codec - commons-codec - ${commons.codec.version} - - - org.openecomp.sdc - openecomp-sdc-logging-api - ${project.version} - - - org.openecomp.sdc - openecomp-sdc-logging-core - ${project.version} - runtime - - - org.onap.sdc.common - onap-sdc-artifact-generator-api - ${project.version} - - - org.testng - testng - test - ${testng.version} - - - commons-io - commons-io - ${commons.io.version} - test - - - org.reflections - reflections - ${org.reflections.version} - - - - - + + onap-common-lib + org.onap.sdc.common + 1.3.0-SNAPSHOT + ../../pom.xml + - - org.codehaus.mojo - aspectj-maven-plugin - 1.8 - - - 1.8 - 1.8 - 1.8 - - - - - compile - - test-compile - - - - - + + + org.aspectj + aspectjrt + + + org.slf4j + slf4j-api + + + com.fasterxml.jackson.core + jackson-databind + + + com.fasterxml.jackson.core + jackson-annotations + + + com.fasterxml.jackson.dataformat + jackson-dataformat-yaml + + + commons-codec + commons-codec + + + org.openecomp.sdc + openecomp-sdc-logging-api + ${project.version} + + + org.openecomp.sdc + openecomp-sdc-logging-core + ${project.version} + runtime + + + org.onap.sdc.common + onap-sdc-artifact-generator-api + ${project.version} + + + org.testng + testng + test + + + commons-io + commons-io + test + + + org.reflections + reflections + ${org.reflections.version} + + + + + - - - org.codehaus.mojo - aspectj-maven-plugin - - - + + org.codehaus.mojo + aspectj-maven-plugin + 1.8 + + + 1.8 + 1.8 + 1.8 + + + + + compile + + test-compile + + + + + org.aspectj + aspectjtools + ${aspectj.version} + + + + + + + + org.codehaus.mojo + aspectj-maven-plugin + + + diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-test/pom.xml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-test/pom.xml index 1b33108237..7ac9596931 100644 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-test/pom.xml +++ b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-test/pom.xml @@ -1,61 +1,60 @@ - 4.0.0 + 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"> - onap-sdc-artifact-generator-test + 4.0.0 - - onap-common-lib - org.onap.sdc.common - 1.3.0-SNAPSHOT - ../../ - + onap-sdc-artifact-generator-test - - - - - org.apache.maven.plugins - maven-shade-plugin - ${mvn.shade.version} - - - package - - shade - - - - - com.google.guava:* - - - - - - - - + + onap-common-lib + org.onap.sdc.common + 1.3.0-SNAPSHOT + ../../pom.xml + + + + + org.apache.maven.plugins + maven-shade-plugin + ${mvn.shade.version} + + + package + + shade + + + + + com.google.guava:* + + + + + + + + - - - junit - junit - ${junit.version} - - - org.onap.sdc.common - onap-sdc-artifact-generator-api - ${project.version} - - - org.onap.sdc.common - onap-sdc-artifact-generator-core - ${project.version} - - + + + junit + junit + compile + + + org.onap.sdc.common + onap-sdc-artifact-generator-api + ${project.version} + + + org.onap.sdc.common + onap-sdc-artifact-generator-core + ${project.version} + + diff --git a/common/pom.xml b/common/pom.xml index bac8f3a83e..29344ec3af 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -1,384 +1,251 @@ - 4.0.0 + 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"> - org.onap.sdc.common - onap-common-lib - onap-common-lib - pom + 4.0.0 - - org.openecomp.sdc - sdc-onboarding - 1.3.0-SNAPSHOT - ../onboarding - + org.onap.sdc.common + onap-common-lib + onap-common-lib + pom - - 1.8.7 - + + org.openecomp.sdc + sdc-onboarding + 1.3.0-SNAPSHOT + ../onboarding/pom.xml + - - onap-sdc-artifact-generator-lib - onap-common-configuration-management - onap-tosca-datatype - + + onap-sdc-artifact-generator-lib + onap-common-configuration-management + onap-tosca-datatype + - - - org.slf4j - slf4j-api - ${slf4j-api.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - - - ch.qos.logback - logback-core - ${logback.version} - - - com.fasterxml.jackson.core - jackson-databind - ${jackson.version} - - - com.fasterxml.jackson.dataformat - jackson-dataformat-yaml - ${jackson.version} - - - commons-codec - commons-codec - ${commons.codec.version} - - - com.datastax.cassandra - cassandra-driver-core - ${datastax.cassandra.version} - - - com.datastax.cassandra - cassandra-driver-mapping - ${datastax.cassandra.version} - - - javax.ws.rs - javax.ws.rs-api - ${ws.rs.version} - - - com.google.code.gson - gson - ${gson.version} - - - org.testng - testng - ${testng.version} - test - - - junit - junit - ${junit.version} - test - - - - - - - org.slf4j - slf4j-api - ${slf4j.version} - - - org.aspectj - aspectjrt - ${aspectj.version} - - - javax.servlet - javax.servlet-api - ${servlet-api.version} - provided - - - - commons-beanutils - commons-beanutils - ${commons.beanutils.version} - - - - com.beust - jcommander - ${jcommander.version} - - - - commons-digester - commons-digester - ${commons.digester.version} - - - - org.beanshell - bsh - ${bsh.version} - - - - com.google.code.findbugs - annotations - 3.0.1u2 - - - - cglib - cglib-nodep - ${cglib.nodep.version} - - - - - - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${mvn.compiler.version} - true - - - default-compile - - ${skipMainSourceCompile} - - - - default-testCompile - - ${skipTestSourceCompile} - - - - - ${java.source} - ${java.target} - - - - org.openecomp.sdc.onboarding - artifact-copy-plugin - ${project.version} - - - - init-artifact-helper - calibrate-artifact-helper - - - - - org.openecomp.sdc - build-data-installer - ${project.version} - - - ${project} - - ${session} - org.openecomp.sdc:sdc-onboarding/target/build-data - - - - - org.openecomp.sdc.onboarding - compile-helper-plugin - ${project.version} - - - org.openecomp.sdc.onboarding - pmd-helper-plugin - ${project.version} - - - - - - init-helper - pre-compile-helper - post-compile-helper - pre-test-compile-helper - post-test-run-helper - - - - - pom - test,runtime - ${project.build.directory}/generated-sources - - - ${project} - - org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat - - - - - org.apache.maven.plugins - maven-pmd-plugin - ${maven.pmd.plugin.version} - - - org.openecomp.sdc - build-tools - ${build.tools.version} - - - net.sourceforge.pmd - pmd-core - ${pmd.core.version} - - - net.sourceforge.pmd - pmd-java - ${pmd.java.version} - - - - ${skipPMD} - false - false - ${project.build.directory}/pmd/pmd.cache - false - false - csv - ${project.build.directory}/pmd - true - false - false - - /category/java/bestpractices.xml - /category/java/codestyle.xml - /category/java/design.xml - /category/java/errorprone.xml - /category/java/multithreading.xml - /category/java/performance.xml - /category/java/security.xml - - - - - - check - - integration-test - - - - - org.openecomp.sdc.onboarding - pmd-helper-plugin - ${project.version} - - - - init-pmd-helper - post-verify-helper - - - - - pom - ${project.build.directory}/pmd/pmd.xml - ${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 - ${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 - - - - org.apache.maven.plugins - maven-jar-plugin - ${mvn.jar.version} - - - false - - - ${emptyJAR} - - - - - - - - - org.codehaus.mojo - license-maven-plugin - ${mvn.license.version} - - false - ============LICENSE_START======================================================= - ============LICENSE_END========================================================= - ================================================================================ - apache_v2 - 2017 - AT&T Intellectual Property. All rights - reserved. - SDC - true - true - true - true - false - - **/*.java - **/*.js - **/*.ts - - - src - app - server-mock - typings - - - - - first - - update-file-header - - - - - - - - - - + + + + org.apache.maven.plugins + maven-compiler-plugin + ${mvn.compiler.version} + true + + + default-compile + + ${skipMainSourceCompile} + + + + default-testCompile + + ${skipTestSourceCompile} + + + + + ${java.source} + ${java.target} + + + + org.openecomp.sdc.onboarding + artifact-copy-plugin + ${project.version} + + + + init-artifact-helper + calibrate-artifact-helper + + + + + org.openecomp.sdc + build-data-installer + ${project.version} + + ${project} + ${session} + org.openecomp.sdc:sdc-onboarding/target/build-data + + + + + org.openecomp.sdc.onboarding + compile-helper-plugin + ${project.version} + + + org.openecomp.sdc.onboarding + pmd-helper-plugin + ${project.version} + + + + + + init-helper + pre-compile-helper + post-compile-helper + pre-test-compile-helper + post-test-run-helper + + + + + pom + test,runtime + ${project.build.directory}/generated-sources + + ${project} + + org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat + + + + + + org.apache.maven.plugins + maven-pmd-plugin + ${maven.pmd.plugin.version} + + + org.openecomp.sdc + build-tools + ${build.tools.version} + + + net.sourceforge.pmd + pmd-core + ${pmd.core.version} + + + net.sourceforge.pmd + pmd-java + ${pmd.java.version} + + + + ${skipPMD} + false + false + ${project.build.directory}/pmd/pmd.cache + false + false + csv + ${project.build.directory}/pmd + true + false + false + + /category/java/bestpractices.xml + /category/java/codestyle.xml + /category/java/design.xml + /category/java/errorprone.xml + /category/java/multithreading.xml + /category/java/performance.xml + /category/java/security.xml + + + + + + check + + integration-test + + + + + org.openecomp.sdc.onboarding + pmd-helper-plugin + ${project.version} + + + + init-pmd-helper + post-verify-helper + + + + + pom + ${project.build.directory}/pmd/pmd.xml + ${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 + + ${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 + + + + + org.apache.maven.plugins + maven-jar-plugin + ${mvn.jar.version} + + + false + + + ${emptyJAR} + + + + + org.codehaus.mojo + license-maven-plugin + ${mvn.license.version} + + false + ============LICENSE_START======================================================= + + ============LICENSE_END========================================================= + + ================================================================================ + + apache_v2 + 2017 + AT&T Intellectual Property. All rights + reserved. + + SDC + true + true + true + true + false + + **/*.java + **/*.js + **/*.ts + + + src + app + server-mock + typings + + + + + first + + update-file-header + + + + + + + diff --git a/onboarding/pom.xml b/onboarding/pom.xml index d19c6e3a69..794f28ad9f 100644 --- a/onboarding/pom.xml +++ b/onboarding/pom.xml @@ -1,6 +1,7 @@ + 4.0.0 sdc-onboarding @@ -48,6 +49,7 @@ 1.8.9 + ${aspectj.version} 2.0b5 3.2.4 1.3.3 @@ -67,8 +69,8 @@ 2.3.1 2.2 2.3.26-incubating - 5.3.3.Final - + + 5.3.3.Final 4.5.3 4.4.1 4.1.2 @@ -82,15 +84,15 @@ 1 2.5 2.8.1 - 2.7.4 - 2.7.4 + ${jackson.version} + ${jackson.version} 1.9.13 1.58 9.0.6.v20130930 1.19.1 1.18.1 4.12 - 1.1.2 + 1.2.3 1.10.19 1.9.13 1.5.1 @@ -129,17 +131,165 @@ 1.16.20 provided + + org.apache.commons + commons-text + 1.3 + + + 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 + + + com.fasterxml.jackson.core + jackson-annotations + ${jackson.annotations.version} + + + com.fasterxml.jackson.core + jackson-core + ${jackson.version} + + + org.aspectj + aspectjrt + ${aspectjrt.version} + + + javax.servlet + javax.servlet-api + ${servlet-api.version} + provided + + + commons-beanutils + commons-beanutils + ${commons.beanutils.version} + + + com.google.code.findbugs + annotations + 3.0.1u2 + + + cglib + cglib-nodep + ${cglib.nodep.version} + + + ch.qos.logback + logback-classic + ${logback.version} + + + ch.qos.logback + logback-core + ${logback.version} + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.version} + + + com.fasterxml.jackson.dataformat + jackson-dataformat-yaml + ${jackson.version} + + + commons-codec + commons-codec + ${commons.codec.version} + + + com.datastax.cassandra + cassandra-driver-core + ${datastax.cassandra.version} + + + com.datastax.cassandra + cassandra-driver-mapping + ${datastax.cassandra.version} + + + javax.ws.rs + javax.ws.rs-api + ${ws.rs.version} + + + com.google.code.gson + gson + ${gson.version} + + + commons-io + commons-io + ${commons.io.version} + + + org.apache.commons + commons-lang3 + ${commons.lang3.version} + org.testng testng - test ${testng.version} + test - org.apache.commons - commons-text - 1.3 - compile + junit + junit + ${junit.version} + test + + + org.mockito + mockito-all + ${mockito.all.version} + test 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.xml b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/logback-test.xml similarity index 100% rename from openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/logback.xml rename to openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/logback-test.xml 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.xml b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-core/src/test/resources/logback-test.xml similarity index 100% rename from openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-core/src/test/resources/logback.xml rename to openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-core/src/test/resources/logback-test.xml 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-test.xml similarity index 100% rename from openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/logback.xml rename to openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/logback-test.xml 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.xml b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/resources/logback-test.xml similarity index 100% rename from openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/resources/logback.xml rename to openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/resources/logback-test.xml 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 -- 2.16.6