-
Bug
-
Resolution: Done
-
Critical
-
fuse-7.10
-
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.