I know I can make it using jboss-deployment-structure.xml
, but Is it doable using MANIFEST.MF
?
From the source code, the method: o.j.a.s.d.m.ModuleSpecification.addExclusion
is only called by o.j.a.s.d.m.d.DeploymentStructureDescriptorParser
, and the o.j.a.s.d.m.ManifestDependencyProcessor
only add modules (no exclusions).
So, the Answer AFAIK is NO, we cannot use MANIFEST.MF
to define module exculsions.