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).
This commit is contained in:
Gary Russell
2014-08-23 14:14:40 -04:00
parent 00c404f383
commit 9766c8b4e7

View File

@@ -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