You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2014/10/13 08:41:35 UTC

svn commit: r1631298 - in /servicemix/smx4/bundles/trunk: ./ jaxb-xjc-2.2.11/ jaxb-xjc-2.2.11/src/ jaxb-xjc-2.2.11/src/main/ jaxb-xjc-2.2.11/src/main/resources/ jaxb-xjc-2.2.11/src/main/resources/OSGI-INF/

Author: ffang
Date: Mon Oct 13 06:41:35 2014
New Revision: 1631298

URL: http://svn.apache.org/r1631298
Log:
[SMX4-1879]create jaxb-xjc 2.2.11 bundle

Added:
    servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/
    servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/pom.xml
    servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/src/
    servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/src/main/
    servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/src/main/resources/
    servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/src/main/resources/OSGI-INF/bundle.info
Modified:
    servicemix/smx4/bundles/trunk/pom.xml

Added: servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/pom.xml?rev=1631298&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/pom.xml Mon Oct 13 06:41:35 2014
@@ -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>11</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>        
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.jaxb-xjc</artifactId>
+    <version>2.2.11_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
+
+    <properties>
+        <pkgGroupId>com.sun.xml.bind</pkgGroupId>
+        <pkgArtifactId>jaxb-xjc</pkgArtifactId>
+        <pkgVersion>2.2.11</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            com.sun.tools.xjc*;-split-package:=merge-first;-noimport:=true,
+            com.sun.tools.jxc*;-split-package:=merge-first;-noimport:=true,
+            com.sun.codemodel*;-split-package:=merge-first;-noimport:=true,
+            com.sun.istack.tools*;-split-package:=merge-first;-noimport:=true
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+			!com.sun.codemodel*,
+			!com.sun.istack.tools*,
+			!com.sun.relaxng.javadt,
+			!com.sun.tools.jxc*,
+			!com.sun.tools.xjc*,
+			!com.sun.xml.bind.serializer,
+			!com.sun.xml.bind.validator,
+			!com.sun.xml.bind.xmlschema,
+			!com.sun.xml.util,
+			!org.apache.xml.resolver*,
+			com.sun.mirror*;resolution:=optional,
+			com.sun.msv*;resolution:=optional,
+			com.sun.org*;resolution:=optional,
+            com.sun.xml.fastinfoset*;resolution:=optional,
+            javax.xml.stream*;resolution:=optional,
+			org.apache.tools.ant*;resolution:=optional,
+			org.dom4j*;resolution:=optional,
+			org.iso_relax*;resolution:=optional,
+            org.jvnet.fastinfoset*;resolution:=optional,
+            org.jvnet.staxex*;resolution:=optional,
+			sun.nio.cs*;resolution:=optional,
+            *
+        </servicemix.osgi.import.pkg>
+        <servicemix.osgi.private.pkg>
+			com.sun.org.*;-split-package:=merge-first,
+			com.sun.xml.dtdparser*;-split-package:=merge-first,
+			com.sun.xml.xsom*;-split-package:=merge-first,
+			org.kohsuke.rngom*;-split-package:=merge-first,
+			org.relaxng.datatype*;-split-package:=merge-first,
+            META-INF;-split-package:=merge-first,
+            META-INF.maven.org.apache.servicemix.bundles*;-split-package:=merge-first,
+            META-INF.services;-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>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.bundles</groupId>
+            <artifactId>org.apache.servicemix.bundles.jaxb-impl</artifactId>
+            <version>2.2.11_1-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.specs</groupId>
+            <artifactId>org.apache.servicemix.specs.stax-api-1.0</artifactId>
+            <version>1.0.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.specs</groupId>
+            <artifactId>org.apache.servicemix.specs.jaxb-api-2.2</artifactId>
+            <version>1.6.0</version>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</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}</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+                                    <includes>
+                                        <include>*.properties</include>
+                                        <include>*.rng</include>
+                                    </includes>
+                                </filter>
+                            </filters>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/src/main/resources/OSGI-INF/bundle.info?rev=1631298&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/src/main/resources/OSGI-INF/bundle.info (added)
+++ servicemix/smx4/bundles/trunk/jaxb-xjc-2.2.11/src/main/resources/OSGI-INF/bundle.info Mon Oct 13 06:41:35 2014
@@ -0,0 +1,30 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:http://download.java.net/maven/2/:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    XJC is the XML Java binding compiler.
+
+    The goal of the JAXB project is to develop and evolve the code base for the Reference of JAXB, the Java Architecture
+    for XML Binding. The JAXB specification is developed through the Java Community Process following the process
+    described at jcp.org. This process involves an Expert Group with a lead that is responsible for delivering the
+    specification, a reference implementation (RI) and a Technology Compatibility Kit (TCK). The primary goal of an RI
+    is to support the development of the specification and to validate it. Specific RIs can have additional goals;
+    the JAXB RI is a production-quality implementation that is used directly in a number of products by Oracle and
+    other vendors.
+
+    The JAXB expert group has wide industry participation with Oracle as the EG lead. The initial specification
+    (JAXB 1.0) was JSR-31 and was released in March 2003.
+
+    The next versions of the spec (JAXB 2.0/2.1/2.2) are being developed as JSR-222; this release addresses a number
+    of additional requirements in the area, and increases the synergy between the JAXB and JAX-WS specifications.
+
+    The supported standards are:
+        * JAXB 2.0/2.1/2.2
+        * W3C XML Schema
+        * XML DTD
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://jaxb.java.net/\u001B[0m

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1631298&r1=1631297&r2=1631298&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Mon Oct 13 06:41:35 2014
@@ -43,6 +43,7 @@
 
     <modules>
         <module>jaxb-impl-2.2.11</module>
+        <module>jaxb-xjc-2.2.11</module>
         <!-- add modules for all bundles to released in the next batch here -->
     </modules>