From 9766c8b4e7c66b116d9bc9fe076afc4459e71202 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Sat, 23 Aug 2014 14:14:40 -0400 Subject: [PATCH] Fix JavaMail Dependency `ImapMessage` has a direct dependency on `ReadableMime`. It is not clear why this started failing only on the MJATS41 build but changing the `mailapi` dependency to `compile` fixes it (tested by pointing the plan to my repo). --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 32e4cec77d..8cfac1eada 100644 --- a/build.gradle +++ b/build.gradle @@ -444,8 +444,8 @@ project('spring-integration-mail') { compile "org.springframework:spring-context-support:$springVersion" compile("javax.mail:javax.mail-api:$javaxMailVersion", provided) compile("com.sun.mail:imap:$javaxMailVersion", provided) + compile("com.sun.mail:mailapi:$javaxMailVersion", provided); compile("javax.activation:activation:$javaxActivationVersion", optional) - testRuntime "com.sun.mail:mailapi:$javaxMailVersion" } // suppress javax.activation path warnings