scala-3-migration-guide icon indicating copy to clipboard operation
scala-3-migration-guide copied to clipboard

Maven based projects migration guide

Open jozic opened this issue 5 years ago • 7 comments
trafficstars

Would be nice to support maven based part of community. It's a thing, especially in corporate environments

jozic avatar Sep 25 '20 06:09 jozic

Thank you @jozic for opening this issue.

Maven is definitely something we may want to cover.

At the moment we don't have much knowledge on that topic. Do you know if there is a Maven plugin that support the Scala 3 compiler?

adpi2 avatar Sep 25 '20 07:09 adpi2

I'm aware of two maven scala plugins, but afaik none of those supports Scala 3 (hopefully i'm wrong here)

  • https://github.com/davidB/scala-maven-plugin
  • https://github.com/random-maven/scalor-maven-plugin

jozic avatar Sep 25 '20 09:09 jozic

Any chance you get your hands on them and make them compile Scala 3? :pray:

adpi2 avatar Sep 25 '20 09:09 adpi2

that's unlikely, but who knows :)

jozic avatar Sep 26 '20 13:09 jozic

The @davidB one is the one still under active development; I don't think the other one matters anymore.

ticket requesting a volunteer to tackle adding Scala 3 support: https://github.com/davidB/scala-maven-plugin/issues/393

SethTisue avatar Oct 01 '20 01:10 SethTisue

Getting closer with https://github.com/davidB/scala-maven-plugin/pull/447

adpi2 avatar Apr 01 '21 13:04 adpi2

Just to update info on this open tickect. The version 4.5.1 of https://github.com/davidB/scala-maven-plugin includes PR from the community for scala 3. (feedback are welcomed)

davidB avatar May 16 '21 09:05 davidB