Here's an example of a plugin that uses that patch... https://svn.apache.org/repos/asf/incubator/felix/trunk/tools/maven2/mave n-osgi-plugin
I'll be happy to answer any questions... > -----Original Message----- > From: Torsten Curdt [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 06, 2005 2:53 AM > To: Maven Users List > Subject: Re: [M2] How to add custom entries in a MANIFEST.MF file? > > > But the reply answer only about the specific case of "main-class" > > entry. > > I'm aware of the following patch: > > > > http://jira.codehaus.org/browse/MNG-742 > > > > But I fail to understand which class I should implement in order to > > invoke MavenArchiveConfiguration.addManifestEntry(key, > value), and how > > to register my implementation to Maven 2. I'm aware of the > <archive> > > and <jarArchiver> parameter in JAR plugin: > > Uhh... interesting! How does that work? > > I've written a maven plugin that adds > the current svn revision to the manifest. > > It's probably easier to hook in through > that method. So I would also appreciate > an example how to use it. > > cheers > -- > Torsten > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
