Repository: calcite-avatica
Updated Branches:
  refs/heads/master 146d310f9 -> af2fded68


http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/af2fded6/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b6004d3..244a52d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -85,6 +85,7 @@ limitations under the License.
     <kerby.version>1.1.1</kerby.version>
     <maven-assembly-plugin.version>3.1.0</maven-assembly-plugin.version>
     <maven-checkstyle-plugin.version>3.0.0</maven-checkstyle-plugin.version>
+    <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
     <maven-enforcer-plugin.version>3.0.0-M2</maven-enforcer-plugin.version>
     <maven-scm-provider.version>1.11.1</maven-scm-provider.version>
     <!-- ASF 21 provides 3.1.1 but need 3.2.0 due to MSHADE-289 -->
@@ -409,9 +410,12 @@ limitations under the License.
       <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
-          <compilerArgument>-Xlint:deprecation</compilerArgument>
+          <source>8</source>
+          <target>8</target>
+          <compilerArgs>
+            <arg>-Xlint:deprecation</arg>
+          </compilerArgs>
+          <failOnWarning>true</failOnWarning>
         </configuration>
       </plugin>
       <plugin>
@@ -531,6 +535,10 @@ limitations under the License.
           <version>${maven-checkstyle-plugin.version}</version>
         </plugin>
         <plugin>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>${maven-compiler-plugin.version}</version>
+        </plugin>
+        <plugin>
           <artifactId>maven-dependency-plugin</artifactId>
         </plugin>
         <plugin>
@@ -655,7 +663,6 @@ limitations under the License.
             <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
             <outputDirectory>${basedir}/src/main/java/</outputDirectory>
             <clearOutputDirectory>false</clearOutputDirectory>
-            <checkStaleness>true</checkStaleness>
           </configuration>
         </plugin>
         <plugin>

http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/af2fded6/site/_docs/howto.md
----------------------------------------------------------------------
diff --git a/site/_docs/howto.md b/site/_docs/howto.md
index f985fbe..ffd2299 100644
--- a/site/_docs/howto.md
+++ b/site/_docs/howto.md
@@ -91,37 +91,6 @@ The following sections might be of interest if you are 
adding features
 to particular parts of the code base. You don't need to understand
 these topics if you are just building from source and running tests.
 
-## Rebuilding generated Protocol Buffer code
-
-Calcite's Avatica Server component supports RPC serialization
-using [Protocol Buffers](https://developers.google.com/protocol-buffers/).
-In the context of Avatica, Protocol Buffers can
-generate a collection of messages defined by a schema. The library
-itself can parse old serialized messages using a
-new schema. This is highly desirable in an environment where the
-client and server are not guaranteed to have the same version of
-objects.
-
-Typically, the code generated by the Protocol Buffers library doesn't
-need to be re-generated only every build, only when the schema changes.
-
-First, install Protobuf 3.1:
-
-{% highlight bash %}
-$ wget 
https://github.com/google/protobuf/releases/download/v3.1.0/protobuf-java-3.1.0.tar.gz
-$ tar xf protobuf-java-3.1.0.tar.gz && cd protobuf-3.1.0
-$ ./configure
-$ make
-$ sudo make install
-{% endhighlight %}
-
-Then, re-generate the compiled code:
-
-{% highlight bash %}
-$ cd avatica/core
-$ ./src/main/scripts/generate-protobuf.sh
-{% endhighlight %}
-
 # Advanced topics for committers
 
 The following sections are of interest to Calcite committers and in

Reply via email to