diff --git a/mvn-build/acegi-support/pom.xml b/mvn-build/acegi-support/pom.xml index 0758029c..a7f96135 100644 --- a/mvn-build/acegi-support/pom.xml +++ b/mvn-build/acegi-support/pom.xml @@ -1,15 +1,17 @@ - - 4.0.0 - org.springframework.ldap - spring-ldap-acegi-support - Spring LDAP Acegi Support - 1.2.2-SNAPSHOT + + org.springframework.ldap - master - 1.2.2-SNAPSHOT + spring-ldap-parent + 1.3-SNAPSHOT + 4.0.0 + spring-ldap-acegi-support + jar + Spring LDAP Acegi Support @@ -20,153 +22,36 @@ 1.4 - - maven-assembly-plugin - - - - src/assemble/bin-with-dependencies.xml - - - - - org.springframework.ldap - spring-ldap - 1.2.2-SNAPSHOT + spring-ldap-core commons-logging commons-logging - 1.0.4 org.acegisecurity acegi-security - 1.0.7 provided - - - aspectj - aspectj - - - cas - casclient - - - commons-codec - commons-codec - - - commons-collections - commons-collections - - - commons-lang - commons-lang - - - commons-logging - commons-logging - - - hsqldb - hsqldb - - - javax.servlet - jsp-api - - - javax.servlet - servlet-api - - - jmock - jmock - - - log4j - log4j - - - net.sj.ehcache - ehcache - - - org.apache.directory.server - apacheds-core - - - org.slf4j - slf4j-log4j12 - - - org.springframework - spring-core - - - org.springframework - spring-jdbc - - - org.springframework - spring-ldap - - - org.springframework - spring-mock - - - org.springframework - spring-remoting - - - org.springframework - spring-support - - - org.springframework - spring-web - - - oro - oro - - - taglibs - standard - - junit junit - 3.8.2 test easymock easymock - 1.2_Java1.3 - test - - - junit - junit - 3.8.2 test org.springframework spring-core - ${spring.version} test diff --git a/mvn-build/tiger/pom.xml b/mvn-build/core-tiger/pom.xml similarity index 63% rename from mvn-build/tiger/pom.xml rename to mvn-build/core-tiger/pom.xml index 40559709..c59f8cb1 100644 --- a/mvn-build/tiger/pom.xml +++ b/mvn-build/core-tiger/pom.xml @@ -2,17 +2,16 @@ - 4.0.0 - org.springframework.ldap - spring-ldap-tiger - Spring LDAP Java 5 support - 1.2.2-SNAPSHOT org.springframework.ldap - master - 1.2.2-SNAPSHOT + spring-ldap-parent + 1.3-SNAPSHOT + 4.0.0 + spring-ldap-core-tiger + jar + Spring LDAP Java 5 support @@ -24,16 +23,6 @@ 1.5 - - maven-assembly-plugin - - - - src/assemble/bin-with-source.xml - - - - @@ -41,13 +30,11 @@ org.springframework.ldap - spring-ldap - 1.2.2-SNAPSHOT + spring-ldap-core junit junit - 3.8.2 test diff --git a/mvn-build/tiger/src/assemble/bin-with-source.xml b/mvn-build/core-tiger/src/assemble/bin-with-source.xml similarity index 100% rename from mvn-build/tiger/src/assemble/bin-with-source.xml rename to mvn-build/core-tiger/src/assemble/bin-with-source.xml diff --git a/mvn-build/tiger/src/main/java/org/springframework/ldap/core/simple/AbstractParameterizedContextMapper.java b/mvn-build/core-tiger/src/main/java/org/springframework/ldap/core/simple/AbstractParameterizedContextMapper.java similarity index 100% rename from mvn-build/tiger/src/main/java/org/springframework/ldap/core/simple/AbstractParameterizedContextMapper.java rename to mvn-build/core-tiger/src/main/java/org/springframework/ldap/core/simple/AbstractParameterizedContextMapper.java diff --git a/mvn-build/tiger/src/main/java/org/springframework/ldap/core/simple/ParameterizedContextMapper.java b/mvn-build/core-tiger/src/main/java/org/springframework/ldap/core/simple/ParameterizedContextMapper.java similarity index 100% rename from mvn-build/tiger/src/main/java/org/springframework/ldap/core/simple/ParameterizedContextMapper.java rename to mvn-build/core-tiger/src/main/java/org/springframework/ldap/core/simple/ParameterizedContextMapper.java diff --git a/mvn-build/tiger/src/main/java/org/springframework/ldap/core/simple/SimpleLdapOperations.java b/mvn-build/core-tiger/src/main/java/org/springframework/ldap/core/simple/SimpleLdapOperations.java similarity index 100% rename from mvn-build/tiger/src/main/java/org/springframework/ldap/core/simple/SimpleLdapOperations.java rename to mvn-build/core-tiger/src/main/java/org/springframework/ldap/core/simple/SimpleLdapOperations.java diff --git a/mvn-build/tiger/src/main/java/org/springframework/ldap/core/simple/SimpleLdapTemplate.java b/mvn-build/core-tiger/src/main/java/org/springframework/ldap/core/simple/SimpleLdapTemplate.java similarity index 100% rename from mvn-build/tiger/src/main/java/org/springframework/ldap/core/simple/SimpleLdapTemplate.java rename to mvn-build/core-tiger/src/main/java/org/springframework/ldap/core/simple/SimpleLdapTemplate.java diff --git a/mvn-build/tiger/src/main/java/org/springframework/ldap/core/simple/package.html b/mvn-build/core-tiger/src/main/java/org/springframework/ldap/core/simple/package.html similarity index 100% rename from mvn-build/tiger/src/main/java/org/springframework/ldap/core/simple/package.html rename to mvn-build/core-tiger/src/main/java/org/springframework/ldap/core/simple/package.html diff --git a/mvn-build/tiger/src/main/java/overview.html b/mvn-build/core-tiger/src/main/java/overview.html similarity index 100% rename from mvn-build/tiger/src/main/java/overview.html rename to mvn-build/core-tiger/src/main/java/overview.html diff --git a/mvn-build/core/docs/reference/src/simple.xml b/mvn-build/core/docs/reference/src/simple.xml index 95056634..967cbe71 100644 --- a/mvn-build/core/docs/reference/src/simple.xml +++ b/mvn-build/core/docs/reference/src/simple.xml @@ -6,7 +6,7 @@ SimpleLdapTemplate - As of version 1.2 Spring LDAP includes the spring-ldap-tiger.jar distributable, which adds + As of version 1.3 Spring LDAP includes the spring-ldap-core-tiger.jar distributable, which adds a thin layer of Java 5 functionality on top of Spring LDAP. The SimpleLdapTemplate class adds search and lookup methods that take a @@ -32,4 +32,4 @@ - \ No newline at end of file + diff --git a/mvn-build/core/pom.xml b/mvn-build/core/pom.xml index 2ab77bbd..f73c9228 100644 --- a/mvn-build/core/pom.xml +++ b/mvn-build/core/pom.xml @@ -3,16 +3,15 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - 4.0.0 - org.springframework.ldap - spring-ldap - Spring LDAP Core - 1.2.2-SNAPSHOT org.springframework.ldap - master - 1.2.2-SNAPSHOT + spring-ldap-parent + 1.3-SNAPSHOT + 4.0.0 + spring-ldap-core + jar + Spring LDAP Core @@ -35,16 +34,6 @@ - - maven-assembly-plugin - - - - src/assemble/bin-with-dependencies.xml - - - - @@ -53,23 +42,14 @@ commons-logging commons-logging - 1.0.4 commons-lang commons-lang - 2.1 commons-pool commons-pool - 1.3 - provided - - - com.sun - ldapbp - 1.0 provided @@ -82,48 +62,40 @@ org.springframework spring-core - ${spring.version} org.springframework spring-beans - ${spring.version} org.springframework spring-context - ${spring.version} provided org.springframework spring-jdbc - ${spring.version} provided org.springframework spring-orm - ${spring.version} provided junit junit - 3.8.2 test easymock easymock - 1.2_Java1.3 test gsbase gsbase - 2.0.1 test diff --git a/mvn-build/core/src/assemble/bin-with-dependencies.xml b/mvn-build/core/src/assemble/bin-with-dependencies.xml deleted file mode 100644 index f251d2df..00000000 --- a/mvn-build/core/src/assemble/bin-with-dependencies.xml +++ /dev/null @@ -1,30 +0,0 @@ - - assembly - - dir - - false - - - target - - *.jar - - dist - - - src/main/java - - **/*.java - - src - - - - - lib - false - provided - - - diff --git a/mvn-build/integration-tests/pom.xml b/mvn-build/integration-tests/pom.xml index 7e72cdef..cb9c5172 100644 --- a/mvn-build/integration-tests/pom.xml +++ b/mvn-build/integration-tests/pom.xml @@ -1,16 +1,17 @@ - - 4.0.0 - org.springframework.ldap - spring-ldap-integration-tests - Spring LDAP Integration Tests - 1.2.2-SNAPSHOT + org.springframework.ldap - master - 1.2.2-SNAPSHOT + spring-ldap-parent + 1.3-SNAPSHOT + 4.0.0 + spring-ldap-integration-tests + jar + Spring LDAP Integration Tests @@ -27,36 +28,30 @@ org.springframework.ldap spring-ldap-test - 1.2.2-SNAPSHOT org.springframework.ldap - spring-ldap-tiger - 1.2.2-SNAPSHOT + spring-ldap-core-tiger commons-pool commons-pool - 1.3 provided org.springframework spring-jdbc - ${spring.version} provided org.springframework spring-aop - ${spring.version} test org.springframework spring-orm - ${spring.version} test @@ -68,7 +63,6 @@ org.springframework spring-orm - ${spring.version} provided @@ -86,7 +80,6 @@ gsbase gsbase - 2.0.1 test @@ -101,5 +94,10 @@ 4.4 test + + org.springframework + spring-test + test + diff --git a/mvn-build/parent/pom.xml b/mvn-build/parent/pom.xml new file mode 100644 index 00000000..285e0b97 --- /dev/null +++ b/mvn-build/parent/pom.xml @@ -0,0 +1,412 @@ + + + + 4.0.0 + org.springframework.ldap + spring-ldap-parent + pom + 1.3-SNAPSHOT + Spring LDAP - Parent + + http://static.springframework.org/spring-ldap/site/downloads/releases.html + + spring-s3 + Spring Snapshot Repository + s3://maven.springframework.org/snapshot + + + static.springframework.org + scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-ldap/sites/1.5 + + + + + scm:svn:https://springframework.svn.sourceforge.net/svnroot/springframework/spring-ldap/trunk + + + scm:svn:https://springframework.svn.sourceforge.net/svnroot/springframework/spring-ldap/trunk + + http://fisheye3.cenqua.com/browse/springframework/spring-ldap/trunk + + + 2.5.4 + + + + maven central repo + http://repo1.maven.org/maven2/ + + + java.net repo + http://download.java.net/maven/2/ + + + spring release + http://maven.springframework.org/release/ + + + spring external + http://maven.springframework.org/external/ + + + + + + org.springframework.aws + spring-aws-maven + 1.2.2 + + + + + + maven-compiler-plugin + + 1.3 + 1.4 + + + + maven-surefire-plugin + 2.4.2 + + once + false + + + + maven-jar-plugin + + + + true + + + ${pom.version} + + + + + + + maven-eclipse-plugin + + true + + + + maven-idea-plugin + + true + true + + + + + + + + maven-jxr-plugin + + true + + + + maven-surefire-report-plugin + + true + + + + maven-project-info-reports-plugin + + + maven-javadoc-plugin + + true + + + + + javadoc + + + + + + + + + + + org.springframework.ldap + spring-ldap-core + ${project.version} + + + org.springframework.ldap + spring-ldap-core-tiger + ${project.version} + + + org.springframework.ldap + spring-ldap-test + ${project.version} + + + org.springframework.ldap + spring-ldap-acegi-support + ${project.version} + + + org.springframework.ldap + spring-ldap-samples-utils + ${project.version} + + + + org.springframework + spring-core + ${spring.version} + + + org.springframework + spring-beans + ${spring.version} + + + org.springframework + spring-context + ${spring.version} + + + org.springframework + spring-aop + ${spring.version} + + + org.springframework + spring-web + ${spring.version} + + + org.springframework + spring-webmvc + ${spring.version} + + + struts + struts + + + + + org.springframework + spring-orm + ${spring.version} + + + org.springframework + spring-jdbc + ${spring.version} + + + org.springframework + spring-tx + ${spring.version} + + + org.springframework + spring-test + ${spring.version} + test + + + + org.acegisecurity + acegi-security + 1.0.7 + + + aspectj + aspectj + + + cas + casclient + + + commons-codec + commons-codec + + + commons-collections + commons-collections + + + commons-lang + commons-lang + + + commons-logging + commons-logging + + + hsqldb + hsqldb + + + javax.servlet + jsp-api + + + javax.servlet + servlet-api + + + jmock + jmock + + + log4j + log4j + + + net.sj.ehcache + ehcache + + + org.apache.directory.server + apacheds-core + + + org.slf4j + slf4j-log4j12 + + + org.springframework + spring-core + + + org.springframework + spring-jdbc + + + org.springframework + spring-ldap + + + org.springframework + spring-mock + + + org.springframework + spring-remoting + + + org.springframework + spring-support + + + org.springframework + spring-web + + + oro + oro + + + taglibs + standard + + + + + + org.springframework.security + spring-security-core + 2.0.2 + + + org.springframework.security + spring-security-core-tiger + 2.0.2 + + + + javax.servlet + servlet-api + 2.5 + provided + + + + commons-lang + commons-lang + 2.1 + + + commons-pool + commons-pool + 1.3 + + + + commons-logging + commons-logging + 1.0.4 + + + log4j + log4j + 1.2.9 + true + + + + junit + junit + 3.8.2 + test + + + easymock + easymock + 1.2_Java1.3 + test + + + gsbase + gsbase + 2.0.1 + test + + + + + + commons-logging + commons-logging + + + org.springframework + spring-core + + + org.springframework + spring-beans + + + junit + junit + test + + + log4j + log4j + test + + + diff --git a/mvn-build/pom.xml b/mvn-build/pom.xml index c438eee5..10329f2a 100644 --- a/mvn-build/pom.xml +++ b/mvn-build/pom.xml @@ -5,8 +5,8 @@ 4.0.0 org.springframework.ldap - master - 1.2.2-SNAPSHOT + spring-ldap + 1.3-SNAPSHOT pom Spring LDAP @@ -109,12 +109,128 @@ 2.5.4 + parent core - tiger + core-tiger acegi-support test-support integration-tests + + + samples + + samples + + + + release + + + + maven-dependency-plugin + + + copy-dependencies + package + + copy + + + + + + org.springframework + spring-core + ${spring.version} + ${project.build.directory}/dependency/spring/ + + + org.springframework + spring-beans + ${spring.version} + ${project.build.directory}/dependency/spring/ + + + org.springframework + spring-context + ${spring.version} + ${project.build.directory}/dependency/spring/ + + + org.springframework + spring-jdbc + ${spring.version} + ${project.build.directory}/dependency/spring/ + + + org.springframework + spring-tx + ${spring.version} + ${project.build.directory}/dependency/spring/ + + + + com.sun + ldapbp + 1.0 + ${project.build.directory}/dependency/sun/ + + + + commons-lang + commons-lang + 2.3 + ${project.build.directory}/dependency/jakarta-commons/ + + + commons-pool + commons-pool + 1.3 + ${project.build.directory}/dependency/jakarta-commons/ + + + + commons-logging + commons-logging + 1.0.4 + ${project.build.directory}/dependency/jakarta-commons/ + + + log4j + log4j + 1.2.9 + ${project.build.directory}/dependency/log4j/ + + + + + + + + maven-assembly-plugin + 2.2-beta-2 + false + + + with-dependencies + package + + single + + + + src/assembly/with-dependencies.xml + + + + + + + + + + maven central repo @@ -138,13 +254,73 @@ + + maven-assembly-plugin + 2.2-beta-2 + false + + + all-jar + package + + single + + + false + + + true + + + ${pom.version} + + + + src/assembly/all.xml + + + + + sources + package + + single + + + + + true + + + ${pom.version} + + + + src/assembly/sources.xml + + + + + minimal-zip + package + + single + + + false + + src/assembly/minimal.xml + + + + + maven-eclipse-plugin true - org.apache.maven.plugins maven-surefire-plugin @@ -153,16 +329,6 @@ once - - maven-assembly-plugin - - - - src/assemble/bin-with-dependencies.xml - - - - com.agilejava.docbkx docbkx-maven-plugin @@ -224,18 +390,34 @@ + + maven-jxr-plugin + + true + + + + maven-surefire-report-plugin + + true + + - org.apache.maven.plugins maven-javadoc-plugin - 2.4 true + true
Spring LDAP Integration
- http://java.sun.com/j2se/1.5.0/docs/api - - http://static.springframework.org/spring/docs/2.5.x/api/ - - http://commons.apache.org/pool/apidocs/ + true + ${basedir}/src/main/javadoc/javadoc.css + ${basedir}/src/main/javadoc/overview.html + ${basedir}/src/main/javadoc + org.springframework.ldap.samples + + http://java.sun.com/j2se/1.5.0/docs/api + http://static.springframework.org/spring/docs/2.5.x/api/ + http://commons.apache.org/pool/apidocs/ +
@@ -245,6 +427,9 @@
+ + maven-project-info-reports-plugin +
diff --git a/mvn-build/samples/spring-ldap-article/.springBeans b/mvn-build/samples/article/.springBeans similarity index 100% rename from mvn-build/samples/spring-ldap-article/.springBeans rename to mvn-build/samples/article/.springBeans diff --git a/mvn-build/samples/spring-ldap-article/pom.xml b/mvn-build/samples/article/pom.xml similarity index 78% rename from mvn-build/samples/spring-ldap-article/pom.xml rename to mvn-build/samples/article/pom.xml index f3fbe486..ff204562 100644 --- a/mvn-build/samples/spring-ldap-article/pom.xml +++ b/mvn-build/samples/article/pom.xml @@ -1,15 +1,16 @@ - + + - master org.springframework.ldap - 1.2.2-SNAPSHOT + spring-ldap-parent + 1.3-SNAPSHOT 4.0.0 - org.springframework - spring-ldap-person-article - Spring LDAP Article Source Code Sample - 1.2 + spring-ldap-article + Spring LDAP Article Sample war Example code that matches the article published on java.net on @@ -32,45 +33,37 @@ - org.springframework.ldap spring-ldap-test - 1.2.2-SNAPSHOT org.springframework.ldap spring-ldap-samples-utils - 1.2.2-SNAPSHOT org.springframework spring-jdbc - ${spring.version} org.springframework spring-context - ${spring.version} org.springframework spring-webmvc - ${spring.version} javax.servlet servlet-api - 2.4 provided org.springframework spring-test - ${spring.version} test diff --git a/mvn-build/samples/spring-ldap-article/readme.txt b/mvn-build/samples/article/readme.txt similarity index 100% rename from mvn-build/samples/spring-ldap-article/readme.txt rename to mvn-build/samples/article/readme.txt diff --git a/mvn-build/samples/spring-ldap-article/src/itest/java/org/springframework/ldap/samples/article/dao/AbstractPersonDaoIntegrationTest.java b/mvn-build/samples/article/src/itest/java/org/springframework/ldap/samples/article/dao/AbstractPersonDaoIntegrationTest.java similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/itest/java/org/springframework/ldap/samples/article/dao/AbstractPersonDaoIntegrationTest.java rename to mvn-build/samples/article/src/itest/java/org/springframework/ldap/samples/article/dao/AbstractPersonDaoIntegrationTest.java diff --git a/mvn-build/samples/spring-ldap-article/src/itest/java/org/springframework/ldap/samples/article/dao/PersonDaoImplIntegrationTest.java b/mvn-build/samples/article/src/itest/java/org/springframework/ldap/samples/article/dao/PersonDaoImplIntegrationTest.java similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/itest/java/org/springframework/ldap/samples/article/dao/PersonDaoImplIntegrationTest.java rename to mvn-build/samples/article/src/itest/java/org/springframework/ldap/samples/article/dao/PersonDaoImplIntegrationTest.java diff --git a/mvn-build/samples/spring-ldap-article/src/itest/java/org/springframework/ldap/samples/article/dao/TraditionalPersonDaoImplIntegrationTest.java b/mvn-build/samples/article/src/itest/java/org/springframework/ldap/samples/article/dao/TraditionalPersonDaoImplIntegrationTest.java similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/itest/java/org/springframework/ldap/samples/article/dao/TraditionalPersonDaoImplIntegrationTest.java rename to mvn-build/samples/article/src/itest/java/org/springframework/ldap/samples/article/dao/TraditionalPersonDaoImplIntegrationTest.java diff --git a/mvn-build/samples/spring-ldap-article/src/main/java/log4j.properties b/mvn-build/samples/article/src/main/java/log4j.properties similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/java/log4j.properties rename to mvn-build/samples/article/src/main/java/log4j.properties diff --git a/mvn-build/samples/spring-ldap-article/src/main/java/org/springframework/ldap/samples/article/dao/PersonDao.java b/mvn-build/samples/article/src/main/java/org/springframework/ldap/samples/article/dao/PersonDao.java similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/java/org/springframework/ldap/samples/article/dao/PersonDao.java rename to mvn-build/samples/article/src/main/java/org/springframework/ldap/samples/article/dao/PersonDao.java diff --git a/mvn-build/samples/spring-ldap-article/src/main/java/org/springframework/ldap/samples/article/dao/PersonDaoImpl.java b/mvn-build/samples/article/src/main/java/org/springframework/ldap/samples/article/dao/PersonDaoImpl.java similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/java/org/springframework/ldap/samples/article/dao/PersonDaoImpl.java rename to mvn-build/samples/article/src/main/java/org/springframework/ldap/samples/article/dao/PersonDaoImpl.java diff --git a/mvn-build/samples/spring-ldap-article/src/main/java/org/springframework/ldap/samples/article/dao/TraditionalPersonDaoImpl.java b/mvn-build/samples/article/src/main/java/org/springframework/ldap/samples/article/dao/TraditionalPersonDaoImpl.java similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/java/org/springframework/ldap/samples/article/dao/TraditionalPersonDaoImpl.java rename to mvn-build/samples/article/src/main/java/org/springframework/ldap/samples/article/dao/TraditionalPersonDaoImpl.java diff --git a/mvn-build/samples/spring-ldap-article/src/main/java/org/springframework/ldap/samples/article/domain/Person.java b/mvn-build/samples/article/src/main/java/org/springframework/ldap/samples/article/domain/Person.java similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/java/org/springframework/ldap/samples/article/domain/Person.java rename to mvn-build/samples/article/src/main/java/org/springframework/ldap/samples/article/domain/Person.java diff --git a/mvn-build/samples/spring-ldap-article/src/main/java/org/springframework/ldap/samples/article/web/DefaultController.java b/mvn-build/samples/article/src/main/java/org/springframework/ldap/samples/article/web/DefaultController.java similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/java/org/springframework/ldap/samples/article/web/DefaultController.java rename to mvn-build/samples/article/src/main/java/org/springframework/ldap/samples/article/web/DefaultController.java diff --git a/mvn-build/samples/spring-ldap-article/src/main/java/overview.html b/mvn-build/samples/article/src/main/java/overview.html similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/java/overview.html rename to mvn-build/samples/article/src/main/java/overview.html diff --git a/mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/applicationContext.xml b/mvn-build/samples/article/src/main/webapp/WEB-INF/applicationContext.xml similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/applicationContext.xml rename to mvn-build/samples/article/src/main/webapp/WEB-INF/applicationContext.xml diff --git a/mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/basic-servlet.xml b/mvn-build/samples/article/src/main/webapp/WEB-INF/basic-servlet.xml similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/basic-servlet.xml rename to mvn-build/samples/article/src/main/webapp/WEB-INF/basic-servlet.xml diff --git a/mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/jsp/showPerson.jsp b/mvn-build/samples/article/src/main/webapp/WEB-INF/jsp/showPerson.jsp similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/jsp/showPerson.jsp rename to mvn-build/samples/article/src/main/webapp/WEB-INF/jsp/showPerson.jsp diff --git a/mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/jsp/showTree.jsp b/mvn-build/samples/article/src/main/webapp/WEB-INF/jsp/showTree.jsp similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/jsp/showTree.jsp rename to mvn-build/samples/article/src/main/webapp/WEB-INF/jsp/showTree.jsp diff --git a/mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/ldap.properties b/mvn-build/samples/article/src/main/webapp/WEB-INF/ldap.properties similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/ldap.properties rename to mvn-build/samples/article/src/main/webapp/WEB-INF/ldap.properties diff --git a/mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/setup_data.ldif b/mvn-build/samples/article/src/main/webapp/WEB-INF/setup_data.ldif similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/setup_data.ldif rename to mvn-build/samples/article/src/main/webapp/WEB-INF/setup_data.ldif diff --git a/mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/web.xml b/mvn-build/samples/article/src/main/webapp/WEB-INF/web.xml similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/webapp/WEB-INF/web.xml rename to mvn-build/samples/article/src/main/webapp/WEB-INF/web.xml diff --git a/mvn-build/samples/spring-ldap-article/src/main/webapp/index.htm b/mvn-build/samples/article/src/main/webapp/index.htm similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/main/webapp/index.htm rename to mvn-build/samples/article/src/main/webapp/index.htm diff --git a/mvn-build/samples/spring-ldap-article/src/test/java/.dummy b/mvn-build/samples/article/src/test/java/.dummy similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/test/java/.dummy rename to mvn-build/samples/article/src/test/java/.dummy diff --git a/mvn-build/samples/spring-ldap-article/src/test/resources/config/ldap.properties b/mvn-build/samples/article/src/test/resources/config/ldap.properties similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/test/resources/config/ldap.properties rename to mvn-build/samples/article/src/test/resources/config/ldap.properties diff --git a/mvn-build/samples/spring-ldap-article/src/test/resources/config/testContext.xml b/mvn-build/samples/article/src/test/resources/config/testContext.xml similarity index 100% rename from mvn-build/samples/spring-ldap-article/src/test/resources/config/testContext.xml rename to mvn-build/samples/article/src/test/resources/config/testContext.xml diff --git a/mvn-build/samples/pom.xml b/mvn-build/samples/pom.xml new file mode 100644 index 00000000..15798516 --- /dev/null +++ b/mvn-build/samples/pom.xml @@ -0,0 +1,49 @@ + + + + + org.springframework.ldap + spring-ldap-parent + 1.3-SNAPSHOT + + 4.0.0 + spring-ldap-samples + pom + Spring LDAP Samples + + samples-utils + article + + + + spring-milestone + Spring Milestone Repository + http://maven.springframework.org/milestone + + + + + + org.mortbay.jetty + maven-jetty-plugin + + + org.apache.maven.plugins + maven-war-plugin + + ${pom.artifactId} + + + + + + + + log4j + log4j + runtime + + + diff --git a/mvn-build/samples/samples-utils/pom.xml b/mvn-build/samples/samples-utils/pom.xml index 84918002..28a37387 100644 --- a/mvn-build/samples/samples-utils/pom.xml +++ b/mvn-build/samples/samples-utils/pom.xml @@ -1,17 +1,17 @@ + - 4.0.0 - org.springframework.ldap - spring-ldap-samples-utils - jar - 1.2.2-SNAPSHOT - Spring LDAP utilities for samples + org.springframework.ldap - master - 1.2.2-SNAPSHOT + spring-ldap-parent + 1.3-SNAPSHOT + 4.0.0 + spring-ldap-samples-utils + jar + Spring LDAP Samples Utilities @@ -27,18 +27,15 @@ org.springframework.ldap - spring-ldap-tiger - 1.2.2-SNAPSHOT + spring-ldap-core-tiger org.springframework.ldap spring-ldap-test - 1.2.2-SNAPSHOT org.springframework spring-test - ${spring.version} junit diff --git a/mvn-build/src/assembly/all.xml b/mvn-build/src/assembly/all.xml new file mode 100644 index 00000000..fa196eda --- /dev/null +++ b/mvn-build/src/assembly/all.xml @@ -0,0 +1,34 @@ + + + all + + jar + + false + + + + org.springframework.ldap:spring-ldap-core + org.springframework.ldap:spring-ldap-core-tiger + org.springframework.ldap:spring-ldap-acegi-support + + + + false + true + + + **/spring.handlers + **/spring.schemas + + + + + + + + src/main/resources/META-INF + META-INF + + + diff --git a/mvn-build/src/assembly/docs.xml b/mvn-build/src/assembly/docs.xml new file mode 100644 index 00000000..e1bd529a --- /dev/null +++ b/mvn-build/src/assembly/docs.xml @@ -0,0 +1,15 @@ + + + + + . + + readme.txt + license.txt + notice.txt + + + dos + + + \ No newline at end of file diff --git a/mvn-build/src/assembly/minimal.xml b/mvn-build/src/assembly/minimal.xml new file mode 100644 index 00000000..a2bcaa75 --- /dev/null +++ b/mvn-build/src/assembly/minimal.xml @@ -0,0 +1,32 @@ + + + minimal + + zip + + + src/assembly/docs.xml + + true + + + + org.springframework.ldap:spring-ldap-core + org.springframework.ldap:spring-ldap-core-tiger + org.springframework.ldap:spring-ldap-test + org.springframework.ldap:spring-ldap-acegi-support + + + false + false + dist/modules/${module.artifactId}-${module.version}.${module.extension} + + + + + + target/${artifactId}-${version}.jar + dist + + + diff --git a/mvn-build/src/assembly/sources.xml b/mvn-build/src/assembly/sources.xml new file mode 100644 index 00000000..8ea0f705 --- /dev/null +++ b/mvn-build/src/assembly/sources.xml @@ -0,0 +1,26 @@ + + + sources + + jar + + false + + + core/src/main/java + + + + core-tiger/src/main/java + + + + test-support/src/main/java + + + + acegi-support/src/main/java + + + + diff --git a/mvn-build/src/assembly/with-dependencies.xml b/mvn-build/src/assembly/with-dependencies.xml new file mode 100644 index 00000000..cc9ed071 --- /dev/null +++ b/mvn-build/src/assembly/with-dependencies.xml @@ -0,0 +1,88 @@ + + with-dependencies + + zip + + + src/assembly/docs.xml + + true + + + + org.springframework.ldap:spring-ldap-parent + org.springframework.ldap:spring-ldap-core + org.springframework.ldap:spring-ldap-core-tiger + org.springframework.ldap:spring-ldap-test + org.springframework.ldap:spring-ldap-acegi-support + + + false + false + dist/modules/${module.artifactId}-${module.version}.${module.extension} + + + + + src/main/java + + + dist/module-sources/${module.artifactId} + + + + + + target/${artifactId}-${version}.jar + dist + + + target/${artifactId}-${version}-sources.jar + dist + + + + + + target/site/apidocs + docs/api + + + target/site/reference + docs/reference + + + + target/dependency + lib + + **/*.jar + + + + + samples + samples + + **/readme.txt + + dos + + + samples + samples + + **/src/** + **/build*.xml + **/*.bat + **/pom.xml + + + **/target + **/target/** + **/bin + **/bin/** + + + + diff --git a/mvn-build/src/docbkx/simple.xml b/mvn-build/src/docbkx/simple.xml index 95056634..967cbe71 100644 --- a/mvn-build/src/docbkx/simple.xml +++ b/mvn-build/src/docbkx/simple.xml @@ -6,7 +6,7 @@ SimpleLdapTemplate - As of version 1.2 Spring LDAP includes the spring-ldap-tiger.jar distributable, which adds + As of version 1.3 Spring LDAP includes the spring-ldap-core-tiger.jar distributable, which adds a thin layer of Java 5 functionality on top of Spring LDAP. The SimpleLdapTemplate class adds search and lookup methods that take a @@ -32,4 +32,4 @@ - \ No newline at end of file + diff --git a/mvn-build/src/main/javadoc/javadoc.css b/mvn-build/src/main/javadoc/javadoc.css new file mode 100644 index 00000000..1f009c4b --- /dev/null +++ b/mvn-build/src/main/javadoc/javadoc.css @@ -0,0 +1,48 @@ +/* Spring-specific Javadoc style sheet rules */ + +#overviewBody { + +} + +.code { + border: 1px solid black; + background-color: #F4F4F4; + padding: 5px; +} + +/* Vanilla Javadoc style sheet rules */ + +body { + font-family: Helvetica, Arial, sans-serif; + background-color: white; + font-size: 10pt; +} + +td { font-size: 10pt; font-family: Helvetica, Arial, sans-serif }/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ +.TableRowColor { background: #FFFFFF } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} diff --git a/mvn-build/src/main/javadoc/overview.html b/mvn-build/src/main/javadoc/overview.html new file mode 100644 index 00000000..ace359ea --- /dev/null +++ b/mvn-build/src/main/javadoc/overview.html @@ -0,0 +1,16 @@ + + +This document is the API specification for the Spring LDAP Framework +
+
+

