Skip to content
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

Jandex 3 Updates #23908

Open
tbitonti opened this issue Jan 13, 2023 · 0 comments
Open

Jandex 3 Updates #23908

tbitonti opened this issue Jan 13, 2023 · 0 comments

Comments

@tbitonti
Copy link
Contributor

tbitonti commented Jan 13, 2023

Jandex 3 Updates:

  • Split the current Jandex bundle into Jandex v2 and Jandex v3 bundles (already done).
  • Update Jandex dependent components to specify either v2 or v3, with additional updates as needed to use the Jandex 3 updated APIs (done for MP OpenAPI).
  • Update annotation caching to be able to consume Jandex v3.0 indexes.

Jandex v3.0 updates are summarized by the blog:

Of note, neither the Jandex v3.0 APIs nor the Jandex v3.0 index format are backwards compatible with Jandex 2.0.


Part 1 was done as a part of an update for MP OpenAPI. See the pull request:

"Update to Smallrye OpenAPI 3.1.1 and add Jandex 3"
#23686


Note also the following, which is to test Jandex 3:

#21592


Old coordinates / New coordinates
org.jboss:jandex / io.smallrye:jandex
org.jboss.jandex:jandex-maven-plugin / io.smallrye:jandex-maven-plugin


Currently, open liberty provides jandex as a plugin.

See "open-liberty/dev/com.ibm.ws.org.jboss.jandex".

With:

bnd.bnd:

-include=
jar:${fileuri;${repo;org.jboss.jandex;2.1.2.Final}}!/META-INF/MANIFEST.MF,
bnd.overrides

bnd.overrides:

Bundle-Name: jandex
Bundle-SymbolicName: com.ibm.ws.org.jboss.jandex


Updates to enable reading Jandex 3.0 indexes by annotation caching are covered by the issue:

#23909

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Kernel Tasks
Development

No branches or pull requests

1 participant