← All tasks
javaAtmosphere/atmosphere #2453Not a task: already works

Make Quarkus an optional dependency

envgap__Atmosphere__atmosphere-2453

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
14a05728eb08f1c552ec68a59b590be1865540c8
Manifest
modules/cpr/pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

Atmosphere/atmosphere #2453 · read the original issue
In the generated OSGI manifest of Atmosphere, we we that that "io.quarkus" is entered as dependency to the atmosphere.runtime. AFAICS it is just an optional dependency:



  private static final boolean IS_RUNNING_ON_QUARKUS;

    static {

        boolean runningOnQuarkus = false;

        try {

            Class.forName("io.quarkus.runtime.Quarkus");

            runningOnQuarkus = true;

        } catch (ClassNotFoundException ex) {

            // class not found, not running on Quarkus. Just ignore the exception.

        }

        IS_RUNNING_ON_QUARKUS = runningOnQuarkus;

    }        





So maybe you can define io.quarkus also as optional in the MANIFEST.MF?
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]