I'll make sure, but that would work by default as if you knew the
manifest in one of your JARs had the main-class entry you wouldn't be
specifying it in the shade plugin.
On 17-Jul-08, at 11:17 AM, Daniel Kulp wrote:
In general, we let the stuff that executes prior to the Shade plugin
handle the manifest. That might be the jar plugin, but it could
be something else like the felix bundle plugin.
I guess that would be the important thing: make sure the above
scenario still works correctly.
On Jul 17, 2008, at 10:55 AM, Jason van Zyl wrote:
I was looking through JIRA and the source and there doesn't seem to
be an easy way to create an executable JAR. I don't want to add JAR
plugin configuration to set the class I want to use for "java -jar
pooky.jar".
Why not? That's certainly the documented way to do it right now.
Dan
Anyone else thought about this?
I want to add a simple configuration for, and for people who have
put the MANIFEST.MF information in I don't see a resource
transformer so that you can control the right manifest landing in
the right place so it would work.
I just want to specify the class and then the plugin do the work.
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
the course of true love never did run smooth ...
-- Shakespeare
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
A party which is not afraid of letting culture,
business, and welfare go to ruin completely can
be omnipotent for a while.
-- Jakob Burckhardt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]