Skip to content

Fix #5597: Remove scala-xml dependency, add it to the community-build #6595

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

Merged
merged 6 commits into from
Jun 3, 2019

Conversation

smarter
Copy link
Member

@smarter smarter commented Jun 2, 2019

This means that our test suites can no longer contain xml tests, instead
they need to be added to scala-xml like this:
scala/scala-xml@9762438

@smarter smarter force-pushed the remove-xml branch 4 times, most recently from 169dc14 to e1d6a3e Compare June 2, 2019 23:36
@smarter
Copy link
Member Author

smarter commented Jun 2, 2019

Pending scalatest PR: scalatest/scalatest#1599

@smarter smarter force-pushed the remove-xml branch 4 times, most recently from 98150ce to 56b33ee Compare June 3, 2019 16:56
…build

This means that our test suites can no longer contain xml tests, instead
they need to be added to scala-xml like this:
scala/scala-xml@9762438
@smarter smarter force-pushed the remove-xml branch 2 times, most recently from 6fd2811 to 117359c Compare June 3, 2019 17:33
smarter added 2 commits June 3, 2019 20:22
This is similar to what Scala 2 does.
This lead to runtime errors when running `scalatestTestDotty/test` in
scalatest, because scalatest depends on a different version of flexmark.
I'm not sure why these jars leaked into the runtime classpath (might be
an sbt bug) but it seems better to limit the compiler classpath to the
minimum needed anyway, so we now only add the dotty-doc dependencies
when running the `doc` task.
smarter added 2 commits June 3, 2019 20:48
Previously this failed because we picked multiple jars when we were only
excepting the binary jar.
Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@liufengyun liufengyun merged commit 3d64fd5 into scala:master Jun 3, 2019
@liufengyun liufengyun deleted the remove-xml branch June 3, 2019 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants