summaryrefslogtreecommitdiff
path: root/src/build/maven/scala-dist-pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/maven/scala-dist-pom.xml')
-rw-r--r--src/build/maven/scala-dist-pom.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/build/maven/scala-dist-pom.xml b/src/build/maven/scala-dist-pom.xml
index c9c63ac647..413da928bb 100644
--- a/src/build/maven/scala-dist-pom.xml
+++ b/src/build/maven/scala-dist-pom.xml
@@ -39,6 +39,17 @@
<artifactId>scala-compiler</artifactId>
<version>@VERSION@</version>
</dependency>
+ <!-- duplicated from scala-compiler, where it's optional,
+ so that resolving scala-dist's transitive dependencies does not include jline,
+ even though we need to include it in the dist, but macros depending on the compiler
+ shouldn't have to require jline...
+ another reason to modularize and move the dependency to scala-compiler-repl
+ TODO: remove duplication once we have the scala-compiler-repl module -->
+ <dependency>
+ <groupId>jline</groupId>
+ <artifactId>jline</artifactId>
+ <version>@JLINE_VERSION@</version>
+ </dependency>
</dependencies>
<distributionManagement>
<repository>