diff options
author | Jon Bratseth <bratseth@verizonmedia.com> | 2019-03-23 12:29:18 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@verizonmedia.com> | 2019-03-23 12:29:18 +0100 |
commit | d94217824bbd6eca4de16f08d64cc5588f605d7c (patch) | |
tree | 116827b8e3be931f869140d0f1b4109eee9c74be /vespa-http-client/pom.xml | |
parent | 53ed5f39257f86b9cd761d125c964a9f92cfe85b (diff) |
Revert "Revert "Bratseth/remove dependencies" (#8885)"
This reverts commit 9379e425712abe71fcd2f406c139baf25a017108.
Diffstat (limited to 'vespa-http-client/pom.xml')
-rw-r--r-- | vespa-http-client/pom.xml | 85 |
1 files changed, 43 insertions, 42 deletions
diff --git a/vespa-http-client/pom.xml b/vespa-http-client/pom.xml index f98b39c70b1..b42c4c32a08 100644 --- a/vespa-http-client/pom.xml +++ b/vespa-http-client/pom.xml @@ -15,77 +15,78 @@ <description>Independent external feeding API towards Vespa.</description> <dependencies> - <dependency> - <groupId>com.google.code.findbugs</groupId> - <artifactId>annotations</artifactId> - </dependency> - <dependency> - <groupId>com.google.guava</groupId> - <artifactId>guava</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>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> </dependency> <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - <version>3.4</version> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> </dependency> <dependency> - <groupId>org.eclipse.jetty</groupId> - <artifactId>jetty-server</artifactId> - <scope>test</scope> + <groupId>com.fasterxml.jackson.dataformat</groupId> + <artifactId>jackson-dataformat-xml</artifactId> </dependency> <dependency> - <groupId>com.yahoo.vespa</groupId> - <artifactId>annotations</artifactId> - <version>${project.version}</version> + <groupId>io.airlift</groupId> + <artifactId>airline</artifactId> + <version>0.6</version> </dependency> + + <!-- Test dependencies --> <dependency> - <groupId>com.yahoo.vespa</groupId> - <artifactId>vespajlib</artifactId> - <version>${project.version}</version> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>3.4</version> + <scope>test</scope> </dependency> <dependency> - <groupId>com.yahoo.vespa</groupId> - <artifactId>component</artifactId> - <version>${project.version}</version> + <groupId>com.google.code.findbugs</groupId> + <artifactId>annotations</artifactId> + <scope>test</scope> </dependency> <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-all</artifactId> - <version>1.8.4</version> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-core</artifactId> <scope>test</scope> </dependency> <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-core</artifactId> + <groupId>uk.co.datumedge</groupId> + <artifactId>hamcrest-json</artifactId> + <scope>test</scope> </dependency> <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-databind</artifactId> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-library</artifactId> + <scope>test</scope> </dependency> <dependency> - <groupId>com.fasterxml.jackson.dataformat</groupId> - <artifactId>jackson-dataformat-xml</artifactId> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> </dependency> <dependency> - <groupId>io.airlift</groupId> - <artifactId>airline</artifactId> - <version>0.6</version> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-server</artifactId> + <scope>test</scope> </dependency> <dependency> - <groupId>com.yahoo.vespa</groupId> - <artifactId>testutil</artifactId> - <version>${project.version}</version> - <scope>test</scope> + <groupId>org.mockito</groupId> + <artifactId>mockito-all</artifactId> + <version>1.8.4</version> + <scope>test</scope> </dependency> + </dependencies> <build> <plugins> |