diff --git a/application/pom.xml b/application/pom.xml
index 55009709d1..4792dbf93a 100644
--- a/application/pom.xml
+++ b/application/pom.xml
@@ -193,8 +193,8 @@
logback-classic
- javax.mail
- mail
+ com.sun.mail
+ javax.mail
org.apache.curator
diff --git a/pom.xml b/pom.xml
index 9c1a1d54c6..524fb8ec3e 100755
--- a/pom.xml
+++ b/pom.xml
@@ -62,7 +62,7 @@
2.6.2
1.7
2.0
- 1.4.3
+ 1.6.2
4.2.0
3.5.5
3.11.4
@@ -587,8 +587,8 @@
${rabbitmq.version}
- javax.mail
- mail
+ com.sun.mail
+ javax.mail
${mail.version}
@@ -694,6 +694,12 @@
com.github.fge
json-schema-validator
${json-schema-validator.version}
+
+
+ javax.mail
+ mailapi
+
+
com.typesafe.akka
@@ -930,12 +936,6 @@
com.microsoft.azure
azure-servicebus
${azure-servicebus.version}
-
-
- com.microsoft.azure
- adal4j
-
-
org.passay
diff --git a/rule-engine/rule-engine-api/pom.xml b/rule-engine/rule-engine-api/pom.xml
index 2cc6bf8d64..3978251987 100644
--- a/rule-engine/rule-engine-api/pom.xml
+++ b/rule-engine/rule-engine-api/pom.xml
@@ -93,5 +93,10 @@
spring-data-redis
provided
+
+ com.sun.mail
+ javax.mail
+ provided
+