1
0
mirror of synced 2026-08-05 09:47:05 +00:00

SEC-2784: Fix build plugins

This commit is contained in:
Rob Winch
2014-12-08 14:24:34 -06:00
parent 5f5e7e7265
commit b56e5edbbd
46 changed files with 909 additions and 1326 deletions
+2 -2
View File
@@ -94,14 +94,14 @@ def customizePom(pom, gradleProject) {
def plugins = asNode().appendNode('build').appendNode('plugins')
plugins
.appendNode('plugin')
.appendNode('maven-compiler-plugin').parent()
.appendNode('artifactId','maven-compiler-plugin').parent()
.appendNode('configuration')
.appendNode('source','1.7').parent()
.appendNode('target','1.7')
if(isWar) {
plugins
.appendNode('plugin')
.appendNode('maven-war-plugin').parent()
.appendNode('artifactId','maven-war-plugin').parent()
.appendNode('version','2.3').parent()
.appendNode('configuration')
.appendNode('failOnMissingWebXml','false')