What is a features.xml, what it is used for and How to create it ?

Solution Unverified - Updated -

Issue

  • I am looking at existing camel project and I see features.xml that looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<features name="${project.artifactId}-${project.version}">
    <feature name="my-provider-enabler" version="${project.version}">
        <bundle>mvn:${project.groupId}/my-provider-enabler-impl/${project.version}</bundle>
    </feature>
</features>
  • What do I get from creating features.xml and attach it to my deployment?
  • What is the features.xml at all and when should I use it?
  • Does it matter if I deploy it to the server as a feature or just install it from maven in terms of managing and monitoring the deployment ?

Environment

  • Red Hat JBoss Fuse
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.