4.5.1 considers 2.13.2 and 2.13.5 different versions
See original GitHub issueCreating the issue per discussion https://github.com/davidB/scala-maven-plugin/discussions/468
I’ve just tried new version (4.5.1) of the plugin on a tiny project and got unexpected error
[INFO] — scala-maven-plugin:4.5.1:compile (scala-compile-first) @ jsoniter-codecs_2.13 — [WARNING] Expected all dependencies to require Scala version: 2.13.2 [WARNING] com.ebay.ads:jsoniter-codecs_2.13:0.2.0-SNAPSHOT requires scala version: 2.13.2 [WARNING] com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros_2.13:2.7.0 requires scala version: 2.13.5 [ERROR] Multiple versions of scala libraries detected! [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------
I have <failOnMultipleScalaVersions>true</failOnMultipleScalaVersions>
but 2.13.2 and 2.13.5 should be compatible and scala-maven-plugin 4.4.1 was ok with that either
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top GitHub Comments
@rondefreitas @jozic This one is probably a low hanging fruit. Contributions are very welcome!
Stale. Closing for now. Please provide a reproducer so we can investigate.