Scala version warning for scala-java8-compat_2.12:0.8.0
Clash Royale CLAN TAG #URR8PPP Scala version warning for scala-java8-compat_2.12:0.8.0 I am using scala 2.12.1 for a project built with maven but am getting version warnings like the one below: [WARNING] org.scala-lang.modules:scala-java8-compat_2.12:0.8.0 requires scala version: 2.12.0 [WARNING] Multiple versions of scala libraries detected! What can I do to get the versioning right here? From what I understand these are libraries scala itself brings in and not explicitly defined by me. I get the same for xml lib too. xml 1 Answer 1 To get rid of such warnings just add this to the <configuration> block of the <maven-scala-plugin> definition in your pom.xml: <configuration> <maven-scala-plugin> <scalaCompatVersion>${scala.compat.version}</scalaCompatVersion> And add <scala.compat.version>2.12</scala.compat.version> to the <properties> secti...