In the meantime I'll try and investigate a way around this in my build, but I thought I'd raise this as it appears to be published incorrectly?
Having said all that, I'm not sure why my project is looking for play-enhancer_2.12_1.0 when the ehcache version doesn't include the "_1.0"...presumably where "1.0" is the sbt version.
When importing this plugin, as per the Play docs I am using:
addSbtPlugin("com.typesafe.play" % "play-enhancer" % "1.2.2")
When I run my build, I get the following snippet of an the error, because it cannot find the library:
[warn] ==== Maven central: tried [warn] http://central.maven.org/maven2/com/typesafe/play/play-enhancer_2.12_1.0/1.2.2/play-enhancer-1.2.2.pom
The library is published on maven alongside all the others, except that it is at this URL, which does not include the scala version:
http://central.maven.org/maven2/com/typesafe/play/play-enhancer/1.2.2/
Other libraries alongside it appear to be correctly cross-published (is that the right word?). For example, Play ehcache is here:
http://central.maven.org/maven2/com/typesafe/play/play-ehcache_2.12/2.6.9/
There are variants of it for each Scala version.
In the meantime I'll try and investigate a way around this in my build, but I thought I'd raise this as it appears to be published incorrectly?
Having said all that, I'm not sure why my project is looking for play-enhancer_2.12_1.0 when the ehcache version doesn't include the "_1.0"...presumably where "1.0" is the sbt version.
Thanks
Pete