Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Commit

Permalink
AVRO-2043: Move to java8
Browse files Browse the repository at this point in the history
This closes apache#232
  • Loading branch information
gszadovszky committed Jul 21, 2017
1 parent 21b3698 commit f72b620
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion BUILD.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ REQUIREMENTS

The following packages must be installed before Avro can be built:

- Java: JDK 1.6, Maven 2 or better, protobuf-compile
- Java: JDK 1.8, Maven 2 or better, protobuf-compile
- PHP: php5, phpunit, php5-gmp
- Python: 2.5 or greater, python-setuptools for dist target
- C: gcc, cmake, asciidoc, source-highlight
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Trunk (not yet released)

AVRO-2035: Java: validate default values when parsing schemas. (cutting)

AVRO-2043: Move to java8

NEW FEATURES

AVRO-1704: Java: Add support for single-message encoding. (blue)
Expand Down
4 changes: 2 additions & 2 deletions doc/examples/java-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
Expand Down
4 changes: 2 additions & 2 deletions doc/examples/mr-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions doc/src/content/xdocs/gettingstartedjava.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
&#60;groupId&#62;org.apache.maven.plugins&#60;/groupId&#62;
&#60;artifactId&#62;maven-compiler-plugin&#60;/artifactId&#62;
&#60;configuration&#62;
&#60;source&#62;1.6&#60;/source&#62;
&#60;target&#62;1.6&#60;/target&#62;
&#60;source&#62;1.8&#60;/source&#62;
&#60;target&#62;1.8&#60;/target&#62;
&#60;/configuration&#62;
&#60;/plugin&#62;
</source>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ options {
ERROR_REPORTING = true;
STATIC = false;
FORCE_LA_CHECK = true;
JDK_VERSION = "1.6";
JDK_VERSION = "1.8";
}

PARSER_BEGIN(Idl)
Expand Down
4 changes: 2 additions & 2 deletions lang/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions lang/java/trevni/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion share/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Dockerfile for installing the necessary dependencies for building Avro.
# See BUILD.txt.

FROM java:7-jdk
FROM java:8-jdk

WORKDIR /root

Expand Down

0 comments on commit f72b620

Please sign in to comment.