diff options
author | gjoranv <gv@oath.com> | 2017-08-31 12:25:30 +0200 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2017-09-08 12:52:20 +0200 |
commit | ffd4ca0ba19d3d805c360a8356f05095b138f2c0 (patch) | |
tree | 48882de01e43fc1fb3916cd4b6d07f76f51d1f0c /container-dev | |
parent | 1983053bd66f712cb2d825b1cd9e566ef7fe341b (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 'container-dev')
-rw-r--r-- | container-dev/pom.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/container-dev/pom.xml b/container-dev/pom.xml index f435a223e9a..7eef70f59e0 100644 --- a/container-dev/pom.xml +++ b/container-dev/pom.xml @@ -139,6 +139,13 @@ <groupId>com.yahoo.vespa</groupId> <artifactId>config-bundle</artifactId> <version>${project.version}</version> + <exclusions> + <exclusion> + <!-- TODO: Remove exclusion when scala-xml is excluded in config-bundle pom --> + <groupId>org.scala-lang.modules</groupId> + <artifactId>scala-xml_${scala.major-version}</artifactId> + </exclusion> + </exclusions> </dependency> <!-- Dependencies below are added explicitly to exclude transitive deps that are not provided runtime by the container, |