From f9f086c4f7517602f7f8e862699618d79afddf58 Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Tue, 15 Aug 2017 19:12:25 -0500 Subject: add persistence libraries in the installation base to make db-enabled features to not worry about their packaging in the copy-dependencies plugin in the pom.xml Change-Id: Ie20a61978f75d4dbe82ac7aba5f6d259fb412f22 Issue-ID: POLICY-96 Signed-off-by: Jorge Hernandez --- feature-eelf/pom.xml | 2 -- feature-healthcheck/pom.xml | 1 - policy-core/pom.xml | 1 - policy-endpoints/pom.xml | 1 - policy-management/pom.xml | 38 +++++++++++++--------- policy-management/src/main/server-gen/bin/features | 2 +- policy-utils/pom.xml | 1 - pom.xml | 19 +++++++++++ 8 files changed, 42 insertions(+), 23 deletions(-) diff --git a/feature-eelf/pom.xml b/feature-eelf/pom.xml index a18b2892..17a9de9f 100644 --- a/feature-eelf/pom.xml +++ b/feature-eelf/pom.xml @@ -83,7 +83,6 @@ false false runtime - provided true @@ -117,7 +116,6 @@ junit junit - 4.12 test diff --git a/feature-healthcheck/pom.xml b/feature-healthcheck/pom.xml index 3355a2a5..32aa4d1c 100644 --- a/feature-healthcheck/pom.xml +++ b/feature-healthcheck/pom.xml @@ -83,7 +83,6 @@ false false runtime - provided true diff --git a/policy-core/pom.xml b/policy-core/pom.xml index 902c38cb..8fdfaa36 100644 --- a/policy-core/pom.xml +++ b/policy-core/pom.xml @@ -61,7 +61,6 @@ junit junit - 4.11 test diff --git a/policy-endpoints/pom.xml b/policy-endpoints/pom.xml index b34b6d33..020d3c11 100644 --- a/policy-endpoints/pom.xml +++ b/policy-endpoints/pom.xml @@ -174,7 +174,6 @@ junit junit - 4.12 test diff --git a/policy-management/pom.xml b/policy-management/pom.xml index 4e375d55..e3196604 100644 --- a/policy-management/pom.xml +++ b/policy-management/pom.xml @@ -86,7 +86,7 @@ false false javax.inject - provided + runtime @@ -235,26 +235,32 @@ 4.1 - - - org.apache.commons - commons-lang3 - 3.4 - - ch.qos.logback logback-classic - - junit - junit - 4.11 - test - - + + junit + junit + test + + + + + + org.eclipse.persistence + eclipselink + + + + org.mariadb.jdbc + mariadb-java-client + + diff --git a/policy-management/src/main/server-gen/bin/features b/policy-management/src/main/server-gen/bin/features index 057abeb4..80a1b279 100644 --- a/policy-management/src/main/server-gen/bin/features +++ b/policy-management/src/main/server-gen/bin/features @@ -301,7 +301,7 @@ function enableDepAnalysis () multiVersionJars=$(ls "${LIB}"/"${depJarName%%-[0-9]*.jar}"-*.jar 2> /dev/null) if [[ -n "${multiVersionJars}" ]]; then - echo "warning: other version of library ${depJarName} present: ${multiVersionJars}" + echo "error: other version of library ${depJarName} present: ${multiVersionJars}" return 2 fi done diff --git a/policy-utils/pom.xml b/policy-utils/pom.xml index 309839d5..7481f424 100644 --- a/policy-utils/pom.xml +++ b/policy-utils/pom.xml @@ -40,7 +40,6 @@ junit junit - 4.11 test diff --git a/pom.xml b/pom.xml index 08c27c3c..81d41c32 100644 --- a/pom.xml +++ b/pom.xml @@ -49,6 +49,10 @@ 4.5 4.4.4 1.2.3 + 4.12 + 2.6.4 + 2.1.0 + 3.2 0.7.9 @@ -167,6 +171,21 @@ logback-classic ${logback.version} + + junit + junit + ${junit.version} + + + org.eclipse.persistence + eclipselink + ${eclipselink.version} + + + org.mariadb.jdbc + mariadb-java-client + ${mariadb.jdbc.version} + -- cgit 1.2.3-korg