aboutsummaryrefslogtreecommitdiff
path: root/sql/catalyst/pom.xml
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2016-04-11 10:53:26 -0700
committerJakob Odersky <jakob@odersky.com>2017-04-24 14:09:49 -0700
commitacf922a355ed21bb6ef56eb94c11802980faff65 (patch)
tree986e88827d7fed298df09488dedc3f7a22b1d949 /sql/catalyst/pom.xml
parent875c73b60a6fce9108e54fff5b6eedfafb39a9ce (diff)
downloadspark-acf922a355ed21bb6ef56eb94c11802980faff65.tar.gz
spark-acf922a355ed21bb6ef56eb94c11802980faff65.tar.bz2
spark-acf922a355ed21bb6ef56eb94c11802980faff65.zip
Update Josh's changes for minimal REPL with scala 2.12
Diffstat (limited to 'sql/catalyst/pom.xml')
-rw-r--r--sql/catalyst/pom.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/catalyst/pom.xml b/sql/catalyst/pom.xml
index 765c92b8d3..a91fd22e93 100644
--- a/sql/catalyst/pom.xml
+++ b/sql/catalyst/pom.xml
@@ -100,6 +100,20 @@
<artifactId>commons-codec</artifactId>
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>scala-2.12</id>
+ <activation>
+ <property><name>scala-2.12</name></property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>org.scala-lang.modules</groupId>
+ <artifactId>scala-parser-combinators_${scala.binary.version}</artifactId>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
<build>
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>