servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject servicemix-bundles git commit: [SM-2529] Create OSGi bundle for wss4j 1.6.18
Date Sat, 02 May 2015 06:21:54 GMT
Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 25988997c -> d81f3506f


[SM-2529] Create OSGi bundle for wss4j 1.6.18


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

Branch: refs/heads/master
Commit: d81f3506fdd1f1741b25aed1166132050b000dfd
Parents: 2598899
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Sat May 2 08:21:30 2015 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Sat May 2 08:21:30 2015 +0200

----------------------------------------------------------------------
 pom.xml                                         |   1 +
 wss4j-1.6.18/pom.xml                            | 141 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  20 +++
 3 files changed, 162 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/d81f3506/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 3ad055a..41b6d40 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,6 +96,7 @@
         <module>ehcache-2.6.11</module>
         <module>jedis-2.7.1</module>
         <module>java-xmlbuilder-1.1</module>
+        <module>wss4j-1.6.18</module>
     </modules>
 
 </project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/d81f3506/wss4j-1.6.18/pom.xml
----------------------------------------------------------------------
diff --git a/wss4j-1.6.18/pom.xml b/wss4j-1.6.18/pom.xml
new file mode 100644
index 0000000..e7dbd4c
--- /dev/null
+++ b/wss4j-1.6.18/pom.xml
@@ -0,0 +1,141 @@
+<?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.wss4j</artifactId>
+    <version>1.6.18_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</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.apache.ws.security</pkgGroupId>
+        <pkgArtifactId>wss4j</pkgArtifactId>
+        <pkgVersion>1.6.18</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.apache.ws.security.*;version="${pkgVersion}"
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            !org.apache.ws.security.*,
+            javax.xml.crypto.*;version="[0,2)",
+            org.apache.xml.security.*,
+            org.bouncycastle.*;resolution:=optional,
+            org.apache.jcp.xml.dsig.internal.dom.*,
+            org.opensaml.*;resolution:=optional,
+            *;resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+            <exclusions>
+               <exclusion>
+                   <groupId>axis</groupId>
+                   <artifactId>axis-ant</artifactId>
+               </exclusion>
+               <exclusion>
+                   <groupId>bouncycastle</groupId>
+                   <artifactId>bcprov-jdk15</artifactId>
+               </exclusion>
+               <exclusion>
+                    <groupId>bouncycastle</groupId>
+                    <artifactId>bcprov-jdk13</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+            <exclusions>
+                <exclusion>
+                    <groupId>axis</groupId>
+                    <artifactId>axis-ant</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>bouncycastle</groupId>
+                    <artifactId>bcprov-jdk15</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>bouncycastle</groupId>
+                    <artifactId>bcprov-jdk13</artifactId>
+                </exclusion>
+            </exclusions>
+        </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/d81f3506/wss4j-1.6.18/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/wss4j-1.6.18/src/main/resources/OSGI-INF/bundle.info b/wss4j-1.6.18/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..f314e7a
--- /dev/null
+++ b/wss4j-1.6.18/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,20 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Apache WSS4J is an implementation of the OASIS Web Services Security (WS-Security) from
OASIS Web Services Security
+    TC. WSS4J is primarily a Java library that can be used to sign and verify SOAP Messages
with WS-Security information.
+    WSS4J will use Apache Axis and Apache XML-Security projects and will be interoperable
with JAX-RPC based
+    server/clients and .NET server/clients.
+
+    WSS4J implements
+
+        * Web Services Security: SOAP Message Security 1.1
+        * Username Token Profile 1.1
+        * X.509 Certificate Token Profile 1.1
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://ws.apache.org/wss4j/\u001B[0m


Mime
View raw message