summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/pom.xml5
-rw-r--r--config-bundle/pom.xml7
-rw-r--r--config-model/pom.xml5
-rwxr-xr-xconfig/pom.xml5
-rw-r--r--configgen/src/main/scala/com/yahoo/config/codegen/ConfigGenerator.scala2
-rw-r--r--container-dev/pom.xml7
-rw-r--r--standalone-container/pom.xml5
7 files changed, 35 insertions, 1 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.
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>
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>
diff --git a/config/pom.xml b/config/pom.xml
index af6afe0f6a6..f73c5b7bfd8 100755
--- a/config/pom.xml
+++ b/config/pom.xml
@@ -87,6 +87,11 @@
<groupId>net.jpountz.lz4</groupId>
<artifactId>lz4</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.scala-lang.modules</groupId>
+ <artifactId>scala-xml_${scala.major-version}</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<profiles>
<profile>
diff --git a/configgen/src/main/scala/com/yahoo/config/codegen/ConfigGenerator.scala b/configgen/src/main/scala/com/yahoo/config/codegen/ConfigGenerator.scala
index f6876affe5d..391e1f0a0ef 100644
--- a/configgen/src/main/scala/com/yahoo/config/codegen/ConfigGenerator.scala
+++ b/configgen/src/main/scala/com/yahoo/config/codegen/ConfigGenerator.scala
@@ -452,7 +452,7 @@ object ConfigGenerator {
/**
* Deprecated!
- * TODO: Remove when no longer used in config-model
+ * TODO: Remove when no longer used by the oldest available config-model.
*/
@deprecated("Use ConfiggenUtil.createClassName() instead", "6.143")
def createClassName(defName: String): String = {
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,
diff --git a/standalone-container/pom.xml b/standalone-container/pom.xml
index 85a401d6af3..9300181e00b 100644
--- a/standalone-container/pom.xml
+++ b/standalone-container/pom.xml
@@ -68,6 +68,11 @@
<artifactId>junit</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>