aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 984b2859ef..66a34e4bdf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -182,6 +182,9 @@
<test.java.home>${java.home}</test.java.home>
<test.exclude.tags></test.exclude.tags>
+ <!-- Package to use when relocating shaded classes. -->
+ <spark.shade.packageName>org.spark_project</spark.shade.packageName>
+
<!-- Modules that copy jars to the build directory should do so under this location. -->
<jars.target.dir>${project.build.directory}/scala-${scala.binary.version}/jars</jars.target.dir>
@@ -2204,14 +2207,14 @@
<relocations>
<relocation>
<pattern>org.eclipse.jetty</pattern>
- <shadedPattern>org.spark-project.jetty</shadedPattern>
+ <shadedPattern>${spark.shade.packageName}.jetty</shadedPattern>
<includes>
<include>org.eclipse.jetty.**</include>
</includes>
</relocation>
<relocation>
<pattern>com.google.common</pattern>
- <shadedPattern>org.spark-project.guava</shadedPattern>
+ <shadedPattern>${spark.shade.packageName}.guava</shadedPattern>
</relocation>
</relocations>
</configuration>