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. Migrate Maven Projects
Overview
リンクのコピーリンクがクリップボードにコピーされました!
			JBoss Fuse has a JBoss Fuse BOM (Bill of Materials), which defines the versions of all the JBoss Fuse Maven artifacts. You can use the BOM to simplify migration of your Maven POM files. Instead of updating the 
version elements on each Maven dependency, all you need to do is to import the latest JBoss Fuse BOM, which defines default versions for all of the dependencies provided by JBoss Fuse.
		JBoss Fuse BOM
リンクのコピーリンクがクリップボードにコピーされました!
			The JBoss Fuse BOM is a parent POM that defines the versions for all of the Maven artifacts provided by JBoss Fuse. The JBoss Fuse BOM exploits Maven's dependency management mechanism to specify default versions for the Maven artifacts, so that it is no longer necessary to specify the artifact versions explicitly in your POM.
		
Current version of the JBoss Fuse BOM
リンクのコピーリンクがクリップボードにコピーされました!
			The easiest way to discover the current version of the JBoss Fuse BOM is to examine one of the sample 
pom.xml files from the quickstarts examples. For example, in the InstallDir/quickstarts/eip/pom.xml file, you can find a line that defines the JBoss Fuse BOM version, as follows:
		How to migrate Maven dependencies using the JBoss Fuse BOM
リンクのコピーリンクがクリップボードにコピーされました!
			To migrate Maven dependencies using the JBoss Fuse BOM, open the Maven 
pom.xml file for your project and edit it as follows:
		- Define the JBoss Fuse BOM version as a property in yourpom.xmlfile, using the current BOM version. For example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow 
- Reference the JBoss Fuse BOM parent POM in adependencyManagementelement, so that it defines default versions for the artifacts provided by JBoss Fuse. Add the followingdependencyManagementelement to yourpom.xmlfile:Copy to Clipboard Copied! Toggle word wrap Toggle overflow 
- Now delete all of theversionelements in your JBoss Fuse dependencies. All of the versions defined in the JBoss Fuse BOM will be applied automatically to your dependencies (through the Maven dependency management mechanism). For example, if you already had some Apache Camel dependencies, as follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow You would delete the version elements, so that the dependencies are specified as follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow 
- In future, when you migrate to a later version of JBoss Fuse, all that you need to do to upgrade yourpom.xmlfile is to edit thejboss.fuse.bom.versionproperty, so that it references the new version of the JBoss Fuse BOM.