Hi Lee,

I'm sorry.  I misunderstood your query.  Yes, the situation I'm seeing
is exactly as you described.  I'm getting unwanted dependency jars
copied into the executable jar in addition to the ones I do want copied
into the file system under (for example) ./lib.  I thought you were
asking if that was what I wanted, which, of course, is not the case.

Thanks,
--Erik

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Lee Meador
Sent: Friday, June 02, 2006 3:11 PM
To: Maven Users List
Subject: Re: Stand-alone app


I have a build very much like yours. My config for the jar plugin is
virtually the same. My assembly xml file is similar.

I do NOT get any extra jar files in the executable jar. They are only in
the assembled jar under /lib.

Here are some differences. I don't see any that should matter.

I don't have a <packaging> tag.
I have the classpath prefix as "./lib" instead of "lib"
I'm using java 1.4.
I have a parent pom that may be supplying something.

For someone that knows more about maven than I -- what would one add to
a pom for a jar that would cause the dependencies to be added to the jar
itself?

The situation is that the assembly jar contains the executable jar and
the dependencies under the lib folder. The executable jar also contains
the dependency jars along with the application class files itself. Is
that right? Are the dependency jars inside some folder in the executable
jar?

On 6/2/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> On 6/2/06, Midtskogen, Erik <[EMAIL PROTECTED]> wrote:
> > Hi Wayne,
> >
> > Where would I put such documentation?  I don't really see any place 
> > on the maven site to put documentation of "tips and techniques".  If

> > I were to create a assembly:stand-alone-app goal, then at least I'd 
> > have somewhere to hang the documentation.
>
> The Wiki would be a great place to start:
>    http://docs.codehaus.org/display/MAVENUSER/Home
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]

***********************************************************************************
The information in this email (including any attachments) is confidential and 
may be legally privileged.  Access to this e-mail by anyone other than the 
intended addressee is unauthorized.  If you are not the intended recipient of 
this message, any review, disclosure, copying, distribution, retention, or any 
action taken or omitted to be taken in reliance on it (including any 
attachments) is prohibited and may be unlawful.  If you are not the intended 
recipient, please reply to or forward a copy of this message to the sender and 
delete the message, all attachments, and any copies thereof from your system 
and destroy any printout thereof.

______________________________________________________________________
The information in this email (including any attachments) is confidential and 
may be legally privileged. Access to this e-mail by anyone other than the 
intended addressee is unauthorized. If you are not the intended recipient of 
this message, any review, disclosure, copying, distribution, retention, or any 
action taken or omitted to be taken in reliance on it (including any 
attachments) is prohibited and may be unlawful. If you are not the intended 
recipient, please reply to or forward a copy of this message to the sender and 
delete the message, all attachments, and any copies thereof from your system 
and destroy any printout thereof.

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

Reply via email to