Quarkus javadoc warning when building with maven: "class file for org.osgi.annotation.bundle.Requirement$Resolution not found"

Solution In Progress - Updated -

Issue

  • Migrating from quarkus 1.11 to 2.2 results in the following warning when building with maven:
[WARNING] Javadoc Warnings
[WARNING] warning: unknown enum constant Resolution.OPTIONAL
[WARNING] reason: class file for org.osgi.annotation.bundle.Requirement$Resolution not found

Environment

  • Quarkus 2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content