Uploaded image for project: 'Fuse/AMQ Documentation'
  1. Fuse/AMQ Documentation
  2. FUSEDOC-4828

Wrong version in Maven command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • fuse-7.10
    • fuse-7.10
    • Fuse on OpenShift
    • None
    • integration-doc-2021-12-27, integration-doc-2022-01-17

      The chapter 12.1. Creating a Karaf project using Maven archetype in the Fuse on OpenShift guide uses wrong Maven coordinates.

      Instead of running the command

      mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate \
        -DarchetypeCatalog=https://maven.repository.redhat.com/ga/io/fabric8/archetypes/archetypes-catalog/2.2.0.fuse-sb2-7_10_0-00014-redhat-00001/archetypes-catalog-2.2.0.fuse-sb2-7_10_0-00014-redhat-00001-archetype-catalog.xml \
        -DarchetypeGroupId=org.jboss.fuse.fis.archetypes \
        -DarchetypeArtifactId=karaf-camel-log-archetype \
        -DarchetypeVersion=2.2.0.fuse-sb2-7_10_0-00014-redhat-00001
      

      I had to use different versions to get the command working

      mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate \
        -DarchetypeCatalog=https://maven.repository.redhat.com/ga/io/fabric8/archetypes/archetypes-catalog/2.2.0.fuse-sb2-7_10_0-00015-redhat-00001/archetypes-catalog-2.2.0.fuse-sb2-7_10_0-00015-redhat-00001-archetype-catalog.xml \
        -DarchetypeGroupId=org.jboss.fuse.fis.archetypes \
        -DarchetypeArtifactId=karaf-camel-log-archetype \
        -DarchetypeVersion=2.2.0.fuse-sb2-7_10_0-00015-redhat-00001
      

      Please correct the guide.

            rhn-support-cudand Chinmay Udand (Inactive)
            rhn-support-tmielke Torsten Mielke
            Torsten Mielke Torsten Mielke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h