You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eric Weiss <we...@llnl.gov> on 2005/07/18 20:39:51 UTC

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: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org

Eric Weiss
email: weiss7@llnl.gov
office: 925.422.4238
icq:    321045132



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org