-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflicting small rye jandex libraries #1664
Comments
smallrye plugin is adding the jandex file into jar's META-INF folder which creates the issue from my runtime classes. is there a way can we exclude this smallrye plugin jandex files? |
Thanks for reporting @pradeepbavirisetty . I'll try to take a look at this soon. |
@pradeepbavirisetty can you provide a small reproducer project that demonstrates the issue? |
@pradeepbavirisetty , running a build with that project results in a Jandex index with format version v6 (compatible with 2.0.x [1]) and the OpenAPI document generates. What steps are you taking to build/run the project? [1] https://smallrye.io/jandex/jandex/3.1.6/index.html#persistent_index_format_versions |
@MikeEdgar , |
@ruchi-rani it seems the sample project is not producing a runnable jar:
What am I missing? |
Hi Team,
plugins {
id ("io.smallrye.openapi") , version ("3.7.0")
}
dependencies {
implementation "io.smallrye:smallrye-open-api-core:2.1.16" // this must be required for openapi ui build
}
While running the project, I am getting error "org.jboss.jandex.UnsupportedVersion: Can't read index version 11; this IndexReader only supports index versions 2-3,6-10"
In run time i required 2.4.3.Final generated jandex file but in some reason io.smallrye:jandex:3.1.5 generated file is getting added to my jar file under META-INF/jandex.idx. due to this i am getting above error. if i skip generateopenapiSpec task in my build time its working fine.
Thanks,
Pradeep
The text was updated successfully, but these errors were encountered: