Re: How to include dependencies when building/installing a .jar ???

2005-07-18 Thread Eric Weiss
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

RE: How to include dependencies when building/installing a .jar ???

2005-07-18 Thread Marc Attiyeh
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: users@maven.apache.org Subject: Re: How to include dependencies when building

Re: How to include dependencies when building/installing a .jar ???

2005-07-18 Thread Johnny Ruiz
-marc -Original Message- From: Eric Weiss [mailto:[EMAIL PROTECTED] Sent: Monday, July 18, 2005 2:40 PM To: Maven Users List Cc: users@maven.apache.org Subject: Re: How to include dependencies when building/installing a .jar ??? Thx all for the responses. Yes, it does sound like

Re: How to include dependencies when building/installing a .jar ???

2005-07-18 Thread Brett Porter
/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: users@maven.apache.org Subject: Re: How to include dependencies when building/installing a .jar ??? Thx all

How to include dependencies when building/installing a .jar ???

2005-07-15 Thread Eric Weiss
Maven2 m2 clean:clean install packaging = jar I am trying to build a jar file, myJar.jar. myJar has several other jar files in it's dependency list in the pom.xml. I need to deploy this .jar file to a server, but I also need the dependency jars with it...either in the same folder or in a

Re: How to include dependencies when building/installing a .jar ???

2005-07-15 Thread Allan Ramirez
Eric Weiss wrote: Maven2 m2 clean:clean install packaging = jar I am trying to build a jar file, myJar.jar. myJar has several other jar files in it's dependency list in the pom.xml. I need to deploy this .jar file to a server, but I also need the dependency jars with it...either in the

Re: How to include dependencies when building/installing a .jar ???

2005-07-15 Thread Matthew L Daniel
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

Re: How to include dependencies when building/installing a .jar ???

2005-07-15 Thread Brett Porter
You can use the assembly plugin to create a single distributable unit. It will create a tarball, zip, or jar from your project and dependencies. - Brett On 7/16/05, Matthew L Daniel [EMAIL PROTECTED] wrote: Is there an easy/built in way to include the dependency jar files when building a jar

Re: How to include dependencies when building/installing a .jar ???

2005-07-15 Thread Henry Isidro
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