Skip to content

Commit c5790a2

Browse files
Marcelo Vanzinsrowen
authored andcommitted
[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 <[email protected]> Closes #5893 from vanzin/ivy-dep-fix and squashes the following commits: ea2112d [Marcelo Vanzin] [minor] [build] Declare ivy dependency in root pom.
1 parent da738cf commit c5790a2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

core/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@
273273
<dependency>
274274
<groupId>org.apache.ivy</groupId>
275275
<artifactId>ivy</artifactId>
276-
<version>${ivy.version}</version>
277276
</dependency>
278277
<dependency>
279278
<groupId>oro</groupId>

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,11 @@
416416
<artifactId>commons-math3</artifactId>
417417
<version>${commons.math3.version}</version>
418418
</dependency>
419+
<dependency>
420+
<groupId>org.apache.ivy</groupId>
421+
<artifactId>ivy</artifactId>
422+
<version>${ivy.version}</version>
423+
</dependency>
419424
<dependency>
420425
<groupId>com.google.code.findbugs</groupId>
421426
<artifactId>jsr305</artifactId>

0 commit comments

Comments
 (0)