[SMX4-991] Create OSGi bundle for ws-commons-util 1.0.2

git-svn-id: https://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/ws-commons-util-1.0.2@1207601 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..ffec28a
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,98 @@
+<?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>6</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.ws-commons-util</artifactId>
+    <packaging>bundle</packaging>
+    <version>1.0.2_1-SNAPSHOT</version>
+    <name>Apache ServiceMix :: Bundles :: WS Commons Util</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
+
+    <properties>
+        <pkgGroupId>org.apache.ws.commons.util</pkgGroupId>
+        <pkgArtifactId>ws-commons-util</pkgArtifactId>
+        <pkgVersion>1.0.2</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.apache.ws.commons
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            !org.apache.ws.commons*,
+            javax.xml.namespace,
+            org.w3c.dom,
+            org.xml.sax,
+            org.xml.sax.ext,
+            org.xml.sax.helpers
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </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>
\ No newline at end of file
diff --git a/src/main/resources/OSGI-INF/bundle.info b/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..d8f88d7
--- /dev/null
+++ b/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 XML-RPC is a Java implementation of XML-RPC, a popular protocol that uses XML over HTTP
+    to implement remote procedure calls.
+
+    Version 3 of Apache XML-RPC is still compliant to the XML-RPC specification. However, the user
+    may enable several vendor extensions are available, that greatly extend the power of XML-RPC:
+
+    * All primitive Java types are supported, including long, byte, short, and double.
+    * Calendar objects are supported. In particular, timezone settings, and milliseconds may be sent.
+    * DOM nodes, or JAXB objects, can be transmitted. So are objects implementing the java.io.Serializable interface.
+    * Both server and client can operate in a streaming mode, which preserves resources much better than the default mode, which is based on large internal byte arrays.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://ws.apache.org/xmlrpc/\u001B[0m