Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds support for package level filter such as:
Changes the config loading to use a default config, to
avoid errors if we load a whitelist that only has one of
problems
orpackages
.Tested manually with the build from Scala 2.10.2.
Procedure:
Publish modified version of MiMa to my local maven repo:
sbt> set every publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/.m2/repository")))
sbt> publish
Point to the new version in mima.classpath in scala/scala's build.xml
Induce a BC failure (actually its enough to build without -optimize,
ant build test.bc
)Filter this out with
packages = ["scala.xml"]
.Confirm that the problem isn't filtered if:
packages
section is omitted entirelypackages
section exists, but is emptypackages
section contains "scala.xm" or "scala.xmllll"Review by @gkossakowski