I think I didn't manage to express clearly my concern: I have a pom artifact that declare a list of (many) dependencies (let's name it the optimized-3dparties-dependencies pom). In another module (actually an EAR module), I want to pack the list of artifact declared in optimized-3dparties-dependencies and build a single jar that contains everything. I don't want transitivity on the dependencies declared in optimized-3dparties-dependencies. So I was wondering how to do this without re declaring my dependencies in an <artifactItems> tag.
Do you think it is possible with the existing plugins ? Thanks for your help, Sebastien -----Original Message----- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 11:17 AM To: Maven Users List Subject: Re: dependency plugin artifactItem does not support transitive dependencies. so no need for exclusion. But you need to specify every item. -D On 11/9/06, Sebastien Brunot <[EMAIL PROTECTED]> wrote: > > In fact I've already have a pom that describes the dependencies, as > they are shared by many modules. Using <artifactItems> on this pom > with unpack-dependencies will help me, except that I don't want the > transitive dependencies from the pom dependencies to be copied... Can > I use some sorts of <exclusions> tags with <artifactItem> ? > > Thanks for your help, > > Sebastien > > -----Original Message----- > From: Dan Tran [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 08, 2006 7:18 PM > To: Maven Users List > Subject: Re: dependency plugin > > The main purpose of <artifactItems> is so that we dont need to use > dependencies elements. > > perhaps, you need > http://maven.apache.org/plugins/maven-dependency-plugin/unpack-depende > nc > ies-mojo.html > > -D > > > > On 11/8/06, Sebastien Brunot <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > is it possible to parameterize the dependency plugin unpack goal so > > that it uses a pom <dependencies> section as input instead of an > > <artifactItems> list ? > > > > Thanks for your help, > > > > Sebastien > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]