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-bundle | |
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-bundle')
-rw-r--r-- | config-bundle/pom.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config-bundle/pom.xml b/config-bundle/pom.xml index 43c08aad726..618a12def22 100644 --- a/config-bundle/pom.xml +++ b/config-bundle/pom.xml @@ -33,6 +33,12 @@ <groupId>com.yahoo.vespa</groupId> <artifactId>configgen</artifactId> <version>${project.version}</version> + <exclusions> + <exclusion> + <groupId>org.scala-lang.modules</groupId> + <artifactId>scala-xml_${scala.major-version}</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> |