You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by si...@apache.org on 2019/04/26 03:17:06 UTC

[pulsar] branch master updated: Update Scala plugin enforce java source and target version (#4113)

This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 5f0242e  Update Scala plugin enforce java source and target version (#4113)
5f0242e is described below

commit 5f0242e6a9009a5fc7603632bfcfb2b00e1bbc4e
Author: Ali Ahmed <al...@gmail.com>
AuthorDate: Thu Apr 25 20:17:01 2019 -0700

    Update Scala plugin enforce java source and target version (#4113)
    
    This updates the scala compiler plugin and also add java source and target properties to successfully start compilation and packaging with openjdk11.
---
 examples/flink/pom.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/examples/flink/pom.xml b/examples/flink/pom.xml
index 06201e7..6399782 100644
--- a/examples/flink/pom.xml
+++ b/examples/flink/pom.xml
@@ -32,6 +32,8 @@
   <name>Pulsar Examples :: Flink</name>
 
   <properties>
+    <maven.compiler.target>1.8</maven.compiler.target>
+    <maven.compiler.source>1.8</maven.compiler.source>
     <log4j2.version>2.10.0</log4j2.version>
   </properties>
 
@@ -131,7 +133,7 @@
       <plugin>
         <groupId>net.alchim31.maven</groupId>
         <artifactId>scala-maven-plugin</artifactId>
-        <version>3.4.4</version>
+        <version>4.0.1</version>
         <executions>
           <execution>
             <goals>