Override scala-lang to 2.11.12 92/76792/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 9 Oct 2018 12:59:31 +0000 (14:59 +0200)
committerTom Pantelis <tompantelis@gmail.com>
Tue, 9 Oct 2018 16:04:43 +0000 (16:04 +0000)
In order to build with JDK10, we need to make sure we pull in
the latest 2.11.x scala.

Change-Id: Iccea3ffebed11580fc7ad108f5988a88e0e7a597
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding2/mdsal-binding2-java-api-generator/pom.xml

index c49c24375b514ed3c647c4ff79abe720f65f99e8..49fcbc8a3efa4444fba8310e2c1c3387b54555bb 100644 (file)
                         </goals>
                     </execution>
                 </executions>
+
+                <!-- Required to get things working with JDK9+ -->
+                <dependencies>
+                    <dependency>
+                        <groupId>org.scala-lang</groupId>
+                        <artifactId>scala-compiler</artifactId>
+                        <version>2.11.12</version>
+                    </dependency>
+                    <dependency>
+                        <groupId>org.scala-lang</groupId>
+                        <artifactId>scala-library</artifactId>
+                        <version>2.11.12</version>
+                    </dependency>
+                </dependencies>
             </plugin>
 
             <!-- Scala -> compile Scala files generated from Twirl -->