Yes, set the manifestFile parameter in the plugin directly.
<groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ear-plugin</artifactId> <configuration> <generateApplicationXml>true</generateApplicationXml> <defaultJavaBundleDir>APP-INF/lib</defaultJavaBundleDir> <manifestFile>${basedir}/MANIFEST.MF</manifestFile> </configuration> Cheers, Stéphane On 12/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi All How do i disable maven auto generated information in manifest file for Eg. I have in my ear plugin as <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ear-plugin</artifactId> <configuration> <generateApplicationXml>true</generateApplicationXml> <defaultJavaBundleDir>APP-INF/lib</defaultJavaBundleDir> <archive> <manifestFile>${basedir}/MANIFEST.MF</manifestFile> </archive> </configuration> When i create my ear file using this it does take my custom manifestFile from ${basedir}/MANIFEST.MF but before adding this it also adds maven default information like Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Harmony-Automation Project Using Maven Built-By: blah Build-Jdk: blah Extension-Name: blah Specification-Title:blahblahblahblahblah Specification-Vendor: blah Implementation-Vendor: blah Implementation-Title: blah Implementation-Version: 12 i don't want this information, i just want manifest to have whatver i specified in my manifestFile, coz i already have these in my manifestFile, is this possible ? Thanks, Raghurajan Gurunathan ----------------------------------------- This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]