Skip to content

Commit a121f47

Browse files
committed
Add mima exclude filters for XMLEventReader
1 parent 67ac459 commit a121f47

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

build.sbt

+33-1
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,40 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform)
2828
import com.typesafe.tools.mima.core._
2929
import com.typesafe.tools.mima.core.ProblemFilters._
3030
Seq(
31+
// scala-xml 1.1.1 deprecated XMLEventReader, so it broke
32+
// binary compatibility for 2.0.0 in the following way:
33+
exclude[MissingClassProblem]("scala.xml.pull.EvComment"),
34+
exclude[MissingClassProblem]("scala.xml.pull.EvComment$"),
35+
exclude[MissingClassProblem]("scala.xml.pull.EvElemEnd"),
36+
exclude[MissingClassProblem]("scala.xml.pull.EvElemEnd$"),
37+
exclude[MissingClassProblem]("scala.xml.pull.EvElemStart"),
38+
exclude[MissingClassProblem]("scala.xml.pull.EvElemStart$"),
39+
exclude[MissingClassProblem]("scala.xml.pull.EvEntityRef"),
40+
exclude[MissingClassProblem]("scala.xml.pull.EvEntityRef$"),
41+
exclude[MissingClassProblem]("scala.xml.pull.EvProcInstr"),
42+
exclude[MissingClassProblem]("scala.xml.pull.EvProcInstr$"),
43+
exclude[MissingClassProblem]("scala.xml.pull.EvText"),
44+
exclude[MissingClassProblem]("scala.xml.pull.EvText$"),
45+
exclude[MissingClassProblem]("scala.xml.pull.ExceptionEvent"),
46+
exclude[MissingClassProblem]("scala.xml.pull.ExceptionEvent$"),
47+
exclude[MissingClassProblem]("scala.xml.pull.ProducerConsumerIterator"),
48+
exclude[MissingClassProblem]("scala.xml.pull.XMLEvent"),
49+
exclude[MissingClassProblem]("scala.xml.pull.XMLEventReader"),
50+
exclude[MissingClassProblem]("scala.xml.pull.XMLEventReader$POISON$"),
51+
exclude[MissingClassProblem]("scala.xml.pull.XMLEventReader$Parser"),
52+
exclude[MissingClassProblem]("scala.xml.pull.package"),
53+
exclude[MissingClassProblem]("scala.xml.pull.package$"),
54+
exclude[MissingTypesProblem]("scala.xml.Atom"),
55+
exclude[MissingTypesProblem]("scala.xml.Comment"),
56+
exclude[MissingTypesProblem]("scala.xml.Document"),
57+
exclude[MissingTypesProblem]("scala.xml.EntityRef"),
58+
exclude[MissingTypesProblem]("scala.xml.PCData"),
59+
exclude[MissingTypesProblem]("scala.xml.ProcInstr"),
60+
exclude[MissingTypesProblem]("scala.xml.SpecialNode"),
61+
exclude[MissingTypesProblem]("scala.xml.Text"),
62+
exclude[MissingTypesProblem]("scala.xml.Unparsed"),
3163
// Scala 2.12 deprecated mutable.Stack, so we broke
32-
// binary compatibility for 1.1.0 in the following way:
64+
// binary compatibility for 2.0.0 in the following way:
3365
exclude[IncompatibleMethTypeProblem]("scala.xml.parsing.FactoryAdapter.scopeStack_="),
3466
exclude[IncompatibleResultTypeProblem]("scala.xml.parsing.FactoryAdapter.hStack"),
3567
exclude[IncompatibleResultTypeProblem]("scala.xml.parsing.FactoryAdapter.scopeStack"),

0 commit comments

Comments
 (0)