Polish spring-ws-support's dependencies
Use separate API and implementation dependencies for JavaMail. This paves the way for JavaMail 1.5 where javax.mail:mail is no more. Exclude the mail dependency from mock-javamail to avoid having multiple copies on the classpath Exclude the Geronimo JMS spec from ActiveMQ as the official java.jms:jms-api artifact is already available
This commit is contained in:
13
build.gradle
13
build.gradle
@@ -194,12 +194,17 @@ project('spring-ws-support') {
|
||||
|
||||
// Transport
|
||||
provided("javax.jms:jms-api:1.1-rev-1")
|
||||
provided("javax.mail:mail:1.4.7")
|
||||
provided("javax.mail:javax.mail-api:1.4.7")
|
||||
provided("com.sun.mail:javax.mail:1.4.7")
|
||||
optional("jivesoftware:smack:3.1.0")
|
||||
testCompile("commons-httpclient:commons-httpclient:3.1")
|
||||
testRuntime("org.apache.activemq:activemq-core:4.1.2")
|
||||
testCompile("org.jvnet.mock-javamail:mock-javamail:1.6")
|
||||
}
|
||||
testRuntime("org.apache.activemq:activemq-core:4.1.2") {
|
||||
exclude group:'org.apache.geronimo.specs', module:'geronimo-jms_1.1_spec'
|
||||
}
|
||||
testCompile("org.jvnet.mock-javamail:mock-javamail:1.6") {
|
||||
exclude group:'javax.mail', module:'mail'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
project('spring-ws-security') {
|
||||
|
||||
Reference in New Issue
Block a user