summaryrefslogtreecommitdiffstats
path: root/container-documentapi
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2020-06-30 02:00:47 +0200
committergjoranv <gv@verizonmedia.com>2020-06-30 02:00:47 +0200
commit9a2a89d7d7fef5b426d82f290109fb67e8bc7fdf (patch)
tree1f6a725001aed13e3da83f80344616ac650949e1 /container-documentapi
parentd696e207ac858da0e9c0b305a233ecdb2063d634 (diff)
Add a separate module for documentapi dependencies.
- Makes the poms maintainable. - Yields correct Import-Packages for container-documentapi
Diffstat (limited to 'container-documentapi')
-rw-r--r--container-documentapi/pom.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/container-documentapi/pom.xml b/container-documentapi/pom.xml
index 5a22b20f9d6..004ef75a4b6 100644
--- a/container-documentapi/pom.xml
+++ b/container-documentapi/pom.xml
@@ -16,7 +16,7 @@
<dependencies>
<dependency>
- <!-- TODO: this is instead of moving the java code in documentapi to this module,
+ <!-- NOTE: this is instead of moving the java code in documentapi to this module (and turning the deps around),
which is made difficult by using common test files with the C++ code. -->
<groupId>com.yahoo.vespa</groupId>
<artifactId>documentapi</artifactId>
@@ -29,6 +29,14 @@
</exclusions>
</dependency>
+ <dependency>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>documentapi-dependencies</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>provided</scope>
+ </dependency>
+
</dependencies>
<build>