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 conteúdo não está disponível no idioma selecionado.
8.3. A service assembly project
Overview Copiar o linkLink copiado para a área de transferência!
Seeding a project using a Maven artifact Copiar o linkLink copiado para a área de transferência!
groupId
value and the artifactId
values, which correspond to the project's group ID and artifact ID.
Example 8.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 o linkLink copiado para a área de transferência!
Configuring the Maven plug-in Copiar o linkLink copiado para a área de transferência!
packaging
element to jbi-service-assembly
, as shown in Example 8.9.
Example 8.9. Configuring the Maven plug-in to build a service assembly
Specifying the target components Copiar o linkLink copiado para a área de transferência!
dependencies
element. Add a dependency
child element for each service unit. Example 8.10 shows the configuration for a service assembly that bundles two service units.
Example 8.10. Specifying the target components for a service unit
Example Copiar o linkLink copiado para a área de transferência!
Example 8.11. POM for a service assembly project
- 1
- Specifies that it is a part of the top-level project shown in Example 8.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