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

Uber JAR contains superfluous dependencies when adding "org.wildfly.swarm:jaxrs-validator" fraction

    Details

    • Type: Component Upgrade
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2017.5.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2017-Mar-A, 2017-Mar-B, 2017-Apr-A, 2017-Apr-B

      Description

      When only having the org.wildfly.swarm:jaxrs fraction, the JAR has a size of 43 MB. When adding org.wildfly.swarm:jaxrs-validator it's 96 MB, which seems way too large. I can see that for instance the entire Hibernate ORM + JPA is pulled into the JAR in that case which shouldn't be done just for validation support.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  heiko.braun Heiko Braun
                  Reporter:
                  gunnar.morling Gunnar Morling
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: