Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.此内容没有您所选择的语言版本。
Chapter 5. Fabric8 Maven Plug-In
Abstract
This Maven plug-in makes it easy to create or update a fabric profile from your Maven project.
Warning
The Fabric8 Maven plug-in is a technical preview only, and is not supported in JBoss Fuse 6.1.
5.1. Preparing to Use the Plug-In 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Edit your Maven settings 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
First you will need to edit your
~/.m2/settings.xml file to add the fabric server's user and password so that the maven plugin can log in to the fabric. For example, you could add the following server element to your settings.xml file:
Where
Username and Password are the credentials of a Fabric user with administrative privileges (for example, the credentials you would use to log on to the Management Console).
Customising the repository ID 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
The default Fabric Maven repository ID is
fabric8.upload.repo. You can specify additional server elements in your settings.xml file for each of the fabrics you need to work with. To select the relevant credentials, you can set the serverId property in the Fabric8 Maven plug-in configuration section (see Section 5.4, “Configuration Properties”) or set the fabric8.serverId Maven property.