Repository: servicemix-bundles Updated Branches: refs/heads/master 258addc4b -> a1f90f70a
[SM-3010] Create OSGi bundle for wss4j 1.6.19 Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/a1f90f70 Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/a1f90f70 Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/a1f90f70 Branch: refs/heads/master Commit: a1f90f70a104f511fe21d8f6dfe5ddcad926f746 Parents: 258addc Author: Jean-Baptiste Onofré <[email protected]> Authored: Tue May 31 10:18:49 2016 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Tue May 31 10:18:49 2016 +0200 ---------------------------------------------------------------------- pom.xml | 1 + wss4j-1.6.19/pom.xml | 142 +++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 20 +++ 3 files changed, 163 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/a1f90f70/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 4348115..c48c59b 100644 --- a/pom.xml +++ b/pom.xml @@ -104,6 +104,7 @@ <module>htmlunit-2.22</module> <module>ognl-3.1.7</module> <module>saxon-9.7.0-5</module> + <module>wss4j-1.6.19</module> </modules> </project> http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/a1f90f70/wss4j-1.6.19/pom.xml ---------------------------------------------------------------------- diff --git a/wss4j-1.6.19/pom.xml b/wss4j-1.6.19/pom.xml new file mode 100644 index 0000000..1ef6189 --- /dev/null +++ b/wss4j-1.6.19/pom.xml @@ -0,0 +1,142 @@ +<?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.19_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> + <tag>HEAD</tag> + </scm> + + <properties> + <pkgGroupId>org.apache.ws.security</pkgGroupId> + <pkgArtifactId>wss4j</pkgArtifactId> + <pkgVersion>1.6.19</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/a1f90f70/wss4j-1.6.19/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/wss4j-1.6.19/src/main/resources/OSGI-INF/bundle.info b/wss4j-1.6.19/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..f314e7a --- /dev/null +++ b/wss4j-1.6.19/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
