servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1463281 - in /servicemix/smx4/bundles/trunk: jibx-1.2.5/ jibx-1.2.5/pom.xml jibx-1.2.5/src/ jibx-1.2.5/src/main/ jibx-1.2.5/src/main/resources/ jibx-1.2.5/src/main/resources/OSGI-INF/ jibx-1.2.5/src/main/resources/OSGI-INF/bundle.info pom.xml
Date Mon, 01 Apr 2013 20:14:12 GMT
Author: jbonofre
Date: Mon Apr  1 20:14:12 2013
New Revision: 1463281

URL: http://svn.apache.org/r1463281
Log:
[SMX4-1415] Create OSGi bundle for jibx 1.2.5

Added:
    servicemix/smx4/bundles/trunk/jibx-1.2.5/
    servicemix/smx4/bundles/trunk/jibx-1.2.5/pom.xml
    servicemix/smx4/bundles/trunk/jibx-1.2.5/src/
    servicemix/smx4/bundles/trunk/jibx-1.2.5/src/main/
    servicemix/smx4/bundles/trunk/jibx-1.2.5/src/main/resources/
    servicemix/smx4/bundles/trunk/jibx-1.2.5/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/jibx-1.2.5/src/main/resources/OSGI-INF/bundle.info
Modified:
    servicemix/smx4/bundles/trunk/pom.xml

Added: servicemix/smx4/bundles/trunk/jibx-1.2.5/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/jibx-1.2.5/pom.xml?rev=1463281&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/jibx-1.2.5/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/jibx-1.2.5/pom.xml Mon Apr  1 20:14:12 2013
@@ -0,0 +1,152 @@
+<?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>10</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.jibx</artifactId>
+    <packaging>bundle</packaging>
+    <version>1.2.5_1-SNAPSHOT</version>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps jibx-bind, jibx-extras, and jibx-run ${pkgVersion}
jar files.</description>
+
+    <properties>
+        <pkgGroupId>org.jibx</pkgGroupId>
+        <pkgArtifactId>jibx</pkgArtifactId>
+        <pkgVersion>1.2.5</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.jibx
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.xml*,
+            org.apache.bcel*;version="[5.0.0,6)",
+            org.dom4j*;version="[1.6,2)",
+            org.jdom*;version="[1.0,2)",
+            org.w3c.dom,
+            org.xmlpull*;version="[1.1.3.1,2)",
+            org.apache.log4j*;resolution:=optional,
+            org.apache.tools.ant*;resolution:=optional,
+            org.joda.time*;resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-bind</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-extras</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-run</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+
+        <!-- sources -->
+        <!-- Not available
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-bind</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-extras</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-run</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <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}-bind</include>
+                                    <include>${pkgGroupId}:${pkgArtifactId}-extras</include>
+                                    <include>${pkgGroupId}:${pkgArtifactId}-run</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}-bind</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}-extras</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}-run</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

Added: servicemix/smx4/bundles/trunk/jibx-1.2.5/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/jibx-1.2.5/src/main/resources/OSGI-INF/bundle.info?rev=1463281&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/jibx-1.2.5/src/main/resources/OSGI-INF/bundle.info (added)
+++ servicemix/smx4/bundles/trunk/jibx-1.2.5/src/main/resources/OSGI-INF/bundle.info Mon Apr
 1 20:14:12 2013
@@ -0,0 +1,35 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URLs:
+        \u001B[33mmvn:${pkgGroupId}/jibx-bind/${pkgVersion}\u001B[0m
+        \u001B[33mmvn:${pkgGroupId}/jibx-extras/${pkgVersion}\u001B[0m
+        \u001B[33mmvn:${pkgGroupId}/jibx-run/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    JiBX is a tool for binding XML data to Java objects. It's extremely flexible, allowing
you to start from existing
+    Java code and generate an XML schema, start from an XML schema and generate Java code,
or bridge your existing code
+    to a schema that represents the same data. It also provides very high performance, outperforming
all other Java
+    data binding tools across a wide variety of tests.
+
+    How does JiBX manage to provide both flexibility and performance? The key is using binding
definition documents to
+    specify how your Java objects are converted to or from XML, combined with bytecode enhancement
to embed the
+    conversion code directly into your classes. The bytecode enhancement is done by executing
one of the JiBX components
+    (the binding compiler) after your Java classes have been compiled. Once the binding compiler
has run and your
+    classes have been enhanced with the JiBX binding code, you can continue the normal steps
you take in assembling your
+    application (such as building jar files, etc.).
+
+    The second JiBX component is the binding runtime. The enhanced class files generated
by the binding compiler use
+    this runtime component both for actually building objects from an XML input document
(called unmarshalling, in data
+    binding terms) and for generating an XML output document from objects (called marshalling).
The runtime uses a
+    separate XML parser (either one based on the XMLPull open source API, or on the StAX
Java standard), but is
+    otherwise self-contained.
+
+    Performance was originally part of the inspiration for writing JiBX, and JiBX has consistently
delivered performance
+    far ahead of the field. We're not aware of any recent published performance comparisions
between data binding
+    frameworks, but you can view some older results from the BindMark tests, along with a
similar study focused around
+    Web services performance.. These sets of results are both from late 2005, but our own
testing shows that little
+    has changed since then.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://jibx.sourceforge.net/\u001B[0m

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1463281&r1=1463280&r2=1463281&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Mon Apr  1 20:14:12 2013
@@ -59,6 +59,7 @@
         <module>lucene-queries-4.2.0</module>
         <module>lucene-queryparser-4.2.0</module>
         <module>lucene-sandbox-4.2.0</module>
+        <module>jibx-1.2.5</module>
     </modules>
 
 </project>



Mime
View raw message