Sebastien Arbogast wrote:
>
> Hi,
>
> I'm currently investigating the use of Maven Assembly Plugin and I'd
> like the generated jar archive to be executable. For that I need the
> manifest to include a Main-Class attribute. The problem is that I
> don't manage to get a customized Manifest into the generated assembly.
> I've tried to add configuration for JAR plugin in my POM, and I added
> META-INF/MANIFEST.MF to src/main/resources, but none of these worked.
>
> Does someone have a solution?
>
> --
> S?bastien Arbogast
>
> http://www.sebastien-arbogast.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
Good day to you, S?bastien,
For the assembly plugin, you can try and take a look at [1] under the
Advance Configuration section. maven-jar-plugin also has an example for
customizing your manifest ([2]) and for using your own ([3])
However, these plugin documentations are for the latest (snapshot) versions
of those plugins. Thus, they are not yet released. But if you do have any
comments about them, kindly let us know by posting a jira issue ([4] and
[5]) :-)
Thanks,
Franz
[1] http://people.apache.org/~epunzalan/maven-assembly-plugin/usage.html
[2]
http://people.apache.org/~dennisl/maven-jar-plugin/examples/manifest-customization.html
[3]
http://people.apache.org/~dennisl/maven-jar-plugin/examples/manifest-file.html
[4] http://jira.codehaus.org/browse/MASSEMBLY
[5] http://jira.codehaus.org/browse/MJAR
--
View this message in context:
http://www.nabble.com/Customizing-MANIFEST.MF-with-assembly-plugin-tf2397275.html#a6710713
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]