if this zip file only contains other jar artifacts, then you can also use the 
maven-shade-plugin and produce a reduced pom [1]

Btw, does the maven-shade-plugin already has an OSGi merging filter? 

LieGrue,
strub


[1] 
http://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#createDependencyReducedPom




----- Original Message ----
> From: Stephen Connolly <[email protected]>
> To: Maven Users List <[email protected]>
> Sent: Sat, August 21, 2010 9:02:20 AM
> Subject: Re: classifiers versus dependencies
> 
> the correct solution is to mark all its dependencies as  
><scope>provided</scope>
> 
> otherwise if you try your suggestion  you will have issues with the
> preparation goals when you run  release:prepare
> 
> -Stephen
> 
> On 20 August 2010 13:47, Benson Margulies  <[email protected]> wrote:
> >  I have a zip file built with the assembly plugin. I list it as a
> >  dependency in a project so that I can in turn include it in another
> >  assembly.
> >
> > I got a surprise. mvn dependency:tree shows that it  has dependencies
> > -- all the dependencies of its parent.
> >
> >  This is particularly sideways since it was carefully shaded to avoid
> >  dependencies.
> >
> > I think that the solution to my problem is to use  dependency:copy on
> > the artifactId and <fileSet> in the second  assembly instead of a
> > dependencySet, but I thought I would note this for  posterity.
> >
> >  ---------------------------------------------------------------------
> > 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]
> 
> 


      

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to