Skip to content
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

Fix issues with releasing cross versions of Scala and Spark using maven #111

Closed
morazow opened this issue Dec 20, 2021 · 0 comments · Fixed by #114
Closed

Fix issues with releasing cross versions of Scala and Spark using maven #111

morazow opened this issue Dec 20, 2021 · 0 comments · Fixed by #114
Labels
bug Unwanted / harmful behavior

Comments

@morazow
Copy link
Contributor

morazow commented Dec 20, 2021

Situation

We would like to release different versions of the connector for recent Spark versions. For example, Spark 3.2 with Scala 2.13, Spark 3.2 with Scala 2.12 and Spark 3.1 with Scala 2.12 versions.

However, it is not very easy using maven. There are several issue:

  • Correctly setting artifactId and version, for instance, com.exasol:spark-connector_2.13:1.2.0-spark-3.2.0
  • Rewriting pom.xml for Maven Central, that sets correct Scala binary version for dependencies

For references: https://www.hammerlab.org/2017/04/06/scala-build-tools/#a-trying-and-failing-to-scala-cross-publish-with-maven

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unwanted / harmful behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant