Add the following configuration to the jar plugin: If you place your own manifest file in the resources directory (by default this would be src/main/resources/META-INF/MANIFEST.MF), this should be used. If not, it is a bug.
You can also pass the following configuration to the JAR plugin as a complete alternative: <archive> <manifestFile>...</manifestFile> </archive> Cheers, Brett On 8/29/05, Sachin Patel <[EMAIL PROTECTED]> wrote: > I am running M2 and when running m2 install to build my jar, a manifest > file is included in the snapshot.jar. How do I prevent this, as I > already have a MANIFEST in my project that I want to include and it > seems as if the Maven one always overwrites it. > > Thanks. > > --------------------------------------------------------------------- > 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]
