diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-08-30 23:42:35 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2017-08-31 00:00:52 -0500 |
commit | 3b25dd8b60d2d8d7f147efefc5425851aec0021e (patch) | |
tree | e97504aee8983c8cc853fce4b1209c9efa9fea5e /controlloop/common/guard | |
parent | 3cc999671adbaccb179b4a260c2b6b6faa913080 (diff) |
CL dependencies fixes for lab environment runtime
This also includes workarounds to the recent oparent dependency
introduction that breaks runtime (with the version-check-maven-plugin).
manifested by loading control loops and failing to load some classes
due to different versions.
The issue was that underlying drools libraries use 3.2.5 and oparent
has included a had dependency with transitive dependencies for some maven
libraries in 3.2.3 and lower version xml parsers. Bottomoline, the
classpath at runtime was formed by the union of both, with some
libraries being resolved to the oparent one, and others to the drools
one. These errors are very obscured to debug.
Additional clean up of dependencies versions and order of build
was introduced to avoid issues loading dependencies at runtime in a
lab environment (non-junit)..
Issue-ID: POLICY-162
Change-Id: I019c82e6bed4eab4884cdbf8f6f32472c3a7352f
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'controlloop/common/guard')
-rw-r--r-- | controlloop/common/guard/pom.xml | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/controlloop/common/guard/pom.xml b/controlloop/common/guard/pom.xml index 388a233ea..2b173c36c 100644 --- a/controlloop/common/guard/pom.xml +++ b/controlloop/common/guard/pom.xml @@ -7,16 +7,6 @@ </parent> <artifactId>guard</artifactId> <dependencies> - -<!-- - <dependency> - <groupId>org.onap.policy.drools-applications</groupId> - <artifactId>common</artifactId> - <version>1.1.0-SNAPSHOT</version> - <scope>provided</scope> - </dependency> ---> - <dependency> <groupId>org.onap.policy.drools-applications</groupId> <artifactId>policy-yaml</artifactId> @@ -44,24 +34,26 @@ <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> - <version>2.4</version> + <version>2.5</version> + <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.2</version> + <scope>provided</scope> </dependency> <dependency> <groupId>org.drools</groupId> <artifactId>drools-core</artifactId> - <version>6.3.0.Final</version> + <version>6.5.0.Final</version> + <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.persistence</groupId> <artifactId>org.eclipse.persistence.jpa</artifactId> - <version>2.6.4</version> + <version>2.7.0</version> + <scope>provided</scope> </dependency> - - </dependencies> </project> |