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 /config-bundle | |
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 'config-bundle')
-rw-r--r-- | config-bundle/pom.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config-bundle/pom.xml b/config-bundle/pom.xml index 43c08aad726..7121756ce68 100644 --- a/config-bundle/pom.xml +++ b/config-bundle/pom.xml @@ -33,6 +33,13 @@ <groupId>com.yahoo.vespa</groupId> <artifactId>configgen</artifactId> <version>${project.version}</version> + <!-- TODO: uncomment when the oldest available config-model uses the Java version of createClassName() + <exclusions> + <exclusion> + <groupId>org.scala-lang.modules</groupId> + <artifactId>scala-xml_${scala.major-version}</artifactId> + </exclusion> + </exclusions> --> </dependency> <dependency> <groupId>com.yahoo.vespa</groupId> |