For the JAR plugin:
<configuration>
<archive>
<manifestFile>...</manifestFile> (not required to include the latter)
<manifest>
<mainClass>...</mainClass>
</manifest>
</archive>
</configuration>
see:
manifest element:
http://cvs.apache.org/viewcvs.cgi/maven-components/maven-archiver/src/main/java/org/apache/maven/archiver/ManifestConfiguration.java?rev=1.1&view=markup
archive element:
http://cvs.apache.org/viewcvs.cgi/maven-components/maven-archiver/src/main/java/org/apache/maven/archiver/MavenArchiveConfiguration.java?rev=1.1&view=markup
(we intend to include an automatic documentation generator for plugins
in alpha-2)
- Brett
On Apr 12, 2005 5:14 AM, Ilyevsky, Leonid (Equity Trading)
<[EMAIL PROTECTED]> wrote:
> In maven2, how do I specify the classpath, main class for the manifest?
> How I specify a manifest file to include?
> --------------------------------------------------------
>
> If you are not an intended recipient of this e-mail, please notify the
> sender, delete it and do not read, act upon, print, disclose, copy, retain or
> redistribute it. Click here for important additional terms relating to this
> e-mail. http://www.ml.com/email_terms/
> --------------------------------------------------------
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]