Update Scala plugin enforce java source and target version
This updates the scala compiler plugin and also add java source and target properties to successfully start compilation and packaging with openjdk11.
<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>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
- <version>3.4.4</version>
+ <version>4.0.1</version>
<executions>
<execution>
<goals>
