5
votes

I'm trying to convert a multi-module Maven project from vanilla Java EE 8 to Quarkus, and it seems that ArcAnnotationProcessor throws exceptions about unsatisfied dependencies for all injection points referencing dependencies located in a different module.

Is there any workaround, short of merging the modules?

1

1 Answers

4
votes

Answering my own question:

According to the Quarkus CDI guide,

The bean archive is synthesized from:

  • the application,

  • application dependencies that contain a beans.xml descriptor or a generated Jandex index (META-INF/jandex.idx),

  • and Quarkus integration code.

After adding a beans.xml to each of my reactor modules, ArC no longer complains about missing dependencies.