Uploaded image for project: 'AMQ Documentation'
  1. AMQ Documentation
  2. AMQDOC-2153

qpid-jms example is downloading upstream packages from Maven Central, instead of -redhat-1 versions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0 Beta-2
    • 7.0
    • Client DOC
    • None
    • Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial

      When following instructions in https://github.com/rh-messaging/amq7-documentation-contrib/blob/b35c4b37d6daf378b19073f29a030d2b97fdfa82/docs/topics/client-amqp-jms-getting-started.adoc, I noticed that maven ends up fetching many upstream jars for supporting packages. Only the client library itself ends up being downstream -redhat-1 package.

      [INFO] --- maven-dependency-plugin:2.8:copy-dependencies (default-cli) @ qpid-jms-examples ---
      [INFO] Copying slf4j-api-1.7.14.jar to /home/jdanek/Downloads/apache-qpid-jms-0.8.0.redhat-1/examples/target/dependency/slf4j-api-1.7.14.jar
      [INFO] Copying log4j-1.2.17.jar to /home/jdanek/Downloads/apache-qpid-jms-0.8.0.redhat-1/examples/target/dependency/log4j-1.2.17.jar
      [INFO] Copying proton-j-0.12.0.jar to /home/jdanek/Downloads/apache-qpid-jms-0.8.0.redhat-1/examples/target/dependency/proton-j-0.12.0.jar
      [INFO] Copying geronimo-jms_1.1_spec-1.1.1.jar to /home/jdanek/Downloads/apache-qpid-jms-0.8.0.redhat-1/examples/target/dependency/geronimo-jms_1.1_spec-1.1.1.jar
      [INFO] Copying slf4j-log4j12-1.7.14.jar to /home/jdanek/Downloads/apache-qpid-jms-0.8.0.redhat-1/examples/target/dependency/slf4j-log4j12-1.7.14.jar
      [INFO] Copying netty-all-4.0.17.Final.jar to /home/jdanek/Downloads/apache-qpid-jms-0.8.0.redhat-1/examples/target/dependency/netty-all-4.0.17.Final.jar
      [INFO] Copying qpid-jms-client-0.8.0.redhat-1.jar to /home/jdanek/Downloads/apache-qpid-jms-0.8.0.redhat-1/examples/target/dependency/qpid-jms-client-0.8.0.redhat-1.jar
      

      This happens even though the attached repository holds the -redhat-1 versions.

      I was looking at the example because I wanted to figure out how to configure maven to use only -redhat jars for everything where we have them, while keeping the configuration short. I still haven't figured this out.

            gemmellr Robbie Gemmell
            jdanek@redhat.com Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: