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/05/02 09:29:45 UTC

servicemix-bundles git commit: [SM-3336] Create OSGi bundle for spring-security-ldap 4.2.2.RELEASE

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 6f0df6fec -> 2102b309f


[SM-3336] Create OSGi bundle for spring-security-ldap 4.2.2.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/2102b309
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/2102b309
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/2102b309

Branch: refs/heads/master
Commit: 2102b309f1e45197d09d20e396137fe8162a714d
Parents: 6f0df6f
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Tue May 2 11:29:18 2017 +0200
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Tue May 2 11:29:18 2017 +0200

----------------------------------------------------------------------
 pom.xml                                         |   1 +
 spring-security-ldap-4.2.2.RELEASE/pom.xml      | 134 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  11 ++
 3 files changed, 146 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/2102b309/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b183ea0..b314157 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,6 +108,7 @@
         <module>spring-xml-2.4.0.RELEASE</module>
         <module>fop-2.2</module>
         <module>jsr305-3.0.2</module>
+        <module>spring-security-ldap-4.2.2.RELEASE</module>
     </modules>
 
 </project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/2102b309/spring-security-ldap-4.2.2.RELEASE/pom.xml
----------------------------------------------------------------------
diff --git a/spring-security-ldap-4.2.2.RELEASE/pom.xml b/spring-security-ldap-4.2.2.RELEASE/pom.xml
new file mode 100644
index 0000000..4207ba7
--- /dev/null
+++ b/spring-security-ldap-4.2.2.RELEASE/pom.xml
@@ -0,0 +1,134 @@
+<?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-security-ldap</artifactId>
+    <version>4.2.2.RELEASE_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+
+    <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.security</pkgGroupId>
+        <pkgArtifactId>spring-security-ldap</pkgArtifactId>
+        <pkgVersion>4.2.2.RELEASE</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.springframework.security.ldap
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.naming;resolution:=optional;version=0,
+            javax.naming.directory;resolution:=optional;version=0,
+            javax.naming.ldap;resolution:=optional;version=0,
+            javax.rmi;resolution:=optional;version=0,
+            javax.security.auth;resolution:=optional;version=0,
+            javax.security.auth.login;resolution:=optional;version=0,
+            javax.xml.parsers;resolution:=optional;version=0,
+            netscape.ldap.ber.stream;resolution:=optional;version="[4.1,5)",
+            org.apache.commons.logging;version="[1.0.4,2.0.0)",
+            org.apache.directory.server*;resolution:=optional;version="[1.5.5,2)",
+            org.apache.directory.shared*;resolution:=optional;version="[1.5.5,2)",
+            org.aspectj.weaver.tools;resolution:=optional;version="[1.7,2)",
+            org.springframework.beans*;version="[4,5)",
+            org.springframework.context*;version="[4,5)",
+            org.springframework.core*;version="[4,5)",
+            org.springframework.dao;resolution:=optional;version="[4,5)",
+            org.springframework.expression;resolution:=optional;version="[4,5)",
+            org.springframework.expression.spel.standard;resolution:=optional;version="[4,5)",
+            org.springframework.expression.spel.support;resolution:=optional;version="[4,5)",
+            org.springframework.http;version="[4,5)",
+            org.springframework.jdbc.core;resolution:=optional;version="[4,5)",
+            org.springframework.jdbc.core.support;resolution:=optional;version="[4,5)", 
+            org.springframework.util;resolution:=optional;version="[4,5)",
+            org.springframework.ldap*;resolution:=optional;version="[4,5)",
+            org.springframework.security.authentication*;version="[4,5)",
+            org.springframework.security.core*;version="[4,5)",
+            org.springframework.security.crypto.codec;version="[4,5)",
+            org.springframework.security.crypto.password;version="[4,5)",
+            org.springframework.security.provisioning;version="[4,5)",
+            org.w3c.dom;resolution:=optional;version=0,
+            org.xml.sax;resolution:=optional;version=0
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                        <configuration>
+                            <artifactSet>
+                                <includes>
+                                    <include>${pkgGroupId}:${pkgArtifactId}</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/2102b309/spring-security-ldap-4.2.2.RELEASE/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/spring-security-ldap-4.2.2.RELEASE/src/main/resources/OSGI-INF/bundle.info b/spring-security-ldap-4.2.2.RELEASE/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..d87e563
--- /dev/null
+++ b/spring-security-ldap-4.2.2.RELEASE/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,11 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Spring Framework Security Ldap module.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://www.springsource.org/spring-framework\u001B[0m