diff options
author | gjoranv <gv@oath.com> | 2017-08-31 12:25:30 +0200 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2017-08-31 16:42:19 +0200 |
commit | 2bcc584022f761efa9968a3c126608b559b8fedb (patch) | |
tree | 55886bc3e9be78b82971e9f06884ca98d7e5099d /config-model/pom.xml | |
parent | f6ec274aab8d1b4d2ac25c104bc5a603dc4156ff (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> |