You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by rs...@apache.org on 2020/11/05 13:55:35 UTC
[avro] 02/05: Update documentation examples to Avro version 1.10.0
This is an automated email from the ASF dual-hosted git repository.
rskraba pushed a commit to branch branch-1.10
in repository https://gitbox.apache.org/repos/asf/avro.git
commit d900c382ca916be3cab1d8e4c1d00d16d2a8b140
Author: Ismaël Mejía <ie...@gmail.com>
AuthorDate: Mon Jun 29 14:50:43 2020 +0200
Update documentation examples to Avro version 1.10.0
---
doc/examples/java-example/pom.xml | 21 +++++++++++++++++----
doc/examples/mr-example/pom.xml | 15 ++++++++++-----
pom.xml | 2 ++
3 files changed, 29 insertions(+), 9 deletions(-)
diff --git a/doc/examples/java-example/pom.xml b/doc/examples/java-example/pom.xml
index e89d15f..d1fe47a 100644
--- a/doc/examples/java-example/pom.xml
+++ b/doc/examples/java-example/pom.xml
@@ -25,6 +25,9 @@
<version>1.0-SNAPSHOT</version>
<name>java-example</name>
<url>https://maven.apache.org</url>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -35,15 +38,24 @@
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
- <version>1.7.5</version>
+ <version>1.10.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.8.1</version>
+ <configuration>
+ <source>1.8</source>
+ <target>1.8</target>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.apache.avro</groupId>
<artifactId>avro-maven-plugin</artifactId>
- <version>1.7.5</version>
+ <version>1.10.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -59,7 +71,8 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
+ <artifactId>maven-plugin</artifactId>
+ <version>1.10.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
@@ -79,7 +92,7 @@
<pluginExecutionFilter>
<groupId>org.apache.avro</groupId>
<artifactId>avro-maven-plugin</artifactId>
- <versionRange>[1.7.5,)</versionRange>
+ <versionRange>[1.10.0,)</versionRange>
<goals>
<goal>schema</goal>
</goals>
diff --git a/doc/examples/mr-example/pom.xml b/doc/examples/mr-example/pom.xml
index 30c8684..5405fa9 100644
--- a/doc/examples/mr-example/pom.xml
+++ b/doc/examples/mr-example/pom.xml
@@ -27,11 +27,16 @@
<name>mr-example</name>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
@@ -40,7 +45,7 @@
<plugin>
<groupId>org.apache.avro</groupId>
<artifactId>avro-maven-plugin</artifactId>
- <version>1.9.0</version>
+ <version>1.10.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -68,7 +73,7 @@
<pluginExecutionFilter>
<groupId>org.apache.avro</groupId>
<artifactId>avro-maven-plugin</artifactId>
- <versionRange>[1.7.5,)</versionRange>
+ <versionRange>[1.10.0,)</versionRange>
<goals>
<goal>schema</goal>
</goals>
@@ -89,17 +94,17 @@
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
- <version>1.9.0</version>
+ <version>1.10.0</version>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro-mapred</artifactId>
- <version>1.9.0</version>
+ <version>1.10.0</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
- <version>3.1.2</version>
+ <version>3.2.1</version>
</dependency>
</dependencies>
</project>
diff --git a/pom.xml b/pom.xml
index ff0cc94..ee56c28 100644
--- a/pom.xml
+++ b/pom.xml
@@ -302,6 +302,8 @@
<exclude>**/*.egg-info/**</exclude>
<exclude>build/**</exclude>
<exclude>doc/build/**</exclude>
+ <exclude>doc/examples/java-example/target/**</exclude>
+ <exclude>doc/examples/mr-example/target/**</exclude>
<exclude>lang/java/archetypes/**</exclude>
<exclude>lang/java/**/target/**</exclude>
<exclude>lang/js/node_modules/**</exclude>