+ For further API reference and developer documentation, see the + Spring + LDAP reference documentation. + That documentation contains more detailed, developer-targeted + descriptions, with conceptual overviews, definitions of terms, + workarounds, and working code examples. +

+
+ + diff --git a/mvn-build/test-support/pom.xml b/mvn-build/test-support/pom.xml index 0b6b71c9..8b83e866 100644 --- a/mvn-build/test-support/pom.xml +++ b/mvn-build/test-support/pom.xml @@ -3,19 +3,15 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - 4.0.0 - - org.springframework.ldap - spring-ldap-test - Spring LDAP Automated Test Support - 1.2.2-SNAPSHOT - org.springframework.ldap - master - 1.2.2-SNAPSHOT + spring-ldap-parent + 1.3-SNAPSHOT - + 4.0.0 + spring-ldap-test + jar + Spring LDAP Automated Test Support @@ -31,8 +27,7 @@ org.springframework.ldap - spring-ldap - 1.2.2-SNAPSHOT + spring-ldap-core @@ -70,32 +65,27 @@ org.springframework spring-core - ${spring.version} org.springframework spring-beans - ${spring.version} org.springframework spring-context - ${spring.version} org.springframework spring-test - ${spring.version} log4j log4j - 1.2.9 - - - junit - junit - 3.8.2 + + junit + junit + provided +
diff --git a/mvn-build/with-dependencies.sh b/mvn-build/with-dependencies.sh new file mode 100755 index 00000000..38ee546b --- /dev/null +++ b/mvn-build/with-dependencies.sh @@ -0,0 +1,3 @@ +#!/bin/sh +export MAVEN_OPTS=-Xmx512m +mvn -Dmaven.test.skip=true -P release clean javadoc:javadoc docbkx:generate-html docbkx:generate-pdf install