diff --git a/pom.xml b/pom.xml
index 8706f68b..919040c6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -154,17 +154,22 @@
matrix-project
test
+
org.jvnet.mock-javamail
mock-javamail
- 1.9
- test
-
-
- javax.mail
- mail
-
-
+ 1.12
+ test
+
+
+
+ io.jenkins.plugins
+ javax-mail-api
+ 1.6.2-5
org.jenkins-ci.main