Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-2459

multiple SmallRye Config versions in uberjar, old one used at runtime

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 2.5.0.Final
    • Fix Version/s: 2.6.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      With a Thorntail application that uses MicroProfile Config, the resulting uberjar contains two versions of SmallRye Config: smallrye-config-1.3.4.jar and smallrye-config-1.3-1.0.0.jar. At runtime, the former (which is older) is used.

      This is because the microprofile-config-wildfly-feature-pack in fractions/microprofile/microprofile-config/pom.xml comes before wildfly-feature-pack, and so wildfly-feature-pack wins when it comes to who provides the SmallRye Config module.xml. The order of declarations of feature pack dependencies needs to change.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lthon Ladislav Thon
                Reporter:
                lthon Ladislav Thon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: