diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-08-31 00:09:45 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2017-08-31 00:13:16 -0500 |
commit | fb79f7aa356ef2e4507cac5d5a328f789617cd5a (patch) | |
tree | a9eb0cf53de98d8ba6b617e1c6e373fdc13ff194 /pom.xml | |
parent | ca5aaf029408e83498adc342023397fb1cbc9271 (diff) |
Support Utils Libraries for CL Lab Integration
There is a companion review in the drools-applications repo.
This also includes workarounds to the recent oparent dependency
introduction that breaks runtime (with the version-check-maven-plugin).
It manifested by loading control loops and failing to load some classes
due to different versions (in a lab environment).
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)..
Change-Id: If4f4201e08f7e6e1f3619f557434c1b2e23e47a5
Issue-ID: POLICY-162
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 49 |
1 files changed, 43 insertions, 6 deletions
@@ -46,14 +46,16 @@ <jersey.version>2.22.2</jersey.version> <jersey.swagger.version>1.5.13</jersey.swagger.version> <jackson.version>2.8.4</jackson.version> - <http.client.version>4.5</http.client.version> + <http.client.version>4.5.2</http.client.version> <http.core.version>4.4.4</http.core.version> <logback.version>1.2.3</logback.version> <junit.version>4.12</junit.version> - <eclipselink.version>2.6.4</eclipselink.version> + <eclipselink.version>2.7.0</eclipselink.version> <mariadb.jdbc.version>2.1.0</mariadb.jdbc.version> <hibernate.core.version>5.2.10.Final</hibernate.core.version> <hibernate.commons.annotations.version>5.0.1.Final</hibernate.commons.annotations.version> + <commons.io.version>2.5</commons.io.version> + <guava.version>16.0.1</guava.version> <nexusproxy>https://nexus.onap.org</nexusproxy> <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> @@ -91,14 +93,12 @@ </site> </distributionManagement> - <dependencies/> - <dependencyManagement> <dependencies> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> - <version>16.0.1</version> + <version>${guava.version}</version> </dependency> <dependency> <groupId>javax.ws.rs</groupId> @@ -176,6 +176,11 @@ <version>${eclipselink.version}</version> </dependency> <dependency> + <groupId>org.eclipse.persistence</groupId> + <artifactId>org.eclipse.persistence.jpa</artifactId> + <version>${eclipselink.version}</version> + </dependency> + <dependency> <groupId>org.mariadb.jdbc</groupId> <artifactId>mariadb-java-client</artifactId> <version>${mariadb.jdbc.version}</version> @@ -190,8 +195,29 @@ <artifactId>hibernate-commons-annotations</artifactId> <version>${hibernate.commons.annotations.version}</version> </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>${commons.io.version}</version> + </dependency> </dependencies> </dependencyManagement> + + <dependencies> + <dependency> + <groupId>org.onap.oparent</groupId> + <artifactId>version-check-maven-plugin</artifactId> + <version>1.0.0-SNAPSHOT</version> + <scope>provided</scope> + <optional>true</optional> + <exclusions> + <exclusion> + <groupId>*</groupId> + <artifactId>*</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> <build> <plugins> @@ -234,7 +260,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> - <version>3.6</version> <dependencies> <dependency> <groupId>org.apache.maven.wagon</groupId> @@ -252,7 +277,19 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>sonar-maven-plugin</artifactId> + </plugin> + + <plugin> + <groupId>org.onap.oparent</groupId> + <artifactId>version-check-maven-plugin</artifactId> + <executions> + <execution> + <id>version-check</id> + <phase/> + </execution> + </executions> </plugin> + </plugins> <pluginManagement> <plugins> |