You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2015/08/12 05:23:33 UTC

servicemix-bundles git commit: [SM-2642]create OSGi bundle for spring-security-core

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 9542ddcbb -> 451ef0be7


[SM-2642]create OSGi bundle for spring-security-core


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

Branch: refs/heads/master
Commit: 451ef0be7a4ad23b8e11d1f13175de2f14cf19e1
Parents: 9542ddc
Author: Freeman Fang <fr...@gmail.com>
Authored: Wed Aug 12 11:22:49 2015 +0800
Committer: Freeman Fang <fr...@gmail.com>
Committed: Wed Aug 12 11:22:49 2015 +0800

----------------------------------------------------------------------
 pom.xml                                         |   1 +
 spring-security-core-3.2.8.RELEASE/pom.xml      | 133 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  11 ++
 3 files changed, 145 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/451ef0be/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1829f65..ad6e036 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,6 +43,7 @@
 
     <modules>
         <!-- add modules for all bundles to released in the next batch here -->
+        <module>spring-security-core-3.2.8.RELEASE</module>
     </modules>
 
 </project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/451ef0be/spring-security-core-3.2.8.RELEASE/pom.xml
----------------------------------------------------------------------
diff --git a/spring-security-core-3.2.8.RELEASE/pom.xml b/spring-security-core-3.2.8.RELEASE/pom.xml
new file mode 100644
index 0000000..b63d638
--- /dev/null
+++ b/spring-security-core-3.2.8.RELEASE/pom.xml
@@ -0,0 +1,133 @@
+<?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>12</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.spring-security-core</artifactId>
+    <version>3.2.8.RELEASE_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+
+    <properties>
+        <pkgGroupId>org.springframework.security</pkgGroupId>
+        <pkgArtifactId>spring-security-core</pkgArtifactId>
+        <pkgVersion>3.2.8.RELEASE</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.springframework.security
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.annotation.security;resolution:=optional;version=0,
+	    javax.crypto;resolution:=optional;version=0,
+	    javax.crypto.spec;resolution:=optional;version=0,
+	    javax.security.auth;resolution:=optional;version=0,
+	    javax.security.auth.callback;resolution:=optional;version=0,
+	    javax.security.auth.login;resolution:=optional;version=0,
+	    javax.security.auth.spi;resolution:=optional;version=0,
+	    net.sf.ehcache;resolution:=optional;version="[1.4.1, 2.5.0)",
+	    org.aopalliance.aop;version="[1.0.0, 2.0.0)",
+	    org.aopalliance.intercept;version="[1.0.0, 2.0.0)",
+	    org.apache.commons.logging;version="[1.0.4, 2.0.0)",
+	    org.aspectj.lang;resolution:=optional;version="[1.7, 2)",
+	    org.aspectj.lang.reflect;resolution:=optional;version="[1.7, 2)",
+	    org.springframework.aop;resolution:=optional;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.aop.framework;resolution:=optional;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.aop.support;resolution:=optional;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.beans;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.beans.factory;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.beans.propertyeditors;version="[${pkgVersion}, 3.3.0)",
+            org.springframework.context;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.context.expression;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.context.support;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.core;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.core.annotation;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.core.io;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.dao;resolution:=optional;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.expression;resolution:=optional;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.expression.spel.standard;resolution:=optional;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.expression.spel.support;resolution:=optional;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.jdbc.core;resolution:=optional;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.jdbc.core.support;resolution:=optional;version="[${pkgVersion}, 3.3.0)",
+	    org.springframework.util;version="[${pkgVersion}, 3.3.0)",
+            org.springframework.cache;resolution:=optional;version="[${pkgVersion}, 3.3.0)", 
+            org.springframework.context.event;resolution:=optional;version="[${pkgVersion}, 3.3.0)", 
+            org.springframework.core.task;resolution:=optional;version="[${pkgVersion}, 3.3.0)", 
+            org.springframework.scheduling;resolution:=optional;version="[${pkgVersion}, 3.3.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/451ef0be/spring-security-core-3.2.8.RELEASE/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/spring-security-core-3.2.8.RELEASE/src/main/resources/OSGI-INF/bundle.info b/spring-security-core-3.2.8.RELEASE/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..1e91025
--- /dev/null
+++ b/spring-security-core-3.2.8.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 Aspects module.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://www.springsource.org/spring-framework\u001B[0m