mq
  1. mq
  2. MQ-338

Client jars no longer being published to Maven

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: 5.0
    • Component/s: build
    • Labels:
      None
    • Environment:

      Any Maven build environment.

      Description

      A search of Maven Central for the term "mq" (http://search.maven.org/) seems to show that the various MQ client jars (imq, imqbroker, imqjmx, etc.) haven't been updated since version 4.5.2 (April-June 2012).

      Instead, newer versions of these jars only appear to be available via a distribution zip, "mq-distribution".

      So far as I can see, this makes it impossible to declare simple dependencies in a project's pom.xml file.

      For example, a project making use of the Java client API could previously have declared a simple dependency like so...

      <dependency>
      <groupId>org.glassfish.mq</groupId>
      <artifactId>imq</artifactId>
      <version>4.5.2</version>
      </dependency>

      ...but can no longer do so with versions newer than 4.5.2.

      This also affects users of the embedded broker feature, as the new broker jars are unpublished.

      Possible related issue: https://java.net/jira/browse/MQ-7

        Activity

        Hide
        Jill Sato added a comment -

        Published MQ 5.0 client jars to maven central.

        <dependency>
        <groupId>org.glassfish.mq</groupId>
        <artifactId>imq</artifactId>
        <version>5.0</version>
        </dependency>
        <dependency>
        <groupId>org.glassfish.mq</groupId>
        <artifactId>imqxm</artifactId>
        <version>5.0</version>
        </dependency>
        <dependency>
        <groupId>org.glassfish.mq</groupId>
        <artifactId>imqbroker</artifactId>
        <version>5.0</version>
        </dependency>
        <dependency>
        <groupId>org.glassfish.mq</groupId>
        <artifactId>imqjmx</artifactId>
        <version>5.0</version>
        </dependency>
        <dependency>
        <groupId>org.glassfish.mq</groupId>
        <artifactId>imqutil</artifactId>
        <version>5.0</version>
        </dependency>
        <dependency>
        <groupId>org.glassfish.mq</groupId>
        <artifactId>jaxm-api</artifactId>
        <version>5.0</version>
        </dependency>

        Previously published:

        <dependency>
        <groupId>javax.jms</groupId>
        <artifactId>javax.jms-api</artifactId>
        <version>2.0</version>
        </dependency>

        Show
        Jill Sato added a comment - Published MQ 5.0 client jars to maven central. <dependency> <groupId>org.glassfish.mq</groupId> <artifactId>imq</artifactId> <version>5.0</version> </dependency> <dependency> <groupId>org.glassfish.mq</groupId> <artifactId>imqxm</artifactId> <version>5.0</version> </dependency> <dependency> <groupId>org.glassfish.mq</groupId> <artifactId>imqbroker</artifactId> <version>5.0</version> </dependency> <dependency> <groupId>org.glassfish.mq</groupId> <artifactId>imqjmx</artifactId> <version>5.0</version> </dependency> <dependency> <groupId>org.glassfish.mq</groupId> <artifactId>imqutil</artifactId> <version>5.0</version> </dependency> <dependency> <groupId>org.glassfish.mq</groupId> <artifactId>jaxm-api</artifactId> <version>5.0</version> </dependency> Previously published: <dependency> <groupId>javax.jms</groupId> <artifactId>javax.jms-api</artifactId> <version>2.0</version> </dependency>
        Hide
        David Zhao added a comment -

        According to GF MQ doc http://docs.oracle.com/cd/E18930_01/html/821-2418/gkusn.html#gkuqa, gf-client and imqjmsra are required for JMS client. So can you think of publishing imqjmsra also?

        Show
        David Zhao added a comment - According to GF MQ doc http://docs.oracle.com/cd/E18930_01/html/821-2418/gkusn.html#gkuqa , gf-client and imqjmsra are required for JMS client. So can you think of publishing imqjmsra also?
        Hide
        Andrew_Scully added a comment -

        Thanks for looking at this. I've included what I use in my poms below, on the off chance it helps someone else.

        I gave this a go this morning and found I was able to use the JMS Client with a dependency like this...

        <dependency>
        <groupId>org.glassfish.mq</groupId>
        <artifactId>imq</artifactId>
        <version>$

        {openmq.version}</version>
        </dependency>

        ...and was able to fire up and contact an embedded broker with dependencies like this...

        <dependency>
        <groupId>org.glassfish.mq</groupId>
        <artifactId>imqbroker</artifactId>
        <version>${openmq.version}

        </version>
        </dependency>

        <dependency>
        <groupId>org.glassfish.mq</groupId>
        <artifactId>imqutil</artifactId>
        <version>$

        {openmq.version}</version>
        </dependency>

        <dependency>
        <groupId>org.glassfish.mq</groupId>
        <artifactId>imqjmx</artifactId>
        <version>${openmq.version}

        </version>
        </dependency>

        In all cases, $openmq.version was 5.0.

        So that is both of my use cases sorted.

        Thanks again for the quick turnaround.

        Show
        Andrew_Scully added a comment - Thanks for looking at this. I've included what I use in my poms below, on the off chance it helps someone else. I gave this a go this morning and found I was able to use the JMS Client with a dependency like this... <dependency> <groupId>org.glassfish.mq</groupId> <artifactId>imq</artifactId> <version>$ {openmq.version}</version> </dependency> ...and was able to fire up and contact an embedded broker with dependencies like this... <dependency> <groupId>org.glassfish.mq</groupId> <artifactId>imqbroker</artifactId> <version>${openmq.version} </version> </dependency> <dependency> <groupId>org.glassfish.mq</groupId> <artifactId>imqutil</artifactId> <version>$ {openmq.version}</version> </dependency> <dependency> <groupId>org.glassfish.mq</groupId> <artifactId>imqjmx</artifactId> <version>${openmq.version} </version> </dependency> In all cases, $openmq.version was 5.0. So that is both of my use cases sorted. Thanks again for the quick turnaround.
        Hide
        Jill Sato added a comment -

        Also added MQ 5.0 imqjmsra.jar

        <dependency>
        <groupId>org.glassfish.mq</groupId>
        <artifactId>imqjmsra</artifactId>
        <version>5.0</version>
        </dependency>

        Show
        Jill Sato added a comment - Also added MQ 5.0 imqjmsra.jar <dependency> <groupId>org.glassfish.mq</groupId> <artifactId>imqjmsra</artifactId> <version>5.0</version> </dependency>

          People

          • Assignee:
            Jill Sato
            Reporter:
            Andrew_Scully
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: