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 circular dependency exclude rule #126

Merged
merged 1 commit into from
Apr 28, 2017

Conversation

ashawley
Copy link
Member

@ashawley ashawley commented Dec 17, 2016

Seems there's no evidence that SBT supports Ivy's exclude globbing even though it was trying to be used to exclude scala-xml from scala-compiler as a test dependency. See Ivy documentation http://ant.apache.org/ivy/history/2.4.0/ivyfile/artifact-exclude.html

This will revert forking for test in #112.

@SethTisue
Copy link
Member

SethTisue commented Feb 4, 2017

needs rebase now. this LGTM otherwise and I would suggest we merge in a few days if there are no objections

@ashawley ashawley force-pushed the enable-test-forking branch from 99e5200 to afeefa0 Compare February 7, 2017 22:21
@ashawley ashawley force-pushed the enable-test-forking branch from afeefa0 to 4f30084 Compare February 15, 2017 23:31
@lrytz
Copy link
Member

lrytz commented Apr 25, 2017

I don't understand this PR: the title says "Enable test forking", but the patch removes fork in Test := true.

Note that scalaModuleSettings already sets fork in Test := true (https://github.com/scala/sbt-scala-modules/blob/v1.0.8/src/main/scala/ScalaModulePlugin.scala#L104-L109) - can we get rid of this functionality?

@ashawley
Copy link
Member Author

@lrytz I agree. This PR is totally confused. That it's enabled in the plugin maybe explains my misunderstanding.

I'll rename this PR, and reword the commits.

@ashawley ashawley changed the title Enable test forking Fix circular dependency exclude rule Apr 25, 2017
@ashawley ashawley force-pushed the enable-test-forking branch 3 times, most recently from 3e84847 to 4c3504d Compare April 26, 2017 03:41
* build.sbt (libraryDependencies): There's no evidence that SBT
supports Ivy's exclude globbing.  See Ivy documentation
http://ant.apache.org/ivy/history/2.4.0/ivyfile/artifact-exclude.html
@ashawley ashawley force-pushed the enable-test-forking branch from 4c3504d to 006afa4 Compare April 28, 2017 14:13
@ashawley
Copy link
Member Author

The fork setting is already removed by #145, so this is only the dependency exclude rule, now.

Copy link
Member

@lrytz lrytz left a comment

Choose a reason for hiding this comment

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

looks good!

@ashawley ashawley closed this Apr 28, 2017
@ashawley ashawley reopened this Apr 28, 2017
@ashawley ashawley merged commit 8495b63 into scala:master Apr 28, 2017
ashawley added a commit to ashawley/scala-xml that referenced this pull request Jan 10, 2018
Despite my effort in scala#126, the exclude rule was using the full scala
version number, when it should only be the binary version, e.g. 2.12
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.

3 participants