summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorgjoranv <gv@oath.com>2017-08-31 12:25:30 +0200
committergjoranv <gv@oath.com>2017-09-07 10:47:36 +0200
commit50c7d92793f5faf5fedada7e854e50f40c36b35b (patch)
tree975a3b4581062d2155596a1567a0e54e43f6bf9a /application
parentde8c68fc845fd90f1c93c9003b99edd9967ade6a (diff)
Exclude scala-xml from provided classpath
- To prevent import-package for its packages. - scala-xml is only used to generate config classes, and is not needed or provided runtime. - Add scala-xml in scope test where it's used in unit tests.
Diffstat (limited to 'application')
-rw-r--r--application/pom.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/application/pom.xml b/application/pom.xml
index 2d9096e49f1..c5e8136628d 100644
--- a/application/pom.xml
+++ b/application/pom.xml
@@ -75,6 +75,11 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.scala-lang.modules</groupId>
+ <artifactId>scala-xml_${scala.major-version}</artifactId>
+ <scope>test</scope>
+ </dependency>
<!-- All dependencies that should be visible in test classpath, but not compile classpath,
for user projects must be added in compile scope here.