Maybe I'll make the transformers like the enforcers where they are components that can be configured.

I could see just specifying the main-class ignoring everything else, or allowing merging or selectively looking for an artifact which contained the MANIFEST you wanted to win.

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
----------------------------------------------------------

Three people can keep a secret provided two of them are dead.

 -- Unknown


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to