SEC-1907: Exclude crypto dependency in core module since classes are bundled in core

This commit is contained in:
Rob Winch 2012-07-05 13:56:47 -05:00
parent f2345fcb21
commit fde9142d8d
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ def customizePom(pom) {
if (p.artifactId == 'spring-security-core') {
p.dependencies.find { dep -> dep.artifactId == 'spring-jdbc'}.optional = true
p.dependencies.find { dep -> dep.artifactId == 'spring-tx'}.optional = true
p.dependencies.removeAll { dep -> dep.artifactId == 'spring-security-crypto' }
}
}