diff options
author | gjoranv <gv@oath.com> | 2017-08-31 12:25:30 +0200 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2017-09-07 10:47:36 +0200 |
commit | 50c7d92793f5faf5fedada7e854e50f40c36b35b (patch) | |
tree | 975a3b4581062d2155596a1567a0e54e43f6bf9a /config-model/pom.xml | |
parent | de8c68fc845fd90f1c93c9003b99edd9967ade6a (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 'config-model/pom.xml')
-rw-r--r-- | config-model/pom.xml | 5 |
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> |