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.Este contenido no está disponible en el idioma seleccionado.
C.3. A service assembly project
Overview Copiar enlaceEnlace copiado en el portapapeles!
Seeding a project using a Maven artifact Copiar enlaceEnlace copiado en el portapapeles!
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 Copiar enlaceEnlace copiado en el portapapeles!
Configuring the Maven plug-in Copiar enlaceEnlace copiado en el portapapeles!
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 Copiar enlaceEnlace copiado en el portapapeles!
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 Copiar enlaceEnlace copiado en el portapapeles!
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