summaryrefslogtreecommitdiffstats
path: root/vespa-http-client/pom.xml
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@verizonmedia.com>2019-03-22 14:17:06 +0100
committerJon Bratseth <bratseth@verizonmedia.com>2019-03-22 14:17:06 +0100
commit90cc2bce893af67d0fbb6b16ea29276d9ee5573a (patch)
tree806e2b61943d9f83524469c032061e380bcfbca6 /vespa-http-client/pom.xml
parent0f16f5bb7869dec2f2c4677d3b3e07d1ec788408 (diff)
Remove testutils dependency
Diffstat (limited to 'vespa-http-client/pom.xml')
-rw-r--r--vespa-http-client/pom.xml63
1 files changed, 41 insertions, 22 deletions
diff --git a/vespa-http-client/pom.xml b/vespa-http-client/pom.xml
index 34392548de7..9cccaea0950 100644
--- a/vespa-http-client/pom.xml
+++ b/vespa-http-client/pom.xml
@@ -15,10 +15,12 @@
<description>Independent external feeding API towards Vespa.</description>
<dependencies>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>annotations</artifactId>
- </dependency>
+
+ <!-- NOTE: Adding dependencies here may break clients because this is used outside an OSGi container with
+ manually set up classpaths and possibly no access to the with-dependencies jar.
+
+ Vespa dependencies should not be added.
+ -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
@@ -33,20 +35,9 @@
<version>3.4</version>
</dependency>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-server</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- <version>1.8.4</version>
- <scope>test</scope>
+ <groupId>uk.co.datumedge</groupId>
+ <artifactId>hamcrest-json</artifactId>
+ <scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
@@ -65,12 +56,40 @@
<artifactId>airline</artifactId>
<version>0.6</version>
</dependency>
+
+ <!-- Test dependencies -->
<dependency>
- <groupId>com.yahoo.vespa</groupId>
- <artifactId>testutil</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>annotations</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-library</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-server</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <version>1.8.4</version>
+ <scope>test</scope>
+ </dependency>
+
</dependencies>
<build>
<plugins>