diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-08-15 19:12:25 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2017-08-15 19:15:08 -0500 |
commit | f9f086c4f7517602f7f8e862699618d79afddf58 (patch) | |
tree | d525e7b15d46c6f44f0eef2180d7fd735cc693cb /policy-management | |
parent | 443205e307a5c84b0a4aa198bb66a6088e700adc (diff) |
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 <jh1730@att.com>
Diffstat (limited to 'policy-management')
-rw-r--r-- | policy-management/pom.xml | 38 | ||||
-rw-r--r-- | policy-management/src/main/server-gen/bin/features | 2 |
2 files changed, 23 insertions, 17 deletions
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 @@ <addParentPoms>false</addParentPoms> <copyPom>false</copyPom> <excludeGroupIds>javax.inject</excludeGroupIds> - <excludeScope>provided</excludeScope> + <includeScope>runtime</includeScope> </configuration> </execution> </executions> @@ -235,26 +235,32 @@ <version>4.1</version> </dependency> - <!-- This entry is necessary to support import "org.apache.commons.lang3.time.DateUtils" - reference in StandbyStateManagementTest.java --> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - <version>3.4</version> - </dependency> - <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</version> - <scope>test</scope> - </dependency> - + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + + <!-- + The following dependencies are for features and drools + applications usage + --> + + <dependency> + <groupId>org.eclipse.persistence</groupId> + <artifactId>eclipselink</artifactId> + </dependency> + + <dependency> + <groupId>org.mariadb.jdbc</groupId> + <artifactId>mariadb-java-client</artifactId> + </dependency> + </dependencies> </project> 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 |