This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicemix-bundles.git


The following commit(s) were added to refs/heads/master by this push:
     new a4e5133  [SM-4570] Create OSGi bundle for xmlbeans 4.0.0
a4e5133 is described below

commit a4e513346cafe99dd1ccbbd83aa2dfa2d9c50abd
Author: Jean-Baptiste Onofré <[email protected]>
AuthorDate: Sun Nov 1 18:11:33 2020 +0100

    [SM-4570] Create OSGi bundle for xmlbeans 4.0.0
---
 pom.xml                                            |   1 +
 xmlbeans-4.0.0/pom.xml                             | 182 +++++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info        |  21 +++
 3 files changed, 204 insertions(+)

diff --git a/pom.xml b/pom.xml
index b50aa93..cd89498 100644
--- a/pom.xml
+++ b/pom.xml
@@ -85,6 +85,7 @@
       <module>spring-security-taglibs-5.4.1</module>
       <module>spring-security-test-5.4.1</module>
       <module>spring-security-web-5.4.1</module>
+      <module>xmlbeans-4.0.0</module>
     </modules>
 
 </project>
diff --git a/xmlbeans-4.0.0/pom.xml b/xmlbeans-4.0.0/pom.xml
new file mode 100644
index 0000000..3731f88
--- /dev/null
+++ b/xmlbeans-4.0.0/pom.xml
@@ -0,0 +1,182 @@
+<?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>14</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.xmlbeans</artifactId>
+    <version>4.0.0_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://gitbox.apache.org/repos/asf/servicemix-bundles.git</connection>
+        
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+        <url>https://gitbox.apache.org/repos/asf?p=servicemix-bundles.git</url>
+  </scm>
+
+    <properties>
+        <pkgGroupId>org.apache.xmlbeans</pkgGroupId>
+        <pkgArtifactId>xmlbeans</pkgArtifactId>
+        <pkgVersion>4.0.0</pkgVersion>
+        <servicemix.osgi.export>
+            
org.apache.xmlbeans.impl.common;version=${pkgVersion};-split-package:=merge-first,
+            
org.apache.xmlbeans.impl.values;version=${pkgVersion};-split-package:=merge-first,
+            
org.apache.xmlbeans.impl.schema;version=${pkgVersion};-split-package:=merge-first,
+            
org.apache.xmlbeans.impl.xb.xmlschema;version=${pkgVersion};-split-package:=merge-first,
+            
org.apache.xmlbeans.impl.xb.xsdschema;version=${pkgVersion};-split-package:=merge-first,
+            
org.apache.xmlbeans.impl.regex;version=${pkgVersion};-split-package:=merge-first,
+            !org.apache.xmlbeans.impl*,
+            
org.apache.xmlbeans*;version=${pkgVersion};-split-package:=merge-first,
+            
schemaorg_apache_xmlbeans*;version=${pkgVersion};-split-package:=merge-first
+        </servicemix.osgi.export>
+        <servicemix.osgi.import.pkg>
+            com.sun.javadoc;resolution:=optional,
+            com.sun.tools.javadoc;resolution:=optional,
+            org.apache.tools.ant*;resolution:=optional;version="[1.7,2)",
+            net.sf.saxon.dom;resolution:=optional,
+            *
+        </servicemix.osgi.import.pkg>
+        <servicemix.osgi.private.pkg>
+            repackage.*;-split-package:=merge-first,
+            <!--org.apache.xml.resolver.*;-split-package:=merge-first-->
+            org.apache.xmlbeans.impl*;-split-package:=merge-first
+        </servicemix.osgi.private.pkg>
+        <servicemix.osgi.failok>true</servicemix.osgi.failok>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+
+        <dependency>
+            <groupId>net.sf.saxon</groupId>
+            <artifactId>Saxon-B</artifactId>
+            <version>9.0</version>
+            <optional>true</optional>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+            <resource>
+                
<directory>${project.build.directory}/xml-commons-resolver-1.1/resolver</directory>
+                <excludes><exclude>META-INF/*</exclude></excludes>
+            </resource>
+            <resource>
+                
<directory>${project.build.directory}/xml-commons-resolver-1.1/src</directory>
+                <excludes><exclude>manifest.resolver</exclude></excludes>
+            </resource>
+        </resources>
+
+        <plugins>
+            <plugin>
+                <groupId>com.googlecode.maven-download-plugin</groupId>
+                <artifactId>download-maven-plugin</artifactId>
+                <version>1.3.0</version>
+                <executions>
+                    <execution>
+                        <!-- the wget goal actually binds itself to this phase 
by default -->
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>wget</goal>
+                        </goals>
+                        <configuration>
+                            
<url>http://archive.apache.org/dist/xml/commons/binaries/xml-commons-resolver-1.1.zip</url>
+                            <unpack>true</unpack>
+                            <!-- default target location, just to demonstrate 
the parameter -->
+                            
<outputDirectory>${project.build.directory}</outputDirectory>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <version>1.8</version>
+                <executions>
+                    <execution>
+                        <phase>process-resources</phase>
+                        <configuration>
+                            <target>
+                                <unzip 
src="${project.build.directory}/xml-commons-resolver-1.1/resolver.jar" 
dest="${project.build.directory}/xml-commons-resolver-1.1/resolver" />
+                            </target>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <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>
diff --git a/xmlbeans-4.0.0/src/main/resources/OSGI-INF/bundle.info 
b/xmlbeans-4.0.0/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..9711461
--- /dev/null
+++ b/xmlbeans-4.0.0/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,21 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    XMLBeans is a technology for accessing XML by binding it to Java types.
+    XMLBeans provides several ways to get at the XML, including:
+
+        * Through XML schema that has been compiled to generate Java types that
+          represent schema types. In this way, you can access instances of the
+          schema through JavaBeans-style accessors after the fashion of 
"getFoo"
+          and "setFoo".
+          The XMLBeans API also allows you to reflect into the XML schema 
itself
+          through an XML Schema Object model.
+        * A cursor model through which you can traverse the full XML infoset.
+        * Support for XML DOM.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://xmlbeans.apache.org/\u001B[0m

Reply via email to