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 /application | |
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 'application')
-rw-r--r-- | application/pom.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/application/pom.xml b/application/pom.xml index 2d9096e49f1..c5e8136628d 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -75,6 +75,11 @@ <version>${project.version}</version> <scope>test</scope> </dependency> + <dependency> + <groupId>org.scala-lang.modules</groupId> + <artifactId>scala-xml_${scala.major-version}</artifactId> + <scope>test</scope> + </dependency> <!-- All dependencies that should be visible in test classpath, but not compile classpath, for user projects must be added in compile scope here. |