title: Failed to build quarkus application: Unsatisfied dependency for type
body: <p>I'm trying to port a small corporate (multi module) RESTEasy JAX-RS application to Quarkus, but I'm hitting the error below. There a are a number of dependency on corporate modules over which I have no control, but I tried to follow Quarkus' context and dependency injection guide (<a href="https://quarkus.io/guides/cdi-reference" rel="nofollow noreferrer">https://quarkus.io/guides/cdi-reference</a>).</p>
  <p>OS: <code>Ubuntu 18.04 (WSL)</code></p>
  <p>Java: <code>OpenJDK 11.0.8</code></p>
  <p>Command: <code>./mvnw clean install -DskipTests</code></p>
  <pre><code>[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.9.2.Final:build (default) on project &lt;REDACTED&gt;: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
  [ERROR]         [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: javax.enterprise.inject.spi.DeploymentException: Found 4 deployment problems:
  ...
  [ERROR] [3] Unsatisfied dependency for type &lt;REDACTED&gt;.security.cryptography.CryptographyService and qualifiers [@Default]
  [ERROR]         - java member: &lt;REDACTED&gt;.request.handlers.ConfigurationFileDownloadHandler#cryptographyService
  [ERROR]         - declared on CLASS bean [types=[&lt;REDACTED&gt;.request.handlers.ConfigurationFileDownloadHandler, java.lang.Object], qualifiers=[@Default, @Any], target=&lt;REDACTED&gt;.request.handlers.ConfigurationFileDownloadHandler]
  </code></pre>
  <p>The DI in the code itself:</p>
  <pre><code>...
  import &lt;REDACTED&gt;.security.cryptography.CryptographyService;
  ...
  
  @ApplicationScoped
  public class ConfigurationFileDownloadHandler {
  
  ...
  
      @Inject
      private CryptographyService cryptographyService;
  ...
  </code></pre>
  <p>The dependency is declared in the sub-module pom file (as visible from <code>mvn dependency:tree</code> below):</p>
  <pre><code>[INFO] +- &lt;REDACTED&gt;.security.cryptography:cryptography-service-api-jar:jar:1.5.1:compile
  </code></pre>
  <p>I also created an <code>application.properties</code> file under <code>&lt;sub-module/src/main/resources</code> with the following content:</p>
  <pre><code>quarkus.index-dependency.cryptography.group-id=&lt;REDACTED&gt;.security.cryptography
  quarkus.index-dependency.cryptography.artifact-id=cryptography-service-api-jar
  </code></pre>
  <p>There is also an empty <code>beans.xml</code> file under ``&lt;sub-module/src/main/resources/META-INF`.</p>
  <p>Am I right to think that those third-party corporate classes don't have the proper annotation to be discovered by the Quarkus CDI process?</p>
  <p>Any help appreciated.</p>