davidB / scala-maven-plugin

The scala-maven-plugin (previously maven-scala-plugin) is used for compiling/testing/running/documenting scala code in maven.
https://davidb.github.io/scala-maven-plugin/
The Unlicense
557 stars 151 forks source link

deprecation warnings #646

Closed rladstaetter closed 1 year ago

rladstaetter commented 1 year ago

After updating to Scala 2.13.9 (and Java19 if that is relevant) I get various warnings like this:

[WARNING] : -target is deprecated: Use -release instead to compile against the correct platform API.

Any idea whats going on?

slandelle commented 1 year ago

https://www.scala-lang.org/news/2.13.9

https://github.com/davidB/scala-maven-plugin/commit/36453a1b6b00e90c5e0877568a086c97f799ba12 https://github.com/davidB/scala-maven-plugin/commit/627772b0c968693f6226b72c2e0ea7172ec795a1

sigh

slandelle commented 1 year ago

see #648

slandelle commented 1 year ago

fixed in 4.7.2

rladstaetter commented 1 year ago

MINDBLOWING! thank you very much. 💯

rladstaetter commented 1 year ago

just tried it out, works perfectly.