Dear ,
   You should remember the true name of jar should be same to jar name in
run-time .







thanks.
Tel: (020)36315358-328 Fax: (020)36315170


                                                                                
                                                       
                      "Wayne Fay"                                               
                                                       
                      <[EMAIL PROTECTED]        To:       "Maven Users List" 
<[email protected]>                                   
                      om>                      cc:                              
                                                       
                                               Subject:  Re: [m2] plugin 
dependency exclusions                                         
                      21/03/2006 05:08                                          
                                                       
                      Please respond to                                         
                                                       
                      "Maven Users                                              
                                                       
                      List"                                                     
                                                       
                                                                                
                                                       
                                                                                
                                                       




The easiest way to achieve this is to just add the dependency to your
pom with <scope>provided</scope>

You can also exclude specific files from your WAR or EAR, take a look at:
http://jira.codehaus.org/browse/MWAR-6
http://jira.codehaus.org/browse/MEAR-3

This has also come up previously on user@ list, if you search the
archives, you should be able to find more discussion and some pom.xml
examples.

Wayne


On 3/20/06, Mark Hobson <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> Is there any plans for an exclusions block for plugin dependencies
> within the pom?  I have a use-case of wanting to exclude slf4j-simple
> from the jetty6 plugin in order to use an alternative implementation.
>
> Cheers,
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________



2006 sees Hactl's 30 years of commitment to Hong Kong and our customers.
On this occasion we extend our thanks to all of you for your loyalty and
trust.
You have contributed to our success.

Visit us at our website at www.hactl.com

DISCLAIMER :-
The information contained in this message, including any attachment, is
confidential and may also be privileged. The information is intended only
for the person or entity to which it is addressed. Any review,
re-transmission, copying, storage, distribution or other use or disclosure
of this information by persons or entities other than the intended
recipient is prohibited. If you are not the intended recipient, please
contact the sender immediately by return email and delete this message from
your system. Thank you.




______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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

Reply via email to