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.Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
C.3. A service assembly project
Overview Link kopierenLink in die Zwischenablage kopiert!
Seeding a project using a Maven artifact Link kopierenLink in die Zwischenablage kopiert!
groupId
value and the artifactId
values, which correspond to the project's group ID and artifact ID.
Example C.8. Maven archetype command for service assemblies
smx-arch
sa
[
"-DgroupId=my.group.id"
] [
"-DartifactId=my.artifact.id"
]
-DgroupId
argument and the -DartifactId
argument.
Contents of a project Link kopierenLink in die Zwischenablage kopiert!
Configuring the Maven plug-in Link kopierenLink in die Zwischenablage kopiert!
packaging
element to jbi-service-assembly
, as shown in Example C.9.
Example C.9. Configuring the Maven plug-in to build a service assembly
Specifying the target components Link kopierenLink in die Zwischenablage kopiert!
dependencies
element. Add a dependency
child element for each service unit. Example C.10 shows the configuration for a service assembly that bundles two service units.
Example C.10. Specifying the target components for a service unit
Example Link kopierenLink in die Zwischenablage kopiert!
Example C.11. POM for a service assembly project
- 1
- Specifies that it is a part of the top-level project shown in Example C.2, “Top-level POM for a Red Hat JBoss Fuse JBI project”
- 2
- Specifies that this project builds a service assembly
- 3
- Specifies the service units being bundled by the service assembly
- 4
- Specifies to use the JBoss Fuse Maven plug-in