You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by jb...@apache.org on 2018/01/31 21:27:15 UTC
servicemix-bundles git commit: [SM-3626] Create OSGi bundle for
hibernate-validator 5.4.2.Final
Repository: servicemix-bundles
Updated Branches:
refs/heads/master eb9e1ada8 -> 87c105ba7
[SM-3626] Create OSGi bundle for hibernate-validator 5.4.2.Final
Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/87c105ba
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/87c105ba
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/87c105ba
Branch: refs/heads/master
Commit: 87c105ba7f3f0aa463e4f4aeb931e14612a6f24f
Parents: eb9e1ad
Author: Jean-Baptiste Onofré <jb...@nanthrax.net>
Authored: Wed Jan 31 22:26:26 2018 +0100
Committer: Jean-Baptiste Onofré <jb...@nanthrax.net>
Committed: Wed Jan 31 22:26:26 2018 +0100
----------------------------------------------------------------------
hibernate-validator-5.0.2.Final/pom.xml | 173 ------------------
.../src/main/resources/OSGI-INF/bundle.info | 25 ---
hibernate-validator-5.4.2.Final/pom.xml | 179 +++++++++++++++++++
.../src/main/resources/OSGI-INF/bundle.info | 25 +++
pom.xml | 1 +
5 files changed, 205 insertions(+), 198 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/87c105ba/hibernate-validator-5.0.2.Final/pom.xml
----------------------------------------------------------------------
diff --git a/hibernate-validator-5.0.2.Final/pom.xml b/hibernate-validator-5.0.2.Final/pom.xml
deleted file mode 100644
index 7fef6f1..0000000
--- a/hibernate-validator-5.0.2.Final/pom.xml
+++ /dev/null
@@ -1,173 +0,0 @@
-<?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.hibernate-validator</artifactId>
- <version>5.0.2.Final_2-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.0</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>
http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/87c105ba/hibernate-validator-5.0.2.Final/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/hibernate-validator-5.0.2.Final/src/main/resources/OSGI-INF/bundle.info b/hibernate-validator-5.0.2.Final/src/main/resources/OSGI-INF/bundle.info
deleted file mode 100644
index 77d404b..0000000
--- a/hibernate-validator-5.0.2.Final/src/main/resources/OSGI-INF/bundle.info
+++ /dev/null
@@ -1,25 +0,0 @@
-\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
http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/87c105ba/hibernate-validator-5.4.2.Final/pom.xml
----------------------------------------------------------------------
diff --git a/hibernate-validator-5.4.2.Final/pom.xml b/hibernate-validator-5.4.2.Final/pom.xml
new file mode 100644
index 0000000..2aa7391
--- /dev/null
+++ b/hibernate-validator-5.4.2.Final/pom.xml
@@ -0,0 +1,179 @@
+<?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>13</version>
+ <relativePath>../bundles-pom/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.hibernate-validator</artifactId>
+ <version>5.4.2.Final_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://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection>
+ <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+ <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url>
+ <tag>HEAD</tag>
+ </scm>
+
+ <properties>
+ <jtype.version>0.1.1</jtype.version>
+ <pkgGroupId>org.hibernate</pkgGroupId>
+ <pkgArtifactId>hibernate-validator</pkgArtifactId>
+ <pkgVersion>5.4.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.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.0</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>
http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/87c105ba/hibernate-validator-5.4.2.Final/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/hibernate-validator-5.4.2.Final/src/main/resources/OSGI-INF/bundle.info b/hibernate-validator-5.4.2.Final/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..77d404b
--- /dev/null
+++ b/hibernate-validator-5.4.2.Final/src/main/resources/OSGI-INF/bundle.info
@@ -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
http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/87c105ba/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index da4e072..de955f5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -110,6 +110,7 @@
<module>spring-security-ldap-4.2.4.RELEASE</module>
<module>spring-security-taglibs-4.2.4.RELEASE</module>
<module>spring-security-web-4.2.4.RELEASE</module>
+ <module>hibernate-validator-5.4.2.Final</module>
</modules>
</project>