diff --git a/bom/application/pom.xml b/bom/application/pom.xml
index fd113ff6e182b..78b8fa5c96ee1 100644
--- a/bom/application/pom.xml
+++ b/bom/application/pom.xml
@@ -17,7 +17,7 @@
1.68
1.0.2.1
1.0.11.4
- 2.2.3.Final
+ 2.3.0.Final
4.6.0.Final
0.33.0
1.0.0
@@ -46,7 +46,7 @@
3.0.2
3.0.1
2.1.5
- 1.2.3
+ 1.2.4
2.0.0
5.1.0
3.2.0
diff --git a/build-parent/pom.xml b/build-parent/pom.xml
index 148dab245e070..6a8b35c1dbf2e 100644
--- a/build-parent/pom.xml
+++ b/build-parent/pom.xml
@@ -548,7 +548,7 @@
org.jboss.jandex
jandex-maven-plugin
- 1.0.8
+ 1.1.0
net.revelc.code.formatter
@@ -912,7 +912,7 @@
jandex-maven-plugin
- [1.0.5,)
+ [1.1.0,)
jandex
diff --git a/docs/src/main/asciidoc/cdi-reference.adoc b/docs/src/main/asciidoc/cdi-reference.adoc
index 389f69228ba1b..92fac4e658f0a 100644
--- a/docs/src/main/asciidoc/cdi-reference.adoc
+++ b/docs/src/main/asciidoc/cdi-reference.adoc
@@ -53,7 +53,7 @@ To generate the index just add the following to your `pom.xml`:
org.jboss.jandex
jandex-maven-plugin
- 1.0.7
+ 1.1.0
make-index
@@ -72,7 +72,7 @@ If you are are using gradle, you can apply the following plugin to your `build.g
[source,groovy]
----
plugins {
- id 'org.kordamp.gradle.jandex' version '0.10.0'
+ id 'org.kordamp.gradle.jandex' version '0.11.0'
}
----
diff --git a/docs/src/main/asciidoc/maven-tooling.adoc b/docs/src/main/asciidoc/maven-tooling.adoc
index 33d077e7c3228..4c9cb74228705 100644
--- a/docs/src/main/asciidoc/maven-tooling.adoc
+++ b/docs/src/main/asciidoc/maven-tooling.adoc
@@ -551,7 +551,7 @@ unless it is the main application module already configured with the quarkus-mav
org.jboss.jandex
jandex-maven-plugin
- 1.0.7
+ 1.1.0
make-index
diff --git a/extensions/hibernate-validator/deployment/src/main/java/io/quarkus/hibernate/validator/deployment/HibernateValidatorProcessor.java b/extensions/hibernate-validator/deployment/src/main/java/io/quarkus/hibernate/validator/deployment/HibernateValidatorProcessor.java
index e331c6deadc3d..5509ef44580a4 100644
--- a/extensions/hibernate-validator/deployment/src/main/java/io/quarkus/hibernate/validator/deployment/HibernateValidatorProcessor.java
+++ b/extensions/hibernate-validator/deployment/src/main/java/io/quarkus/hibernate/validator/deployment/HibernateValidatorProcessor.java
@@ -273,37 +273,26 @@ public void build(HibernateValidatorRecorder recorder, RecorderContext recorderC
contributeClass(classNamesToBeValidated, indexView, annotation.target().asClass().name());
// no need for reflection in the case of a class level constraint
} else if (annotation.target().kind() == AnnotationTarget.Kind.TYPE) {
- // there is a bug in Jandex regarding enclosingTarget() when annotations are on constructors located in a separate indexed library
- // (enclosing target is a ClassInfo instead of a MethodInfo and enclosingTarget() tries to catch it to a MethodInfo
- // leading to a ClassCastException)
- // for now we swallow the exception, pending a bugfix in Jandex
- // see https://github.com/quarkusio/quarkus/issues/17491
- try {
- // container element constraints
- AnnotationTarget enclosingTarget = annotation.target().asType().enclosingTarget();
- if (enclosingTarget.kind() == AnnotationTarget.Kind.FIELD) {
- contributeClass(classNamesToBeValidated, indexView,
- enclosingTarget.asField().declaringClass().name());
- reflectiveFields.produce(new ReflectiveFieldBuildItem(enclosingTarget.asField()));
- if (annotation.target().asType().target() != null) {
- contributeClassMarkedForCascadingValidation(classNamesToBeValidated, indexView,
- consideredAnnotation,
- annotation.target().asType().target());
- }
- } else if (enclosingTarget.kind() == AnnotationTarget.Kind.METHOD) {
- contributeClass(classNamesToBeValidated, indexView,
- enclosingTarget.asMethod().declaringClass().name());
- reflectiveMethods.produce(new ReflectiveMethodBuildItem(enclosingTarget.asMethod()));
- if (annotation.target().asType().target() != null) {
- contributeClassMarkedForCascadingValidation(classNamesToBeValidated, indexView,
- consideredAnnotation,
- annotation.target().asType().target());
- }
- contributeMethodsWithInheritedValidation(methodsWithInheritedValidation, indexView,
- enclosingTarget.asMethod());
+ // container element constraints
+ AnnotationTarget enclosingTarget = annotation.target().asType().enclosingTarget();
+ if (enclosingTarget.kind() == AnnotationTarget.Kind.FIELD) {
+ contributeClass(classNamesToBeValidated, indexView, enclosingTarget.asField().declaringClass().name());
+ reflectiveFields.produce(new ReflectiveFieldBuildItem(enclosingTarget.asField()));
+ if (annotation.target().asType().target() != null) {
+ contributeClassMarkedForCascadingValidation(classNamesToBeValidated, indexView,
+ consideredAnnotation,
+ annotation.target().asType().target());
}
- } catch (Exception e) {
- // ignore
+ } else if (enclosingTarget.kind() == AnnotationTarget.Kind.METHOD) {
+ contributeClass(classNamesToBeValidated, indexView, enclosingTarget.asMethod().declaringClass().name());
+ reflectiveMethods.produce(new ReflectiveMethodBuildItem(enclosingTarget.asMethod()));
+ if (annotation.target().asType().target() != null) {
+ contributeClassMarkedForCascadingValidation(classNamesToBeValidated, indexView,
+ consideredAnnotation,
+ annotation.target().asType().target());
+ }
+ contributeMethodsWithInheritedValidation(methodsWithInheritedValidation, indexView,
+ enclosingTarget.asMethod());
}
}
}
diff --git a/independent-projects/arc/pom.xml b/independent-projects/arc/pom.xml
index 0ec9787549872..3c639f830ac10 100644
--- a/independent-projects/arc/pom.xml
+++ b/independent-projects/arc/pom.xml
@@ -38,7 +38,7 @@
2.0.2
1.3.3
- 2.2.3.Final
+ 2.3.0.Final
5.7.2
3.8.1
3.19.0
diff --git a/independent-projects/resteasy-reactive/pom.xml b/independent-projects/resteasy-reactive/pom.xml
index f3b30866bf631..09d152896fa81 100644
--- a/independent-projects/resteasy-reactive/pom.xml
+++ b/independent-projects/resteasy-reactive/pom.xml
@@ -37,7 +37,7 @@
11
2.0.2
- 2.2.3.Final
+ 2.3.0.Final
5.7.2
3.8.1
3.19.0
diff --git a/independent-projects/tools/artifact-api/pom.xml b/independent-projects/tools/artifact-api/pom.xml
index 532436a5e2f73..92fafdbce73d4 100644
--- a/independent-projects/tools/artifact-api/pom.xml
+++ b/independent-projects/tools/artifact-api/pom.xml
@@ -18,7 +18,7 @@
org.jboss.jandex
jandex-maven-plugin
- 1.0.8
+ 1.1.0
make-index
diff --git a/independent-projects/tools/registry-client/pom.xml b/independent-projects/tools/registry-client/pom.xml
index b19b8ee9ccdc8..22f9694785d7b 100644
--- a/independent-projects/tools/registry-client/pom.xml
+++ b/independent-projects/tools/registry-client/pom.xml
@@ -50,7 +50,7 @@
org.jboss.jandex
jandex-maven-plugin
- 1.0.8
+ 1.1.0
make-index
diff --git a/integration-tests/gradle/src/test/resources/jandex-basic-multi-module-project/common/build.gradle b/integration-tests/gradle/src/test/resources/jandex-basic-multi-module-project/common/build.gradle
index 73a04793a63cc..fe90b053de660 100644
--- a/integration-tests/gradle/src/test/resources/jandex-basic-multi-module-project/common/build.gradle
+++ b/integration-tests/gradle/src/test/resources/jandex-basic-multi-module-project/common/build.gradle
@@ -1,7 +1,7 @@
plugins {
id 'io.quarkus'
id 'java-library'
- id "org.kordamp.gradle.jandex" version "0.10.0"
+ id "org.kordamp.gradle.jandex" version "0.11.0"
}
dependencies {
diff --git a/tcks/microprofile-rest-client-reactive/pom.xml b/tcks/microprofile-rest-client-reactive/pom.xml
index c8719dbcadd69..84a10536fb84e 100644
--- a/tcks/microprofile-rest-client-reactive/pom.xml
+++ b/tcks/microprofile-rest-client-reactive/pom.xml
@@ -88,7 +88,7 @@
org.jboss.jandex
jandex-maven-plugin
- 1.0.8
+ 1.1.0
make-index