You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by jb...@apache.org on 2014/06/03 13:48:40 UTC

svn commit: r1599487 - in /servicemix/smx4/bundles/trunk: ./ spring-ldap-2.0.2.RELEASE/ spring-ldap-2.0.2.RELEASE/src/ spring-ldap-2.0.2.RELEASE/src/main/ spring-ldap-2.0.2.RELEASE/src/main/resources/ spring-ldap-2.0.2.RELEASE/src/main/resources/OSGI-INF/

Author: jbonofre
Date: Tue Jun  3 11:48:39 2014
New Revision: 1599487

URL: http://svn.apache.org/r1599487
Log:
[SMX4-1782] Create OSGi bundle for spring-ldap 2.0.2.RELEASE

Added:
    servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/
    servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/pom.xml
    servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/src/
    servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/src/main/
    servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/src/main/resources/
    servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/src/main/resources/OSGI-INF/bundle.info
Modified:
    servicemix/smx4/bundles/trunk/pom.xml

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1599487&r1=1599486&r2=1599487&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Tue Jun  3 11:48:39 2014
@@ -195,6 +195,7 @@
         <module>ant-1.9.4</module>
         <module>snmp4j-2.3.0</module>
         <module>elasticsearch-1.2.0</module>
+        <module>spring-ldap-2.0.2.RELEASE</module>
     </modules>
 
 </project>

Added: servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/pom.xml?rev=1599487&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/pom.xml Tue Jun  3 11:48:39 2014
@@ -0,0 +1,241 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+    <!--
+
+        Licensed to the Apache Software Foundation (ASF) under one or more
+        contributor license agreements.  See the NOTICE file distributed with
+        this work for additional information regarding copyright ownership.
+        The ASF licenses this file to You under the Apache License, Version 2.0
+        (the "License"); you may not use this file except in compliance with
+        the License.  You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+
+        Unless required by applicable law or agreed to in writing, software
+        distributed under the License is distributed on an "AS IS" BASIS,
+        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+        See the License for the specific language governing permissions and
+        limitations under the License.
+    -->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix.bundles</groupId>
+        <artifactId>bundles-pom</artifactId>
+        <version>11</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.spring-ldap</artifactId>
+    <version>2.0.2.RELEASE_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: spring-ldap</name>
+    <description>This OSGi bundle wraps spring-ldap-core, spring-ldap-core-tiger, spring-ldap-odm, spring-ldap-ldif-core, spring-ldap-ldif-batch ${pkgVersion} jar files.</description>
+
+    <properties>
+        <pkgGroupId>org.springframework.ldap</pkgGroupId>
+        <pkgVersion>2.0.2.RELEASE</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.springframework.ldap
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            com.mysema.query*;resolution:=optional,
+            javax.annotation.processing,
+            javax.lang.model,
+            javax.lang.model.element,
+            javax.tools,
+            org.slf4j;resolution:=optional,
+            javax.naming*,
+            javax.net*,
+            org.apache.commons.pool*,
+            org.springframework.batch*,
+            org.springframework.beans*,
+            org.springframework.data*,
+            org.springframework.context*,
+            org.springframework.core*,
+            org.springframework.dao*,
+            org.springframework.jdbc*,
+            org.springframework.transaction,
+            org.springframework.transaction.support,
+            org.springframework.orm*;resolution:=optional,
+            org.springframework.util*,
+            com.sun.jndi.ldap*;resolution:=optional,
+            freemarker.template;resolution:=optional,
+            org.apache.commons.cli;resolution:=optional,
+            org.apache.commons.logging;resolution:=optional,
+            sun.misc;resolution:=optional,
+            org.w3c.dom;resolution:=optional
+        </servicemix.osgi.import.pkg>
+        <servicemix.osgi.private.pkg>
+            org.springframework.transaction.compensating, org.springframework.transaction.compensating.support,org.springframework
+        </servicemix.osgi.private.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>spring-ldap-core</artifactId>
+            <version>${pkgVersion}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-tx</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework.data</groupId>
+                    <artifactId>spring-data-commons</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-beans</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-core</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>spring-ldap-core-tiger</artifactId>
+            <version>${pkgVersion}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-tx</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>spring-ldap-odm</artifactId>
+            <version>${pkgVersion}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>commons-logging</groupId>
+                    <artifactId>commons-logging</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.freemarker</groupId>
+                    <artifactId>freemarker</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>commons-cli</groupId>
+                    <artifactId>commons-cli</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-core</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-context</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>spring-ldap-ldif-core</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>spring-ldap-ldif-batch</artifactId>
+            <version>${pkgVersion}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>commons-lang</groupId>
+                    <artifactId>commons-lang</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework.batch</groupId>
+                    <artifactId>spring-batch-infrastructure</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+        <!-- sources
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>spring-ldap-core</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>spring-ldap-core-tiger</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>spring-ldap-odm</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>spring-ldap-ldif-core</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+        </dependency>
+        -->
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <configuration>
+                    <artifactSet>
+                        <includes>
+                            <include>${pkgGroupId}:spring-ldap-core</include>
+                            <include>${pkgGroupId}:spring-ldap-core-tiger</include>
+                            <include>${pkgGroupId}:spring-ldap-odm</include>
+                            <include>${pkgGroupId}:spring-ldap-ldif-core</include>
+                            <include>${pkgGroupId}:spring-ldap-ldif-batch</include>
+                        </includes>
+                    </artifactSet>
+                    <filters>
+                        <filter>
+                            <artifact>${pkgGroupId}:spring-ldap-core</artifact>
+                            <excludes>
+                                <exclude>**/*</exclude>
+                            </excludes>
+                        </filter>
+                        <filter>
+                            <artifact>${pkgGroupId}:spring-ldap-core-tiger</artifact>
+                            <excludes>
+                                <exclude>**/*</exclude>
+                            </excludes>
+                        </filter>
+                        <filter>
+                            <artifact>${pkgGroupId}:spring-ldap-odm</artifact>
+                            <excludes>
+                                <exclude>**/*</exclude>
+                            </excludes>
+                        </filter>
+                        <filter>
+                            <artifact>${pkgGroupId}:spring-ldap-ldif-core</artifact>
+                            <excludes>
+                                <exclude>**/*</exclude>
+                            </excludes>
+                        </filter>
+                        <filter>
+                            <artifact>${pkgGroupId}:spring-ldap-ldif-batch</artifact>
+                            <excludes>
+                                <exclude>**/*</exclude>
+                            </excludes>
+                        </filter>
+                    </filters>
+                    <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                    <createDependencyReducedPom>true</createDependencyReducedPom>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/src/main/resources/OSGI-INF/bundle.info?rev=1599487&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/src/main/resources/OSGI-INF/bundle.info (added)
+++ servicemix/smx4/bundles/trunk/spring-ldap-2.0.2.RELEASE/src/main/resources/OSGI-INF/bundle.info Tue Jun  3 11:48:39 2014
@@ -0,0 +1,34 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/spring-ldap-core/${pkgVersion}\u001B[0m
+        \u001B[33mmvn:${pkgGroupId}/spring-ldap-core-tiger/${pkgVersion}\u001B[0m
+        \u001B[33mmvn:${pkgGroupId}/spring-ldap-odm/${pkgVersion}\u001B[0m
+        \u001B[33mmvn:${pkgGroupId}/spring-ldap-ldif-core/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Spring LDAP is a Java library for simplifying LDAP operations, based on the
+    pattern of Spring's JdbcTemplate. The framework relieves the user of common
+    chores, such as looking up and closing contexts, looping through results,
+    encoding/decoding values and filters, and more.
+
+    The LdapTemplate class encapsulates all the plumbing work involved in
+    traditional LDAP programming, such as creating a DirContext, looping through
+    NamingEnumerations, handling exceptions and cleaning up resources. This leaves
+    the programmer to handle the important stuff - where to find data (DNs and Filters)
+    and what do do with it (map to and from domain objects, bind, modify, unbind, etc.),
+    in the same way that JdbcTemplate relieves the programmer of all but the actual SQL
+    and how the data maps to the domain model.
+
+    In addition to this, Spring LDAP provides transaction support, a pooling library,
+    an Object-Directory Mapping (ODM) framework, an LDIF parsing library with Spring
+    Batch integration, exception translation from NamingExceptions to a mirrored unchecked
+    Exception hierarchy, as well as several utilities for working with filters, LDAP paths
+    and Attributes.
+
+    Spring LDAP requires J2SE 1.4 or higher to run, and works with Spring Framework 2.0.x,
+    2.5.x as well as 3.0.x.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://www.springsource.org/ldap\u001B[0m