Have a look at useDefaultManifestFile mojo parameter [1]

It's false by default to preserve backward compatibility (look MJAR-71
[2] for details).

--
Olivier

[1] 
http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html#useDefaultManifestFile
[2] http://jira.codehaus.org/browse/MJAR-71

2008/2/24, I am Who i am <[EMAIL PROTECTED]>:
> I already tried all of them, no use
>
>
>  On 2/24/08, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
>  >
>  > Did you try following the documentation to the letter:
>  >
>  > http://maven.apache.org/shared/maven-archiver/examples/manifestFile.html
>  >
>  > http://maven.apache.org/shared/maven-archiver/examples/manifestEntries.html
>  > http://maven.apache.org/shared/maven-archiver/examples/classpath.html
>  >
>  > I am Who i am wrote:
>  > > Hi All
>  > >
>  > > I'm using maven -2.0.7 and have jar configuration has follows
>  > >
>  > >                 <plugin>
>  > >                         <groupId>org.apache.maven.plugins</groupId>
>  > >                         <artifactId>maven-jar-plugin</artifactId>
>  > >                         <version>2.2</version>
>  > >                                         <configuration>
>  > >                                                 <archive>
>  > >
>  > > <manifestFile>${basedir}/ejbModule/META-INF/MANIFEST.MF</manifestFile>
>  > >                                                 </archive>
>  > >                                         </configuration>
>  > >                 </plugin>
>  > >
>  > >
>  > > and my MANIFEST.MF @   ejbModule/META-INF/MANIFEST.MF has some custom
>  > entry,
>  > > but this file never makes into jar file, i've only the regular maven
>  > created
>  > > MANIFEST.MF only.
>  > > i also tried to with <manifestEntries>, <addClasspath> nothing worked
>  > for
>  > > me.
>  > >
>  > > I'm sure i'm doing something wrong, can anyone please give some working
>  > > sample for these option
>  > >
>  > > Your help is very much appreciated
>  > >
>  >
>  >
>  > --
>  > Dennis Lundberg
>  >
>  > ---------------------------------------------------------------------
>  > 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