servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1554377 - in /servicemix/smx4/bundles/trunk: ./ hibernate-validator-5.0.2.Final/ hibernate-validator-5.0.2.Final/src/ hibernate-validator-5.0.2.Final/src/main/ hibernate-validator-5.0.2.Final/src/main/resources/ hibernate-validator-5.0.2.F...
Date Tue, 31 Dec 2013 07:10:09 GMT
Author: jbonofre
Date: Tue Dec 31 07:10:08 2013
New Revision: 1554377

URL: http://svn.apache.org/r1554377
Log:
[SMX4-1620] Create OSGi bundle for hibernate-validator 5.0.2.Final

Added:
    servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/
    servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/pom.xml
    servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/src/
    servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/src/main/
    servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/src/main/resources/
    servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/src/main/resources/OSGI-INF/bundle.info
Modified:
    servicemix/smx4/bundles/trunk/pom.xml

Added: servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/pom.xml?rev=1554377&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/pom.xml Tue Dec 31 07:10:08
2013
@@ -0,0 +1,174 @@
+<?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-SNAPSHOT</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.hibernate-validator</artifactId>
+    <version>5.0.2.Final_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
+
+    <properties>
+        <jtype.version>0.1.1</jtype.version>
+        <pkgGroupId>org.hibernate</pkgGroupId>
+        <pkgArtifactId>hibernate-validator</pkgArtifactId>
+        <pkgVersion>5.0.2.Final</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.hibernate.validator
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.validation*,
+            com.fasterxml.classmate;resolution:=optional,
+            com.fasterxml.classmate.members;resolution:=optional,
+            javax.el,
+            javax.xml.stream,
+            javax.xml.stream.events,
+            org.jboss.logging;resolution:=optional,
+            org.joda.time,
+            org.jsoup,
+            org.jsoup.safety,
+            javax.persistence;resolution:=optional,
+            javax.script;resolution:=optional,
+            javax.xml.bind*;resolution:=optional,
+            javax.xml.namespace*;resolution:=optional,
+            javax.xml.transform*;resolution:=optional,
+            javax.xml.validation;resolution:=optional,
+            org.xml.sax*;resolution:=optional,
+            org.slf4j;resolution:=optional
+        </servicemix.osgi.import.pkg>
+        <servicemix.osgi.private.pkg>
+            com.googlecode.jtype,
+            META-INF;-split-package:=merge-first,
+            META-INF.services;-split-package:=merge-first
+        </servicemix.osgi.private.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>javax.xml.bind</groupId>
+                    <artifactId>jaxb-api</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>javax.xml.bind</groupId>
+                    <artifactId>jaxb-impl</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>com.googlecode.jtype</groupId>
+            <artifactId>jtype</artifactId>
+            <version>${jtype.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.specs</groupId>
+            <artifactId>org.apache.servicemix.specs.jsr303-api-1.1.0</artifactId>
+            <version>2.4-SNAPSHOT</version>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <exclusions>
+                <exclusion>
+                    <groupId>javax.xml.bind</groupId>
+                    <artifactId>jaxb-api</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>javax.xml.bind</groupId>
+                    <artifactId>jaxb-impl</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+    </dependencies>
+
+    <repositories>
+        <repository>
+            <id>jboss</id>
+            <name>JBoss Maven Repository</name>
+            <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </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}:${pkgArtifactId}</include>
+                                    <include>com.sun.xml.bind:jaxb-impl</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>com.sun.xml.bind:jaxb-impl</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/hibernate-validator-5.0.2.Final/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/src/main/resources/OSGI-INF/bundle.info?rev=1554377&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/src/main/resources/OSGI-INF/bundle.info
(added)
+++ servicemix/smx4/bundles/trunk/hibernate-validator-5.0.2.Final/src/main/resources/OSGI-INF/bundle.info
Tue Dec 31 07:10:08 2013
@@ -0,0 +1,25 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:http://repository.jboss.org/nexus/content/groups/public-jboss/:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+
+    Hibernate Validator 4.x is the reference implementation for JSR 303 - Bean Validation
of which Red Hat is the
+    specification lead.
+
+    JSR 303 - Bean Validation defines a metadata model and API for JavaBean validation. The
default metadata source is
+    annotations, with the ability to override and extend the meta-data through the use of
XML validation descriptors.
+    The API is not tied to a specific application tier or programming model. It is specifically
not tied to either the
+    web tier or the persistence tier, and is available for both server-side application programming,
as well as rich
+    client Swing application developer.
+
+    Together with the reference implementation of JSR 303 - Bean Validation, Hibernate provides
also the Bean Validation
+    TCK. You can find more information about the TCK on the Hibernate wiki.
+
+    Hibernate Validator 4, together with the Bean Validation API and TCK are all provided
and distributed by JBoss
+    (Red Hat) under the Apache Software License 2.0.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://www.hibernate.org/subprojects/validator.html\u001B[0m

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1554377&r1=1554376&r2=1554377&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Tue Dec 31 07:10:08 2013
@@ -65,6 +65,7 @@
         <module>aws-java-sdk-1.6.10</module>
         <module>jackson-module-scala-2.3.0</module>
         <module>netty-3.2.10.Final</module>
+        <module>hibernate-validator-5.0.2.Final</module>
     </modules>
 
 </project>



Mime
View raw message