Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-1029

Unable to build examples

    XMLWordPrintable

Details

    • Release Notes
    • Currently it is not possible to build the examples shipped with the distribution against the offline repository.
    • Not Yet Documented
    • Hide
      • Download the broker installation package and broker maven repository packages.
      • Unzip the both packages.
      • Open the maven repository package and copy "example-settings.xml" file to "~/.m2/" as "settings.xml" file.
      • Open the "~/.m2/settings.xml" file and set up paths to the maven repository.
      • Go to the "~/amq-broker/examples" folder and run "mvn -Pexamples verify"
      Show
      Download the broker installation package and broker maven repository packages. Unzip the both packages. Open the maven repository package and copy "example-settings.xml" file to "~/.m2/" as "settings.xml" file. Open the "~/.m2/settings.xml" file and set up paths to the maven repository. Go to the "~/amq-broker/examples" folder and run "mvn -Pexamples verify"

    Description

      Examples cannot be processed by maven due to an issue in the "~/examples/features/standard/pom.xml " file; the errors below are raised:

      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [ERROR] Child module /opt/AMQ7/amq-broker-7.1.0/examples/features/standard/rest of /opt/AMQ7/amq-broker-7.1.0/examples/features/standard/pom.xml does not exist @
      @
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]
      [ERROR] The project org.apache.activemq.examples.broker:jms-examples:2.4.0.amq-710004-redhat-1 (/opt/AMQ7/amq-broker-7.1.0/examples/features/standard/pom.xml) has 1 error
      [ERROR] Child module /opt/AMQ7/amq-broker-7.1.0/examples/features/standard/rest of /opt/AMQ7/amq-broker-7.1.0/examples/features/standard/pom.xml does not exist
      [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

      The ~/examples/features/standard/pom.xml file contains link to non existing module ~/examples/features/standard/rest (the examples were already removed (ENTMQBR-95))
      Note: workaround exists (comment the appropriate row in the pom.xml file).

      Attachments

        Issue Links

          Activity

            People

              rh-ee-ataylor Andy Taylor
              psvobodo@redhat.com Petra Svobodova (Inactive)
              Michal Toth Michal Toth
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: