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

Section 2.1 of a-mq7 docs indicates Maven 3.2 is required; however, it is not available in RHEL 7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.0
    • 7.0
    • Broker DOC

      In the Installation section, Chapter 2, under 2.1 Prerequisites it is documented that Maven 3.2 is required to run the examples. RHEL 7 does not ship with a Maven package and the only options to obtain such a package are via the Software Collections or the Unsupported server-optional channels.

      In the optional channel the only version available is 3.0.5 which will not work.

      [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
      Detected Maven Version: 3.0.5 is not in the allowed range 3.1.
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 0.993s
      [INFO] Finished at: Fri Oct 21 13:06:33 EDT 2016
      [INFO] Final Memory: 10M/225M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4:enforce (enforce-maven) on project jms-examples: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
      

      A couple of questions here to answer:

      1. Do customers with A-MQ 7 entitlements also have access to Software Collections. We must verify this, https://access.redhat.com/solutions/472793. It may be that with a paid subscription that you do.

      2. Document that you must enable Software Collections in order to install the correct version of Maven.

      If the software collections are not enabled the provided command will fail or if optional is enabled the incorrect version will be installed.

              rhn-support-pfestoso_jira Phil Festoso (Inactive)
              rhn-support-esammons Eric Sammons (Inactive)
              Dmitrii Puzikov Dmitrii Puzikov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: