SEC-2927: No Dependency Management for Bom

This commit is contained in:
Rob Winch 2015-04-20 17:06:01 -05:00
parent a1ff94a34e
commit 7000652fd1

View File

@ -70,6 +70,8 @@ def customizePom(pom, gradleProject) {
email = 'rwinch@gopivotal.com'
}
}
if(!gradleProject.name.endsWith('-bom')) {
dependencyManagement {
dependencies {
dependency {
@ -81,6 +83,7 @@ def customizePom(pom, gradleProject) {
}
}
}
}
if(isWar) {
properties {
'm2eclipse.wtp.contextRoot' '/' + project.war.baseName