grizzly
  1. grizzly
  2. GRIZZLY-1341

hk2 dependencies should be marked with <scope>provided</scope>

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: memcached-1.0, 1.9.NEXT, 1.9.48, 1.9.49, 1.9.50, 1.9.51, 1.9.52, 1.9.53, 2.0 RC1, 2.0 RC2, 2.0 RC3, 2.0.0, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.1.12, 2.2, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 2.2.9, 2.2.10, 2.2.11, 2.2.13, 2.2.14, 2.2.15, 2.2.16, 2.2.17, 2.2.18, 2.2.19, 2.3, 2.x.NEXT, 3.0, 3.x.NEXT
    • Fix Version/s: 1.9.53, 2.2.19, 2.3, 3.0
    • Component/s: None
    • Labels:
      None

      Description

      This issue is about cleaning the pom.xml dependencies in order to make sure that nothing is pulled-in transitively.
      hk2 can't be marked as optional, as grizzly needs it at runtime, <scope>provided</scope> seems to be more suitable. hk2 dependencies / transitive dependencies will be still visible from grizzly artifacts but the scope indicates that grizzly has to be packaged along with hk2.

      com.sun.grizzly:grizzly-config:jar:1.9.46:compile
      +- com.sun.enterprise:hk2-core:jar:1.0.25:compile
         +- com.sun.enterprise:config:jar:1.0.25:compile
            \- org.glassfish:bean-validator:jar:3.0-JBoss-4.0.2_03:compile
      

        Activity

        Hide
        Ryan Lubke added a comment -

        Changes applied:

        1.9.x: 1cf66ec717613bb2aca17bae1b2bdcb94cbf9bbc
        2.2.x: bc67b732037b00fe973de2a65dc5e6d2ccca55b3
        2.3.x: 608aaa1099998d4b0edf6144c87ae3c2c0f0bc26
        master db9c3219797d3f2a5ecf6c9be5b5ae25e4dab7cd:

        Show
        Ryan Lubke added a comment - Changes applied: 1.9.x: 1cf66ec717613bb2aca17bae1b2bdcb94cbf9bbc 2.2.x: bc67b732037b00fe973de2a65dc5e6d2ccca55b3 2.3.x: 608aaa1099998d4b0edf6144c87ae3c2c0f0bc26 master db9c3219797d3f2a5ecf6c9be5b5ae25e4dab7cd:

          People

          • Assignee:
            Ryan Lubke
            Reporter:
            Romain Grécourt
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: