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 2017/04/01 05:44:56 UTC

servicemix-bundles git commit: [SM-3291] Create OSGi bundle for spring-ldap 2.3.1.RELEASE

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 9243570b9 -> 496494304


[SM-3291] Create OSGi bundle for spring-ldap 2.3.1.RELEASE


Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/49649430
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/49649430
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/49649430

Branch: refs/heads/master
Commit: 496494304e097ee9ac97c14348d2f87888a76b95
Parents: 9243570
Author: Jean-Baptiste Onofr� <jb...@apache.org>
Authored: Sat Apr 1 07:44:28 2017 +0200
Committer: Jean-Baptiste Onofr� <jb...@apache.org>
Committed: Sat Apr 1 07:44:28 2017 +0200

----------------------------------------------------------------------
 pom.xml                                         |   1 +
 spring-ldap-2.3.1.RELEASE/pom.xml               | 251 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  34 +++
 3 files changed, 286 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/49649430/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7b531f5..939c749 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,6 +73,7 @@
         <module>qpid-6.1.2</module>
         <module>elasticsearch-5.2.2</module>
         <module>htmlunit-2.25</module>
+        <module>spring-ldap-2.3.1.RELEASE</module>
     </modules>
 
 </project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/49649430/spring-ldap-2.3.1.RELEASE/pom.xml
----------------------------------------------------------------------
diff --git a/spring-ldap-2.3.1.RELEASE/pom.xml b/spring-ldap-2.3.1.RELEASE/pom.xml
new file mode 100644
index 0000000..7baaa7e
--- /dev/null
+++ b/spring-ldap-2.3.1.RELEASE/pom.xml
@@ -0,0 +1,251 @@
+<?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>13</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.spring-ldap</artifactId>
+    <version>2.3.1.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>
+
+    <scm>
+        <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection>
+        <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+        <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url>
+    </scm>
+
+    <properties>
+        <pkgGroupId>org.springframework.ldap</pkgGroupId>
+        <pkgVersion>2.3.1.RELEASE</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.springframework.ldap
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            com.querydsl.apt;resolution:=optional,
+            com.querydsl.core;resolution:=optional,
+            com.querydsl.core.annotations;resolution:=optional,
+            com.querydsl.core.support;resolution:=optional,
+            com.querydsl.core.types;resolution:=optional,
+            javax.annotation.processing,
+            javax.lang.model,
+            javax.lang.model.element,
+            javax.tools,
+            javax.xml.bind,
+            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>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/49649430/spring-ldap-2.3.1.RELEASE/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/spring-ldap-2.3.1.RELEASE/src/main/resources/OSGI-INF/bundle.info b/spring-ldap-2.3.1.RELEASE/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..966d0a4
--- /dev/null
+++ b/spring-ldap-2.3.1.RELEASE/src/main/resources/OSGI-INF/bundle.info
@@ -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