glassfish
  1. glassfish
  2. GLASSFISH-18369

weld dependencies are part of distribution

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0_b23
    • Fix Version/s: 4.0
    • Component/s: cdi
    • Labels:
      None

      Description

      In trunk build, I am seeing various weld dependencies being part of distribution when they should not be. e.g.,
      slf4-*.jar
      cal10n-api.jar

      and may be others?

      This will cause all kinds of classloading issues as users won't be able to use different versions of these jars in their application. So, they must be removed from distribution.

        Activity

        Hide
        jitu added a comment -

        Will close the issue if there aren't any comments.

        Show
        jitu added a comment - Will close the issue if there aren't any comments.
        Hide
        Sanjeeb Sahoo added a comment -

        jitu, why is this bug still open?

        Show
        Sanjeeb Sahoo added a comment - jitu, why is this bug still open?
        Hide
        Sanjeeb Sahoo added a comment -

        Jörg, pl file a separate bug for the hk2 plugin issue against HK2 project to get a faster response from the relevant developers.

        Show
        Sanjeeb Sahoo added a comment - Jörg, pl file a separate bug for the hk2 plugin issue against HK2 project to get a faster response from the relevant developers.
        Hide
        jthoennes added a comment -

        In reply to comment #6:
        > I think this is happening because hk2 also depends on javax.inject. This is a
        > guess only. If you don't want to spend a lot of time, then you could try
        > changing the existing weld-osgi-bundle dependency to a provided scope dependency
        > so that's its transitive dependencies are not pulled in by the build.

        Sahoo, please could you elaborate on this? We are also struck by this issue.

        And: Will this be corrected for at least GF 4.0?

        Thanks, Jörg

        Show
        jthoennes added a comment - In reply to comment #6: > I think this is happening because hk2 also depends on javax.inject. This is a > guess only. If you don't want to spend a lot of time, then you could try > changing the existing weld-osgi-bundle dependency to a provided scope dependency > so that's its transitive dependencies are not pulled in by the build. Sahoo, please could you elaborate on this? We are also struck by this issue. And: Will this be corrected for at least GF 4.0? Thanks, Jörg
        Hide
        jitu added a comment -

        weld-osgi-bundle artifact is marked with provided scope
        ---------------
        main/appserver/web/web-sse$ svn ci pom.xml
        Sending pom.xml
        Transmitting file data .
        Committed revision 53341.
        ----------------

        Show
        jitu added a comment - weld-osgi-bundle artifact is marked with provided scope --------------- main/appserver/web/web-sse$ svn ci pom.xml Sending pom.xml Transmitting file data . Committed revision 53341. ----------------

          People

          • Assignee:
            jitu
            Reporter:
            Sanjeeb Sahoo
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: