Re: Exclusion does not work when using dependencies generated using assembly plug in

2011-01-05 Thread Benjamin Bentmann
Anand HS wrote: 4. Now when I invoke mvn install from the ROOT pom, I see that ModuleA and ModuleA-distribution.jar get build with no issues. Now when ModuleB is built, in spite of explicit exclusion of ModuleA's dependencies , those dependencies do not get excluded. Could be http://jira.codeh

Re: Exclusion does not work when using dependencies generated using assembly plug in

2011-01-05 Thread Anand HS
Hi, Apologize for not providing more details. Here are more details - 1. The ROOT is a ROOT pom that builds both ModuleA and ModuleB. 2. ModuleA uses assembly plug in to generate a Distribution jar. Here is the distribution XML that builds this jar - distribution jar false ${

Re: Exclusion does not work when using dependencies generated using assembly plug in

2011-01-05 Thread Anders Hammar
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 wrote: > Hi, > I have a project with

Exclusion does not work when using dependencies generated using assembly plug in

2011-01-04 Thread Anand HS
Hi, I have a project with the following structure - ROOT - ModuleA - GeneratedDistribution.jar - Several Dependencies - ModuleB - Several Dependencies - Depends on GeneratedDistribution.jar - Now When i build from ROOT, the exclusions do not really get excluded