Hi guys,

Is there an uberjar plugin already for M2? Or is someone working on the plugin for M2? I'm actually working on duplicating the uberjar plugin of M1 to M2.


Cheers,
Johnny Ruiz

Marc Attiyeh wrote:

How about Uberjar?

http://maven.apache.org/reference/plugins/uberjar/index.html

-marc

-----Original Message-----
From: Eric Weiss [mailto:[EMAIL PROTECTED] Sent: Monday, July 18, 2005 2:40 PM
To: Maven Users List
Cc: [email protected]
Subject: Re: How to include dependencies when building/installing a .jar
???

Thx all for the responses.

Yes, it does sound like an .ear/.war, but I don't have a web.xml file
and it is not a web based app destined for a container. Actually, I am trying to deploy an app to an Apache JAMES server. I need a bunch of my own classes as well as many dependent jars put into a couple of different directories under JAMES. I am ok with having to manually put the files in place, but I need to get M2 to package them all up into a single "tarball" so I can 1) move it to the server, 2) get everything I need in one file for later extraction.

Someone mentioned using the assembly plugin, which I tried, but couldn't

get to work.  I will try again and post the error I am getting.

Great suggestions, thx for the help everyone!

Eric


At 06:57 PM 7/15/2005, Matthew L Daniel wrote:
Is there an easy/built in way to include the dependency jar files
when
building a jar package?  Or do I need to build my own plugin?
Sounds suspiciously like an EAR to me. If you ignore the
META-INF/application.xml, it's a zip file with all your jars packaged
together. That said, if you're "deploying" to a server, chances are you
would really want to use the actual deployed artifact type (war is
another that will do this).

 My USD$0.02,
 -- /v\atthew

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

Eric Weiss
email: [EMAIL PROTECTED]
office: 925.422.4238
icq:    321045132



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