Qpid
  1. Qpid
  2. QPID-4445

publish the JCA module output to maven central

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.18
    • Fix Version/s: 0.21
    • Component/s: JCA
    • Labels:
      None
    • Environment:

      Any

      Description

      In order to use standalone clients with the JCA adaptor it is necessary to have qpid-ra-0.XX.jar in the classpath. Otherwise, you get a CNF exception. All other dependencies have been put in the central Maven repo. Please make qpid-ra one of the uploads as well.

        Activity

        Hide
        Robbie Gemmell added a comment -

        Attaching a work-in-progress patch to allow publishing artifacts for the JCA module.

        This renames the Jar file from qpid-ra-0.XX.jar to qpid-jca-0.XX.jar, in line with the name of the module producing it. That enables use of the pom generation targets used by all the other modules to produce their maven artifacts.

        The classpath entries for examples were updated to use both filenames which should retain the ability to use the exampels with older releases.

        Additional steps were also added to the JCA module build.xml to generate maven artifacts for the rar file (which retains its previous qpid-ra-0.XX.rar name) to also allow publishing that as well.

        Show
        Robbie Gemmell added a comment - Attaching a work-in-progress patch to allow publishing artifacts for the JCA module. This renames the Jar file from qpid-ra-0.XX.jar to qpid-jca-0.XX.jar, in line with the name of the module producing it. That enables use of the pom generation targets used by all the other modules to produce their maven artifacts. The classpath entries for examples were updated to use both filenames which should retain the ability to use the exampels with older releases. Additional steps were also added to the JCA module build.xml to generate maven artifacts for the rar file (which retains its previous qpid-ra-0.XX.rar name) to also allow publishing that as well.
        Hide
        Robbie Gemmell added a comment -

        Weston, could you take a look at this change before I commit it?

        I believe I have kept the changes to the output as simple as required to allow using the jca name for the jar and enable generating and publishing all the separate artifacts, but I'm just eyballing the output really. Could you give it a check over in terms of whether the examples still work to expectation etc?

        Show
        Robbie Gemmell added a comment - Weston, could you take a look at this change before I commit it? I believe I have kept the changes to the output as simple as required to allow using the jca name for the jar and enable generating and publishing all the separate artifacts, but I'm just eyballing the output really. Could you give it a check over in terms of whether the examples still work to expectation etc?
        Hide
        Robbie Gemmell added a comment -

        Hi Jim

        Weston has now taken a look at the patch I attached earlier so I have applied it to the current trunk, for inclusion in the 0.22 release.

        If you would like to test it in advance, 0.22-SNAPSHOT releases are deployed nightly in the ASF snapshots repo:
        https://repository.apache.org/content/repositories/snapshots/

        The groupId is org.apache.qpid and the artifactId is now qpid-jca for the jar file, and qpid-ra for the rar.

        Robbie

        Show
        Robbie Gemmell added a comment - Hi Jim Weston has now taken a look at the patch I attached earlier so I have applied it to the current trunk, for inclusion in the 0.22 release. If you would like to test it in advance, 0.22-SNAPSHOT releases are deployed nightly in the ASF snapshots repo: https://repository.apache.org/content/repositories/snapshots/ The groupId is org.apache.qpid and the artifactId is now qpid-jca for the jar file, and qpid-ra for the rar. Robbie
        Hide
        Robbie Gemmell added a comment -

        Resolving, no further traffic.

        Show
        Robbie Gemmell added a comment - Resolving, no further traffic.

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Jim Rigsbee
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development