[hotfix] [avro] Define Avro version through variable Avro version is used multiple times (dependendies and plugins), having a variable makes sure we use those in sync.
Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/633907b3 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/633907b3 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/633907b3 Branch: refs/heads/master Commit: 633907b3b3f21261a6b82a4c72d0112a4b29432c Parents: f3a2197 Author: Stephan Ewen <[email protected]> Authored: Mon Nov 6 13:52:34 2017 +0100 Committer: Stephan Ewen <[email protected]> Committed: Mon Nov 6 18:56:48 2017 +0100 ---------------------------------------------------------------------- flink-formats/flink-avro/pom.xml | 2 +- pom.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/633907b3/flink-formats/flink-avro/pom.xml ---------------------------------------------------------------------- diff --git a/flink-formats/flink-avro/pom.xml b/flink-formats/flink-avro/pom.xml index 8732a21..0313b05 100644 --- a/flink-formats/flink-avro/pom.xml +++ b/flink-formats/flink-avro/pom.xml @@ -144,7 +144,7 @@ under the License. <plugin> <groupId>org.apache.avro</groupId> <artifactId>avro-maven-plugin</artifactId> - <version>1.8.2</version> + <version>${avro.version}</version> <executions> <execution> <phase>generate-sources</phase> http://git-wip-us.apache.org/repos/asf/flink/blob/633907b3/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 62ece5b..d537be9 100644 --- a/pom.xml +++ b/pom.xml @@ -118,6 +118,7 @@ under the License. <jackson.version>2.7.9</jackson.version> <metrics.version>3.1.5</metrics.version> <prometheus.version>0.0.26</prometheus.version> + <avro.version>1.8.2</avro.version> <junit.version>4.12</junit.version> <mockito.version>1.10.19</mockito.version> <powermock.version>1.6.5</powermock.version> @@ -286,7 +287,7 @@ under the License. <dependency> <groupId>org.apache.avro</groupId> <artifactId>avro</artifactId> - <version>1.8.2</version> + <version>${avro.version}</version> </dependency> <!-- Make sure we use a consistent commons-cli version throughout the project -->
