...
Fabric3 supports two ways of packaging and deploying libraries used by a contribution: embedding them in the JAR; and importing them from another contribution. Similar to WARs, Fabric3 allows contribution JARs to bundle libraries by placing their JARs in the META-INF/lib
directory, which in turn will be made available on the contribution classpath. Imports are discussed in XXXXXXXXXXXXXXXin The Contribution Manifest.
WAR Contributions
Fabric3 supports packaging contributions as WAR files. WAR contributions behave like JAR contributions except the SCA manifest in is placed in WEB-INF
. In addition, libraries and classes in WEB-INF/lib
and WEB-INF/classes
respectively are placed on the contribution classpath. WAR contributions are used for deploying web applications to a domain.
...