Skip to content

Commit

Permalink
Add Jakarta Validation 3.1.0-M1
Browse files Browse the repository at this point in the history
Add patch for Hibernate-validator and some code to easier find OSGi
version mismatches

Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
  • Loading branch information
arjantijms committed Dec 17, 2023
1 parent 31ca277 commit 5d007fe
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 329 deletions.
13 changes: 7 additions & 6 deletions appserver/distributions/glassfish/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,6 @@
destfile="${glassfish.modules}/hibernate-validator.jar"
/>

<jarupdate
basedir="${patches}/hibernate-validator" includes="META-INF/MANIFEST.MF"
destfile="${glassfish.modules}/hibernate-validator.jar"
/>

<jarupdate
basedir="${patches}/jakarta.enterprise.cdi-el-api" includes="META-INF/MANIFEST.MF"
destfile="${glassfish.modules}/jakarta.enterprise.cdi-el-api.jar"
Expand All @@ -139,7 +134,7 @@



<!-- To support JSP 5 -->
<!-- To support Pages 5 -->
<jarupdate
basedir="${patches}/jersey-mvc-jsp" includes="META-INF/MANIFEST.MF"
destfile="${glassfish.modules}/jersey-mvc-jsp.jar"
Expand Down Expand Up @@ -207,6 +202,12 @@
basedir="${patch.classes}" includes="org/glassfish/jersey/ext/cdi1x/internal/CdiComponentProvider$*"
destfile="${glassfish.modules}/jersey-cdi1x.jar"
/>
<jarupdate
basedir="${patches}/hibernate-validator-cdi" includes="META-INF/MANIFEST.MF"
destfile="${glassfish.modules}/hibernate-validator-cdi.jar"
/>


</target>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Manifest-Version: 1.0
Created-By: Apache Maven Bundle Plugin 5.1.4
Built-By: jenkins
Build-Jdk: 17.0.7
Automatic-Module-Name: org.hibernate.validator.cdi
Implementation-Title: hibernate-validator-cdi
Implementation-URL: http://hibernate.org/validator/
Implementation-Vendor: org.hibernate.validator
Implementation-Vendor-Id: org.hibernate.validator
Implementation-Version: 8.0.1.Final
Specification-Title: Jakarta Bean Validation
Specification-Version: 2.0
Bnd-LastModified: 1687278852238
Build-Jdk-Spec: 17
Bundle-Description: Hibernate Validator CDI Portable Extension
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-ManifestVersion: 2
Bundle-Name: Hibernate Validator Portable Extension
Bundle-SymbolicName: org.hibernate.validator.cdi
Bundle-Version: 8.0.1.Final
Export-Package: org.hibernate.validator.cdi;version="8.0.1.Final";uses:=
"jakarta.enterprise.event,jakarta.enterprise.inject.spi,jakarta.inject,
jakarta.validation,jakarta.validation.executable"
Fragment-Host: org.hibernate.validator
Import-Package: jakarta.validation;version="[3.0,4.0)",jakarta.validatio
n.bootstrap;version="[3.0,4.0)",jakarta.validation.executable;version="
[3.0,4.0)",jakarta.validation.metadata;version="[3.0,4.0)",jakarta.vali
dation.valueextraction;version="[3.0,4.0)",jakarta.annotation;version="
[2.0,4.0)",jakarta.interceptor;version="[2.0,3.0)",jakarta.enterprise.c
ontext;version="[3.0,5.0)",jakarta.enterprise.context.spi;version="[3.0
,5.0)",jakarta.enterprise.event;version="[3.0,5.0)",jakarta.enterprise.
inject;version="[3.0,5.0)",jakarta.enterprise.inject.literal;version="[
3.0,5.0)",jakarta.enterprise.inject.spi;version="[3.0,5.0)",jakarta.ent
erprise.util;version="[3.0,5.0)",jakarta.inject;version="[2.0,3)"
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=11))"
Tool: Bnd-5.1.1.202006162103

Loading

0 comments on commit 5d007fe

Please sign in to comment.