You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ni...@apache.org on 2012/01/18 05:53:37 UTC

svn commit: r1232745 - in /servicemix/smx4/bundles/trunk: ./ saxon-9.3.0.11/ saxon-9.3.0.11/src/ saxon-9.3.0.11/src/main/ saxon-9.3.0.11/src/main/resources/ saxon-9.3.0.11/src/main/resources/OSGI-INF/

Author: ningjiang
Date: Wed Jan 18 04:53:37 2012
New Revision: 1232745

URL: http://svn.apache.org/viewvc?rev=1232745&view=rev
Log:
SMX4-1036 Create Bundler wrap of saxon 9.3.0.11

Added:
    servicemix/smx4/bundles/trunk/saxon-9.3.0.11/
    servicemix/smx4/bundles/trunk/saxon-9.3.0.11/pom.xml   (with props)
    servicemix/smx4/bundles/trunk/saxon-9.3.0.11/src/
    servicemix/smx4/bundles/trunk/saxon-9.3.0.11/src/main/
    servicemix/smx4/bundles/trunk/saxon-9.3.0.11/src/main/resources/
    servicemix/smx4/bundles/trunk/saxon-9.3.0.11/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/saxon-9.3.0.11/src/main/resources/OSGI-INF/bundle.info
Modified:
    servicemix/smx4/bundles/trunk/pom.xml

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1232745&r1=1232744&r2=1232745&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Wed Jan 18 04:53:37 2012
@@ -51,6 +51,7 @@
       <module>libthrift-0.7.0</module>
       <module>libthrift-0.8.0</module>
       <module>snappy-java-1.0.4.1</module>
+      <module>saxon-9.3.0.11</module>
     </modules>
 
 </project>

Added: servicemix/smx4/bundles/trunk/saxon-9.3.0.11/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/saxon-9.3.0.11/pom.xml?rev=1232745&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/saxon-9.3.0.11/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/saxon-9.3.0.11/pom.xml Wed Jan 18 04:53:37 2012
@@ -0,0 +1,104 @@
+<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/maven-v4_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.saxon</artifactId>
+    <packaging>bundle</packaging>
+    <version>9.3.0.11_1-SNAPSHOT</version>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps saxon he
+        ${pkgVersion} jar files.</description>
+
+    <properties>
+        <pkgGroupId>net.sf.saxon</pkgGroupId>
+        <pkgArtifactId>saxon9he</pkgArtifactId>
+        <pkgVersion>9.3.0.11</pkgVersion>
+        <servicemix.osgi.export>
+            net.sf.saxon*;version=${pkgVersion};-split-package:=merge-first,
+            javax.xml.xquery
+        </servicemix.osgi.export>
+        <servicemix.osgi.import.pkg>
+            !net.sf.saxon*,
+            *
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>saxon9he</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+    </dependencies>
+
+    <repositories>
+        <!-- ServiceMix repo -->
+        <repository>
+            <id>servicemix</id>
+            <name>Apache ServiceMix Repository</name>
+            <url>http://svn.apache.org/repos/asf/servicemix/m2-repo</url>
+        </repository>
+    </repositories>
+
+    <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}:saxon9he</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:saxon9he</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>false</createDependencyReducedPom>
+                            <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: servicemix/smx4/bundles/trunk/saxon-9.3.0.11/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/bundles/trunk/saxon-9.3.0.11/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: servicemix/smx4/bundles/trunk/saxon-9.3.0.11/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: servicemix/smx4/bundles/trunk/saxon-9.3.0.11/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/saxon-9.3.0.11/src/main/resources/OSGI-INF/bundle.info?rev=1232745&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/saxon-9.3.0.11/src/main/resources/OSGI-INF/bundle.info (added)
+++ servicemix/smx4/bundles/trunk/saxon-9.3.0.11/src/main/resources/OSGI-INF/bundle.info Wed Jan 18 04:53:37 2012
@@ -0,0 +1,13 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URLs:
+        \u001B[33mmvn:${pkgGroupId}/saxon9he/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Saxon is a XSLT and XQuery processor.
+
+    It supports XSLT 2.0 and XPath 2.0, and XQuery 1.0.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://saxon.sourceforge.net/\u001B[0m