From 26c060973917c337682a0bdd22acd00fcab062cc Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Thu, 23 Apr 2015 17:13:35 -0500 Subject: [PATCH] LDAP-325: Update the poms --- gradle/maven-deployment.gradle | 16 ++--- samples/odm/pom.xml | 105 ++++++++++++++++----------------- samples/plain/pom.xml | 105 ++++++++++++++++----------------- samples/user-admin/pom.xml | 63 ++++++++++---------- 4 files changed, 144 insertions(+), 145 deletions(-) diff --git a/gradle/maven-deployment.gradle b/gradle/maven-deployment.gradle index 570a1888..ec35993a 100644 --- a/gradle/maven-deployment.gradle +++ b/gradle/maven-deployment.gradle @@ -92,13 +92,7 @@ def customizePom(pom, gradleProject) { .appendNode('configuration') .appendNode('source', '1.6').parent() .appendNode('target','1.6') - .appendNode('plugin') - .appendNode('groupId','org.mortbay.jetty').parent() - .appendNode('artifactId','jetty-maven-plugin').parent() - .appendNode('version','8.1.14.v20131031').parent() - .appendNode('configuration') - .appendNode('webAppConfig') - .appendNode('contextPath',"/" + projectName) + if(isWar) { plugins .appendNode('plugin') @@ -106,6 +100,14 @@ def customizePom(pom, gradleProject) { .appendNode('version','2.3').parent() .appendNode('configuration') .appendNode('failOnMissingWebXml','false') + plugins + .appendNode('plugin') + .appendNode('groupId','org.mortbay.jetty').parent() + .appendNode('artifactId','jetty-maven-plugin').parent() + .appendNode('version','8.1.14.v20131031').parent() + .appendNode('configuration') + .appendNode('webAppConfig') + .appendNode('contextPath',"/" + projectName) } } } diff --git a/samples/odm/pom.xml b/samples/odm/pom.xml index 922e4cf7..81e6d18e 100644 --- a/samples/odm/pom.xml +++ b/samples/odm/pom.xml @@ -1,10 +1,9 @@ - + 4.0.0 org.springframework.ldap spring-ldap-odm-sample - 2.0.1.CI-SNAPSHOT + 2.0.3.CI-SNAPSHOT war spring-ldap-odm-sample spring-ldap-odm-sample @@ -66,6 +65,56 @@ scm:git:git://github.com/SpringSource/spring-ldap https://github.com/SpringSource/spring-ldap + + + spring-snasphot + http://repo.springsource.org/libs-snapshot + + + + + org.springframework + spring-webmvc + 3.2.8.RELEASE + compile + + + ch.qos.logback + logback-classic + 1.0.13 + runtime + + + org.springframework.ldap + spring-ldap-test + 2.0.3.CI-SNAPSHOT + compile + + + javax.servlet + jstl + 1.2 + compile + + + org.springframework + spring-test + 3.2.8.RELEASE + test + + + junit + junit + 4.10 + test + + + org.springframework + spring-context + 3.2.8.RELEASE + compile + + @@ -94,54 +143,4 @@ - - - spring-snasphot - http://repo.springsource.org/libs-snapshot - - - - - org.springframework - spring-webmvc - 3.2.8.RELEASE - compile - - - ch.qos.logback - logback-classic - 1.0.13 - runtime - - - org.springframework.ldap - spring-ldap-test - 2.0.1.CI-SNAPSHOT - compile - - - javax.servlet - jstl - 1.2 - compile - - - org.springframework - spring-test - 3.2.8.RELEASE - test - - - junit - junit - 4.10 - test - - - org.springframework - spring-context - 3.2.8.RELEASE - compile - - diff --git a/samples/plain/pom.xml b/samples/plain/pom.xml index b8c980de..876524a0 100644 --- a/samples/plain/pom.xml +++ b/samples/plain/pom.xml @@ -1,10 +1,9 @@ - + 4.0.0 org.springframework.ldap spring-ldap-plain-sample - 2.0.1.CI-SNAPSHOT + 2.0.3.CI-SNAPSHOT war spring-ldap-plain-sample spring-ldap-plain-sample @@ -66,6 +65,56 @@ scm:git:git://github.com/SpringSource/spring-ldap https://github.com/SpringSource/spring-ldap + + + spring-snasphot + http://repo.springsource.org/libs-snapshot + + + + + org.springframework + spring-webmvc + 3.2.8.RELEASE + compile + + + ch.qos.logback + logback-classic + 1.0.13 + runtime + + + org.springframework.ldap + spring-ldap-test + 2.0.3.CI-SNAPSHOT + compile + + + javax.servlet + jstl + 1.2 + compile + + + org.springframework + spring-test + 3.2.8.RELEASE + test + + + junit + junit + 4.10 + test + + + org.springframework + spring-context + 3.2.8.RELEASE + compile + + @@ -94,54 +143,4 @@ - - - spring-snasphot - http://repo.springsource.org/libs-snapshot - - - - - org.springframework - spring-webmvc - 3.2.8.RELEASE - compile - - - ch.qos.logback - logback-classic - 1.0.13 - runtime - - - org.springframework.ldap - spring-ldap-test - 2.0.1.CI-SNAPSHOT - compile - - - javax.servlet - jstl - 1.2 - compile - - - org.springframework - spring-test - 3.2.8.RELEASE - test - - - junit - junit - 4.10 - test - - - org.springframework - spring-context - 3.2.8.RELEASE - compile - - diff --git a/samples/user-admin/pom.xml b/samples/user-admin/pom.xml index 1a6c14fe..26b0cd54 100644 --- a/samples/user-admin/pom.xml +++ b/samples/user-admin/pom.xml @@ -1,10 +1,9 @@ - + 4.0.0 org.springframework.ldap spring-ldap-user-admin-sample - 2.0.1.CI-SNAPSHOT + 2.0.3.CI-SNAPSHOT war spring-ldap-user-admin-sample spring-ldap-user-admin-sample @@ -66,34 +65,6 @@ scm:git:git://github.com/SpringSource/spring-ldap https://github.com/SpringSource/spring-ldap - - - - maven-compiler-plugin - - 1.6 - 1.6 - - - - maven-war-plugin - 2.3 - - false - - - - org.mortbay.jetty - jetty-maven-plugin - 8.1.14.v20131031 - - - /spring-ldap-user-admin-sample - - - - - spring-snasphot @@ -122,7 +93,7 @@ org.springframework.ldap spring-ldap-test - 2.0.1.CI-SNAPSHOT + 2.0.3.CI-SNAPSHOT compile @@ -156,4 +127,32 @@ compile + + + + maven-compiler-plugin + + 1.6 + 1.6 + + + + maven-war-plugin + 2.3 + + false + + + + org.mortbay.jetty + jetty-maven-plugin + 8.1.14.v20131031 + + + /spring-ldap-user-admin-sample + + + + +