From c5790a2f772168351c18bb0da51a124cee89a06f Mon Sep 17 00:00:00 2001 From: Marcelo Vanzin <vanzin@cloudera.com> Date: Tue, 5 May 2015 08:56:16 +0100 Subject: [PATCH] [MINOR] [BUILD] Declare ivy dependency in root pom. Without this, any dependency that pulls ivy transitively may override the version and potentially cause issue. In my machine, the hive tests were pulling an old version of ivy, and subsequently failing with a "NoSuchMethodError". Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #5893 from vanzin/ivy-dep-fix and squashes the following commits: ea2112d [Marcelo Vanzin] [minor] [build] Declare ivy dependency in root pom. --- core/pom.xml | 1 - pom.xml | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/pom.xml b/core/pom.xml index c5779447f0..164a836cb8 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -273,7 +273,6 @@ <dependency> <groupId>org.apache.ivy</groupId> <artifactId>ivy</artifactId> - <version>${ivy.version}</version> </dependency> <dependency> <groupId>oro</groupId> diff --git a/pom.xml b/pom.xml index de18741fea..12ad7c5be4 100644 --- a/pom.xml +++ b/pom.xml @@ -416,6 +416,11 @@ <artifactId>commons-math3</artifactId> <version>${commons.math3.version}</version> </dependency> + <dependency> + <groupId>org.apache.ivy</groupId> + <artifactId>ivy</artifactId> + <version>${ivy.version}</version> + </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> -- GitLab