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

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

commit e3ff2c1d2e6c10e46b86e5b71a13ee8b92119baf
Author: Steve Blackmon <[email protected]>
AuthorDate: Mon Aug 24 13:09:20 2020 -0500

    fix JDK11 scala-maven-plugin error
    
    found these workarounds from
    https://issues.apache.org/jira/browse/FLINK-9781
    
https://www.anuragkapur.com/blog/issue-resolutions/issue-resolution/2020/05/30/scala-maven-plugin-error.html
---
 pom.xml                                      | 3 +++
 streams-plugins/streams-plugin-scala/pom.xml | 5 +++++
 2 files changed, 8 insertions(+)

diff --git a/pom.xml b/pom.xml
index 182cce7..b129546 100644
--- a/pom.xml
+++ b/pom.xml
@@ -849,6 +849,9 @@
                     <artifactId>scala-maven-plugin</artifactId>
                     <version>${scala.plugin.version}</version>
                     <configuration>
+                        <args>
+                            <arg>-nobootcp</arg>
+                        </args>
                         <recompileMode>all</recompileMode>
                     </configuration>
                 </plugin>
diff --git a/streams-plugins/streams-plugin-scala/pom.xml 
b/streams-plugins/streams-plugin-scala/pom.xml
index a909748..648fe0d 100644
--- a/streams-plugins/streams-plugin-scala/pom.xml
+++ b/streams-plugins/streams-plugin-scala/pom.xml
@@ -32,6 +32,11 @@
 
     <dependencies>
         <dependency>
+            <groupId>org.scala-lang</groupId>
+            <artifactId>scala-library</artifactId>
+            <version>${scala.version}</version>
+        </dependency>
+        <dependency>
             <groupId>org.apache.streams</groupId>
             <artifactId>streams-config</artifactId>
             <version>${project.version}</version>

Reply via email to