Skip to content

Commit ea2112d

Browse files
author
Marcelo Vanzin
committed
[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".
1 parent f32e69e commit ea2112d

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)