summaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorgjoranv <gv@oath.com>2017-08-31 12:25:30 +0200
committergjoranv <gv@oath.com>2017-09-08 12:52:20 +0200
commitffd4ca0ba19d3d805c360a8356f05095b138f2c0 (patch)
tree48882de01e43fc1fb3916cd4b6d07f76f51d1f0c /config-model
parent1983053bd66f712cb2d825b1cd9e566ef7fe341b (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. - Do not exclude scala-xml from config-bundle until the oldest active config model uses the new Java version of createClassName.
Diffstat (limited to 'config-model')
-rw-r--r--config-model/pom.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/config-model/pom.xml b/config-model/pom.xml
index 4da325a4dde..c1c08e6e702 100644
--- a/config-model/pom.xml
+++ b/config-model/pom.xml
@@ -308,6 +308,11 @@
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.scala-lang.modules</groupId>
+ <artifactId>scala-xml_${scala.major-version}</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>