Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-1770

Fix Banned dependency in Quarkus optaplanner extension

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.32.0.Final
    • 7.32.0.Final
    • optaplanner-core
    • None
    • 2020 Week 01-03 (from Dec 30)
    • 3
    • NEW
    • NEW

      Building the Quarkus extension fails with:

      [WARNING] Rule 2: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
      Found Banned Dependency: org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.0.Final

      This spec jar is brought in as a transitive dependency in this dependency chain: optaplanner-core >> drools-model-compiler >> drools-mvel-parser >> jboss-annotations-api_1.2_spec, where (>> means depends on).

      Since Quarkus bans the jboss-annotations-api spec jar, an alternative is needed to replace it.

              jucui Julian Cui (Inactive)
              jucui Julian Cui (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: