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

Unable to build AMQ 7 examples offline with provided offline repo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • 7.5.0.CR1
    • A-MQ 7.0.0.GA, AMQ 7.1.0.GA, AMQ 7.2.4.GA
    • documentation
    • Release Notes
    • In previous releases, you could not build the examples included with AMQ Broker in an offline environment. This problem was due to missing dependencies in the provided offline Maven repository. This issue is now resolved.
    • Documented as Known Issue
    • AMQ Broker 7.1 Sprint 2, AMQ Broker 1836, AMQ Broker 1839, AMQ Broker 1845

      When attempting to build the AMQ7 examples in an offline environment the following error occurs:

      [jdanek@nixos:~/Downloads/AMQ7/7.0.1cr1.1/amq-broker-7.0.1/examples/features/standard/queue]$ mvn -s /home/jdanek/Downloads/AMQ7/7.0.1cr1.1/amq-broker-7.0.1/example-settings.xml verify
      [INFO] Scanning for projects...
      Downloading: file:///home/jdanek/Downloads/AMQ7/7.0.1cr1.1/jboss-amq-7.0.1.GA-maven-repository/maven-repository/org/apache/activemq/artemis-pom/2.0.0.amq-700008-redhat-2/artemis-pom-2.0.0.amq-700008-redhat-2.pom
      Downloaded: file:///home/jdanek/Downloads/AMQ7/7.0.1cr1.1/jboss-amq-7.0.1.GA-maven-repository/maven-repository/org/apache/activemq/artemis-pom/2.0.0.amq-700008-redhat-2/artemis-pom-2.0.0.amq-700008-redhat-2.pom (56 KB at 2419.3 KB/sec)
      Downloading: file:///home/jdanek/Downloads/AMQ7/7.0.1cr1.1/jboss-amq-7.0.1.GA-maven-repository/maven-repository/org/apache/apache/18/apache-18.pom
      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [FATAL] Non-resolvable parent POM for org.apache.activemq:artemis-pom:2.0.0.amq-700008-redhat-2: Could not find artifact org.apache:apache:pom:18 in internal-repository (file:///home/jdanek/Downloads/AMQ7/7.0.1cr1.1/jboss-amq-7.0.1.GA-maven-repository/maven-repository/) @ org.apache.activemq:artemis-pom:2.0.0.amq-700008-redhat-2, /home/jdanek/.m2/repository/org/apache/activemq/artemis-pom/2.0.0.amq-700008-redhat-2/artemis-pom-2.0.0.amq-700008-redhat-2.pom, line 25, column 12
       @ 
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]   
      [ERROR]   The project org.apache.activemq.examples.broker:queue:[unknown-version] (/home/jdanek/Downloads/AMQ7/7.0.1cr1.1/amq-broker-7.0.1/examples/features/standard/queue/pom.xml) has 1 error
      [ERROR]     Non-resolvable parent POM for org.apache.activemq:artemis-pom:2.0.0.amq-700008-redhat-2: Could not find artifact org.apache:apache:pom:18 in internal-repository (file:///home/jdanek/Downloads/AMQ7/7.0.1cr1.1/jboss-amq-7.0.1.GA-maven-repository/maven-repository/) @ org.apache.activemq:artemis-pom:2.0.0.amq-700008-redhat-2, /home/jdanek/.m2/repository/org/apache/activemq/artemis-pom/2.0.0.amq-700008-redhat-2/artemis-pom-2.0.0.amq-700008-redhat-2.pom, line 25, column 12 -> [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
      

              rh-ee-ataylor Andy Taylor
              rhn-support-jsherman Jason Sherman
              Michal Toth Michal Toth
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Remaining Estimate - 2 days
                  2d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified