From 27a42c7108ced48a7f558990de2e4fc7ed340119 Mon Sep 17 00:00:00 2001 From: Josh Rosen Date: Wed, 30 Dec 2015 12:47:42 -0800 Subject: [SPARK-10359] Enumerate dependencies in a file and diff against it for new pull requests This patch adds a new build check which enumerates Spark's resolved runtime classpath and saves it to a file, then diffs against that file to detect whether pull requests have introduced dependency changes. The aim of this check is to make it simpler to reason about whether pull request which modify the build have introduced new dependencies or changed transitive dependencies in a way that affects the final classpath. This supplants the checks added in SPARK-4123 / #5093, which are currently disabled due to bugs. This patch is based on pwendell's work in #8531. Closes #8531. Author: Josh Rosen Author: Patrick Wendell Closes #10461 from JoshRosen/SPARK-10359. --- pom.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 284c219519..62ea829b1d 100644 --- a/pom.xml +++ b/pom.xml @@ -2113,6 +2113,23 @@ maven-deploy-plugin 2.8.2 + + org.apache.maven.plugins + maven-dependency-plugin + + + default-cli + + build-classpath + + + + runtime + + + + -- cgit v1.2.3