-
Notifications
You must be signed in to change notification settings - Fork 29
Be ready for Scala 3 #139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Maven is not required to build the project. However to upload to the OSS signed maven artifacts must be provided. There are ways to do this with sbt. |
Indeed, I was wondering if for consistency with Cucumber JVM it would make more sense to keep the release process much closer and thus keep Maven for the deployment to repos. Or as long as the |
Yup. Aslong as |
Mainly closed by #186 |
Scala 3.x is on its way (http://dotty.epfl.ch/blog/2020/09/21/naming-schema-change.html).
Even though users of Scala 3.x projects should be able to use Cucumber Scala compiled with Scala 2.x, it would be nice if Cucumber Scala was cross compiled to Scala 3.x as well.
That being said, there is for now no support of Scala 3 with the Scala Maven plugin (davidB/scala-maven-plugin#393), thus if we want to move forward we have two options:
sbt
insteadI would tend to vote for the 2nd option, as AFAIK the majority of Scala libraries are built with
sbt
which offers way more convenience especially from cross-builiding projects to multiple versions of Scala. It could also help Scala developers contribute more easily with a known project structure instead of the "home-made" Maven structure we have for now.❓ But as of today we rely on Maven also for releasing the project and I don't know if we want to keep it like this or not.
💡 An intermediate step could be to still use Maven for the top level commands (build, release...) but delegate to
sbt
the actual build. This is something I've seen working quite well using the Exec Maven plugin.Any thought on the topic appreciated! @mpkorstanje maybe 😉
The text was updated successfully, but these errors were encountered: