I have a multi-module project setup. I am able to use @RestClient
based injections for interfaces that are part of the same module (and registered with the @RegisterRestClient
annotation).
E.g.,
my-project
|
|- module-1
src/main/java/mypackage
RestAPIInterface.java
src/test/java/
@Inject @RestClient RestAPIInterface -- works
|
|- module-2
src/main/java/myOtherPackage
SomeBean.java
@Inject @RestClient RestAPIInterface -- does not work
Do I need to enable any specific features / switches in order to get this working?