Via email: Hi, I've been following the docs to create a Openshift fuse integration services app using the docs at https://access.redhat.com/documentation/en/red-hat-xpaas/0/single/red-hat-xpaas-fuse-integration-services-image/ In section 3.2 it says to add the listed maven repos however I think you also need to add a plugin repository as well as the dependency repository. So add the following to the maven settings.xml <pluginRepositories> <pluginRepository> <id>jboss-ga-plugin-repository</id> <url>https://maven.repository.redhat.com/ga</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> <!-- <pluginRepository> <id>jboss-public-plugin-repository</id> <url>https://repository.jboss.org/nexus/content/repositories/public/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> --> <pluginRepository> <id>jboss-fuse-plugin-repository</id> <name>Red Hat JBoss Fuse Plugin repository (all)</name> <url>https://repo.fusesource.com/nexus/content/groups/public/</url> <layout>default</layout> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </snapshots> </pluginRepository> </pluginRepositories> Can you please check with engineering before updating the docs as my maven-fu is average at best and I don't want to confuse things. cheers Noel
Hi Vikram, the 3.2 section refers to Maven archetype generation, which doesn't require definition of plugin repositories in settings.xml. However it would be ideal to state that both "repositories" and "pluginRepositories" should be configured, if you would like to build archetype locally. Similarly see how archetype configures settings.xml for s2i purposes [1]. IMHO, docs don't literally state to configure "repositories and "pluginRepositories", but I would consider it as common Maven usage knowledge. [1] https://github.com/fabric8io/ipaas-quickstarts/blob/redhat/quickstart/karaf/camel-amq/configuration/settings.xml
Thanks David.