Skip to content

Commit

Permalink
Update Scala plugin enforce java source and target version (apache#4113)
Browse files Browse the repository at this point in the history
This updates the scala compiler plugin and also add java source and target properties to successfully start compilation and packaging with openjdk11.
  • Loading branch information
aahmed-se authored and sijie committed Apr 26, 2019
1 parent 28fc66a commit 5f0242e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/flink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 5f0242e

Please sign in to comment.