The SCA manifest file contains contribution metadata used during deployment. The manifest file is used to specify:
The following is an example manifest defining one composite to deploy:
<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:f3="urn:fabric3.org" xmlns:sample="urn:tempuri.org" description="A sample contribution"> <deployable composite="sample:TheComposite"/> </contribution> |
A description may optionally be specified using the description
attribute on the contribution
element.
Deployable composites are those composites that are contained in the contribution which are to be deployed to a domain. A contribution may contain other composites but if they are not marked as deployable, they may not be directly included in the domain (i.e. they may only be used by a deployable composite). Deployable composites are specified using the deployable
element.
Import and export directives are used to share artifacts such as Java packages and XML documents across contributions. Imports and Exports are similar to the analogous OSGi directives (for Java packages they work exactly the same) except they extend beyond Java artifacts. For more details, see Contribution Modularity.
<contribution ....> <f3:scan exclude=".*\.ds\.xml"/> </contribution> |