maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Matthew Pryor" <...@mobiquity.net>
Subject RE: [m2] Assembly-plugin & Manifest.mf
Date Wed, 20 Jul 2005 09:43:59 GMT
I am building eclipse plugins, and with Eclipse 3.1 these are essentially
OSGI bundles

OSGI works from entries in the manifest, in particular Bundle-Classpath
attribute

I have a Mojo that reads the dependencies & updates the Bundle-Classpath of
the created artifact (a jar in this case).

What I then need to do is include all the dependent jars inside the main
artifact (exploded or not)

Obviously the assembly plugin suits my needs very well here, as it does all
the work, but it also adds its own Manifest.

I guess I saw an assembly simply as a 'superjar' but basically the same
artifact as the project is meant to produce, just one that includes
(transitively) all the dependent classes.

Does that make sense?

Matthew

> -----Original Message-----
> From: Brett Porter [mailto:brett.porter@gmail.com] 
> Sent: Wednesday, July 20, 2005 5:28 PM
> To: Maven Users List; jmp@mobiquity.net
> Subject: Re: [m2] Assembly-plugin & Manifest.mf
> 
> I don't think this is intended - can you provide us with a 
> small test case that exhibits the behaviour and what you were 
> expecting so we can determine whether it is a 
> misunderstanding or a defect?
> 
> Thanks,
> Brett
> 
> On 7/20/05, J. Matthew Pryor <jmp@mobiquity.net> wrote:
> > Perhaps I do not understand the purpose of the assembly 
> plug-in, but 
> > as it works in alpha-3, the "assembled" jar gets a new MANIFEST.MF 
> > which is basically empty (and not the MANIFEST.MF from the 
> created artifact).
> > 
> > Maven-jar-plugin writes a lot of stuff to the MANIFEST (and I am 
> > writing an Eclipse PDE plugin that augments that), but sadly it 
> > doesn't get copied to the assembled jar.
> > 
> > Is this intended?
> > 
> > Should I move this to the dev list?
> > 
> > Thanks,
> > Matthew
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> > 
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message