glassfish
  1. glassfish
  2. GLASSFISH-18623

server-mgmt.jar is shipped in glassfish-cluster (it should be elsewhere)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b32_ms1
    • Fix Version/s: 4.0_b72_EE7MS4
    • Component/s: packaging
    • Labels:
      None

      Description

      The server-mgmt.cli JAR file is being shipped in the glassfish-cluster package. However, this JAR file is needed even if the glassfish-cluster package is uninstalled.

      The server-mgmt.cli JAR file should be shipped in glassfish-common (or some other common place) like it was in 3.1.2.

        Activity

        Hide
        Tom Mueller added a comment -

        From Romain:

        server-mgmt was added transitively. Whenever there are some maven changes, some jars might be included in some package.

        This is also partly because of how the packager modules are mapping their graph on top of the maven graph.
        Each module produces a list of the jars it has (in a property file). Most of the packager modules define a dependency of classifier "properties" in order to get the list of the jars from another module to exclude them from transitive dependencies (maven-dependency-plugin:copy-dependencies). After having excluded the jars, the list will be extended with the list of jars inside the module and then attached as artifact so that other modules could use it for excluding transitive dependencies.
        This means that some jar could be included transitively in a wrong package, and then excluded from the right package.

        Show
        Tom Mueller added a comment - From Romain: server-mgmt was added transitively. Whenever there are some maven changes, some jars might be included in some package. This is also partly because of how the packager modules are mapping their graph on top of the maven graph. Each module produces a list of the jars it has (in a property file). Most of the packager modules define a dependency of classifier "properties" in order to get the list of the jars from another module to exclude them from transitive dependencies (maven-dependency-plugin:copy-dependencies). After having excluded the jars, the list will be extended with the list of jars inside the module and then attached as artifact so that other modules could use it for excluding transitive dependencies. This means that some jar could be included transitively in a wrong package, and then excluded from the right package.
        Hide
        Romain Grécourt added a comment -

        as of 58667, server-mgmt.jar is part of nucleus (glassfish-nucleus) package.

        Show
        Romain Grécourt added a comment - as of 58667, server-mgmt.jar is part of nucleus (glassfish-nucleus) package.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: