Hi EJ,

Are you talking about where dependency jars end up when
assembly:assembly runs?  If you are, then configure your assembly
descriptor like so:

<assembly>
        .
        .
        .
        <dependencySets>
                <dependencySet>
                        <outputDirectory>/lib</outputDirectory>
                        <excludes>
        
<exclude>${groupId}:${artifactId}</exclude>
                        </excludes>
                </dependencySet>
        </dependencySets>
        .
        .
        .
</assembly>

The <exlude> prevents the artifact from the package lifecycle (e.g. the
jar created by jar:jar) from getting copied into ./lib.

I'm just a Maven newbie, so I could be totally off base, but this is
what I'm doing to get my dependency jars into target/lib.

Hope this helps.

--Erik

-----Original Message-----
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 02, 2006 6:30 PM
To: Maven Users List
Subject: One more simple question


By default, jars are placed in the root of target, how do you move them
to target/lib?  

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