First of all, I have a multi-module maven hierarchy like that:
├── project (parent pom.xml)
│ ├── service
│ ├── api-library
So now to the problem:
I am writing a JAX-RS Endpoint in the service module which uses classes in the api-library.
When I start quarkus, I am getting this warning:
13:01:18,784 WARN [io.qua.dep.ste.ReflectiveHierarchyStep] Unable to properly register the hierarchy of the following classes for reflection as they are not in the Jandex index:
- com.example.Fruit
- com.example.Car
Consider adding them to the index either by creating a Jandex index for your dependency or via quarkus.index-dependency properties.
This two classes com.example.Fruit
and com.example.Car
are located in the api-library
module.
So I think I need to add them to the Jandex index-dependency in the application.properties.
But how can I add Jandex index-dependencies into quarkus?