[SPARK-16476] Restructure MimaExcludes for easier union excludes ## What changes were proposed in this pull request? It is currently fairly difficult to have proper mima excludes when we cut a version branch. I'm proposing a small change to take the exclude list out of the exclude function, and put it in a variable so we can easily union excludes.
After this change, we can bump pom.xml version to 2.1.0-SNAPSHOT, without bumping the diff base version. Note that I also deleted all the exclude rules for version 1.x, to cut down the size of the file. ## How was this patch tested? N/A - this is a build infra change. Author: Reynold Xin <[email protected]> Closes #14128 from rxin/SPARK-16476. (cherry picked from commit 52b5bb0b7fabe6cc949f514c548f9fbc6a4fa181) Signed-off-by: Reynold Xin <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/139d5eae Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/139d5eae Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/139d5eae Branch: refs/heads/branch-2.0 Commit: 139d5eae038d846081e8c92518bdf7923d984afa Parents: a33643c Author: Reynold Xin <[email protected]> Authored: Sun Jul 10 22:05:16 2016 -0700 Committer: Reynold Xin <[email protected]> Committed: Sun Jul 10 22:05:22 2016 -0700 ---------------------------------------------------------------------- project/MimaExcludes.scala | 2270 +++++++++++++-------------------------- 1 file changed, 744 insertions(+), 1526 deletions(-) ---------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
