You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/01/21 13:29:15 UTC

[camel-karaf] 01/09: Don't use the Hibernate Validator feature repository

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git

commit 440fc55b122dbf5898a0e0070aaed7d07f5e5cd7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jan 21 14:11:11 2022 +0100

    Don't use the Hibernate Validator feature repository
---
 platforms/karaf/features/src/main/resources/features.xml | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/platforms/karaf/features/src/main/resources/features.xml b/platforms/karaf/features/src/main/resources/features.xml
index 527ca5b..d07d37b 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -20,7 +20,6 @@
 <features xmlns="http://karaf.apache.org/xmlns/features/v1.5.0" name='camel-${project.version}'>
   <repository>mvn:org.apache.cxf.karaf/apache-cxf/${cxf-version-range}/xml/features</repository>
   <repository>mvn:org.ops4j.pax.cdi/pax-cdi-features/[1,2)/xml/features</repository>
-  <repository>mvn:org.hibernate.validator/hibernate-validator-osgi-karaf-features/[6.2,6.2]/xml/features</repository>
 
   <feature name='xml-specs-api' version='${servicemix-specs-version}' start-level='10'>
     <bundle dependency='true'>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/${servicemix-specs-version}</bundle>
@@ -442,7 +441,11 @@
   </feature>
   <feature name='camel-bean-validator' version='${project.version}' start-level='50'>
     <feature version='${project.version}'>camel-core</feature>
-    <feature>hibernate-validator</feature>
+    <bundle>mvn:org.hibernate.validator/hibernate-validator/6.2.0.Final</bundle>
+    <bundle>mvn:jakarta.validation/jakarta.validation-api/2.0.2</bundle>
+    <bundle>mvn:org.jboss.logging/jboss-logging/3.4.1.Final</bundle>
+    <bundle>mvn:com.fasterxml/classmate/1.5.1</bundle>
+    <bundle>mvn:org.glassfish/jakarta.el/3.0.3</bundle>
     <bundle>mvn:org.apache.camel.karaf/camel-bean-validator-osgi/${project.version}</bundle>
     <bundle>mvn:org.apache.camel/camel-bean-validator/${project.version}</bundle>
   </feature>
@@ -535,7 +538,11 @@
   <feature name='camel-cm-sms' version='${project.version}' start-level='50'>
     <feature version='${project.version}'>camel-core</feature>
     <feature version='${cxf-version-range}'>cxf-specs</feature>
-    <feature>hibernate-validator</feature>
+<bundle>mvn:org.hibernate.validator/hibernate-validator/6.2.0.Final</bundle>
+<bundle>mvn:jakarta.validation/jakarta.validation-api/2.0.2</bundle>
+<bundle>mvn:org.jboss.logging/jboss-logging/3.4.1.Final</bundle>
+<bundle>mvn:com.fasterxml/classmate/1.5.1</bundle>
+<bundle>mvn:org.glassfish/jakarta.el/3.0.3</bundle>
     <bundle dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.libphonenumber/${libphonenumber-bundle-version}</bundle>
     <bundle dependency='true'>mvn:org.apache.httpcomponents/httpcore-osgi/${httpcore4-version}</bundle>
     <bundle dependency='true'>mvn:org.apache.httpcomponents/httpclient-osgi/${httpclient4-version}</bundle>