aboutsummaryrefslogtreecommitdiff
path: root/repl/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'repl/pom.xml')
-rw-r--r--repl/pom.xml19
1 files changed, 14 insertions, 5 deletions
diff --git a/repl/pom.xml b/repl/pom.xml
index 370b2bc2fa..70c9bd7c01 100644
--- a/repl/pom.xml
+++ b/repl/pom.xml
@@ -39,11 +39,6 @@
<dependencies>
<dependency>
- <groupId>${jline.groupid}</groupId>
- <artifactId>jline</artifactId>
- <version>${jline.version}</version>
- </dependency>
- <dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_${scala.binary.version}</artifactId>
<version>${project.version}</version>
@@ -162,6 +157,20 @@
</build>
<profiles>
<profile>
+ <id>scala-2.10</id>
+ <activation>
+ <property><name>!scala-2.11</name></property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>${jline.groupid}</groupId>
+ <artifactId>jline</artifactId>
+ <version>${jline.version}</version>
+ </dependency>
+ </dependencies>
+ </profile>
+
+ <profile>
<id>scala-2.11</id>
<activation>
<property><name>scala-2.11</name></property>