diff --git a/pom.xml b/pom.xml
index 09f656ae2f850d41344a7f92104c00f4e71cdcdf..11af3368334cfc59612dfd4c6e85773a8a9cdd22 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,24 +51,6 @@
<version>3.0.9.Final</version>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <version>2.1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.mail</groupId>
- <artifactId>javax.mail-api</artifactId>
- <version>1.5.1</version>
- <scope>provided</scope>
- </dependency>
<dependency>
<groupId>no.nibio.vips.common</groupId>
<artifactId>VIPSCommon</artifactId>
@@ -81,6 +63,12 @@
<version>0.9.9</version>
<type>jar</type>
</dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient</artifactId>
+ <version>4.5.2</version>
+ <type>jar</type>
+ </dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
@@ -150,6 +138,14 @@
<artifactId>javaee-web-api</artifactId>
<version>7.0</version>
<type>jar</type>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax</groupId>
+ <artifactId>javaee-api</artifactId>
+ <version>7.0</version>
+ <type>jar</type>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>