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