Exception while using camel-velocity dependency

Solution Unverified - Updated -

Issue

  • When compiling project with Fuse 6.2.1 BOM, we have an error when camel-velocity is added as a dependency:
[ERROR] Failed to execute goal on project cxf-rest: Could not resolve dependencies for project org.jboss.quickstarts.fuse:cxf-rest:bundle:6.2.1.redhat-084: Failed to collect dependencies at org.apache.camel:camel-velocity:jar:2.15.1.redhat-621084 -> org.apache.velocity:velocity:jar:1.7 -> commons-collections:commons-collections:jar:3.2.1.redhat-7: Failed to read artifact descriptor for commons-collections:commons-collections:jar:3.2.1.redhat-7: Could not find artifact org.apache.commons:commons-parent:pom:22-redhat-2 in fuse-public-repository (https://repo.fusesource.com/nexus/content/groups/public) -> [Help 1]

To reproduce simple add the following dependency to any quickstart sample in 6.2.1:

<dependency>
  <groupId>org.apache.camel</groupId>
  <artifactId>camel-velocity</artifactId>
</dependency>

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content