summaryrefslogtreecommitdiffstats
path: root/policy-management
diff options
context:
space:
mode:
Diffstat (limited to 'policy-management')
-rw-r--r--policy-management/pom.xml38
-rw-r--r--policy-management/src/main/server-gen/bin/features2
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