Trouble with Quickstarts

Latest response

I downloaded and installed fuse on Karaf and codeReady studio and configured the Fuse on Karaf runtime as well as the fuse quickstarts and imported them into codeready studio.

All the quickstarts are showing problems.
mvn clean install in any of the quickstart directories where their pom is located gives this error.

[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.redhat-fuse:fuse-karaf-bom:pom:7.6.0.fuse-760027-redhat-00001 in central ( @ line 55, column 25

Maven is working fine with dozens of lines like these...
Downloading from central:
Downloaded from central: (9.9 kB at 4.0 kB/s)

So the real question is how do I get these fuse on karaf quickstarts working?



I reimported not as a fuse integration project but as a maven project and fixed some duplicate executions in the pom but now getting the following...For artifact {javax.servlet:javax.servlet-api:null:jar}: The version cannot be empty. (org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources:default-resources:process-resources)


org.apache.maven.plugins maven-resources-plugin ${version.plugin.maven-resources-plugin}

I resolved this myself with a little help from google I found the attached maven settings file for RedHat repositories. That solved the build problem.

Glad to hear that you got the trouble sorted out! Just to provide a bit of context for the error you encountered. When you use the quickstarts from CodeReady studio, the assumption is that you will also use CodeReady studio to build the quickstarts. If you installed the Red Hat Fuse Tooling package in CodeReady studio, this should preconfigure the location of the Red Hat Maven registry for you (CodeReady has a built-in Maven configuration that is separate from the command line Maven tool). So, it should be possible to build a Fuse on Karaf quickstart using the Build action in CodeReady studio, but the equivalent 'mvn install' command at the command line will fail, because the command-line Maven is not configured to search the Red Hat Maven registry.

Instructions for configuring command-line Maven are also provided in Chapter 4 of the Getting Started guide: