What do you mean when you say that the exclusions don't get excluded when you build from the root? The subject mentions the assembly plugin, but I don't see that mentioned in your structure.
More info, please! /Anders On Wed, Jan 5, 2011 at 01:36, Anand HS <anan...@gmail.com> wrote: > Hi, > I have a project with the following structure > > - ROOT > - ModuleA > - GeneratedDistribution.jar > - Several Dependencies > - ModuleB > - Several Dependencies > - Depends on GeneratedDistribution.jar > - <ExclusionofDependenciesofModuleA> > > Now When i build from ROOT, the exclusions do not really get excluded. > However, when i build from inside ModuleB, the exclusions get excluded. > > I use Maven 2.0.9 but have also tried on 2.0.10 and the problem exists. > > Any solution on how to ensure a uniform behavior of ModuleA's dependencies > to be excluded from ModuleB. would be appreciated > > Thanks, > Anand >