Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-277

Qpid JMS client example is not working using provided readme maven command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • qpid-jms
    • None
    • Compatibility/Configuration, User Experience
    • Hide

      1) Unzip the package
      http://download.devel.redhat.com/brewroot/packages/org.apache.qpid-qpid-jms-parent/0.2.0.redhat_1/2/maven/org/apache/qpid/apache-qpid-jms/0.2.0.redhat-1/apache-qpid-jms-0.2.0.redhat-1-bin.zip

      2) Run the maven command in examples folder from the provided README.txt file
      examples]$ mvn clean package dependency:copy-dependencies -DincludeScope=runtime -DskipTests
      [INFO] Scanning for projects...
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]
      [ERROR] The project org.apache.qpid:qpid-jms-examples:[unknown-version] (/root/QPID_JMS/apache-qpid-jms-0.2.0.redhat-1/examples/pom.xml) has 1 error
      [ERROR] Non-resolvable parent POM: Failure to find org.apache.qpid:qpid-jms-parent:pom:0.2.0.redhat-1 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 19, column 11 -> [Help 2]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

      Show
      1) Unzip the package http://download.devel.redhat.com/brewroot/packages/org.apache.qpid-qpid-jms-parent/0.2.0.redhat_1/2/maven/org/apache/qpid/apache-qpid-jms/0.2.0.redhat-1/apache-qpid-jms-0.2.0.redhat-1-bin.zip 2) Run the maven command in examples folder from the provided README.txt file examples]$ mvn clean package dependency:copy-dependencies -DincludeScope=runtime -DskipTests [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.apache.qpid:qpid-jms-examples: [unknown-version] (/root/QPID_JMS/apache-qpid-jms-0.2.0.redhat-1/examples/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find org.apache.qpid:qpid-jms-parent:pom:0.2.0.redhat-1 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 19, column 11 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

      From the provided zip file "apache-qpid-jms-0.2.0.redhat-1-bin.zip" I was not able to make run maven example according to readme.txt file. The qpid-jms-examples project is missing the "qpid-jms-parent" pom file.
      Although, source files are not affected, just the maven-ization of the project. By simple javac/java commands I was able to build & run the examples.

            iboverma Irina Boverman
            mtoth@redhat.com Michal Toth
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: