How to avoid hard-coded paths in features.xml ?

Solution Verified - Updated -

Issue

  • Is it possible to have some type of path resolver in features.xml, not using maven repository.
  • We have several environments running on windows and others on unix. I would like to create exactly ONE features.xml file for each of our projects. This file CANNOT contain hard-coded file paths (to third party jars).
  • Please provide an example where the path (to third party jars) is EITHER:
    • injected as a property.
    • relative to the container.
    • is defined in org.apache.karaf.features.cfg.

Environment

  • Red Hat JBoss Fuse
    • 6.2.0

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