Skip to content

Commit

Permalink
Lock guava to version 17 to preven plugin incompatibilities
Browse files Browse the repository at this point in the history
Mahout-mr includes an ancient (11) version of Guava. There have been
quite a few backwards-incompatible changes since then, so trying to
use this plugin alongside anything with >14 failed.
Locking at 17 as this is the version the spatial plugin wants, and
seems to be stable so far.
  • Loading branch information
dig412 committed Apr 19, 2017
1 parent a8ee9c6 commit afa58f9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
11 changes: 10 additions & 1 deletion dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.ents24.neo4j</groupId>
<artifactId>similarity</artifactId>
<name>Neo4j Similarity Functions</name>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<description>A container for similarity functions for use natively within Neo4j</description>
<build>
<plugins>
Expand Down Expand Up @@ -130,6 +130,15 @@
</exclusions>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>17.0</version>
</dependency>
</dependencies>
</dependencyManagement>
<properties>
<neo4j.version>3.1.0</neo4j.version>
</properties>
Expand Down
12 changes: 11 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.ents24.neo4j</groupId>
<artifactId>similarity</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>

<packaging>jar</packaging>
<name>Neo4j Similarity Functions</name>
Expand Down Expand Up @@ -69,6 +69,16 @@

</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>17.0</version>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
Expand Down

0 comments on commit afa58f9

Please sign in to comment.