summaryrefslogtreecommitdiffstats
path: root/http-client/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'http-client/pom.xml')
-rw-r--r--http-client/pom.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/http-client/pom.xml b/http-client/pom.xml
index ebe83a80903..75e9bdc27cb 100644
--- a/http-client/pom.xml
+++ b/http-client/pom.xml
@@ -11,6 +11,7 @@
<version>7-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
+ <packaging>container-plugin</packaging>
<artifactId>http-client</artifactId>
<description>HTTP client wrapper around an Apache http client 5</description>
@@ -24,6 +25,12 @@
<dependency>
<groupId>com.yahoo.vespa</groupId>
+ <artifactId>annotations</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.yahoo.vespa</groupId>
<artifactId>container-apache-http-client-bundle</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
@@ -59,5 +66,20 @@
<scope>test</scope>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
</project>