Hi Tim,

I have the same needs and wrote a plugin that merely copy all dependencies into
a directory of your choice - it's largely inspired from war plugin, of course
:)  Let me know if you are interested.

Yann

--- Brett Porter <[EMAIL PROTECTED]> a écrit :

> Scope is a default for the packaging rule, not a packaging rule in itself.
> 
> There is an open JIRA for the war plugin to allow this (specifically
> for applets and jnlp). It has not yet been implemented.
> 
> You can work around it by writing your own small plugin (or use the
> antrun plugin), to copy the jar into place in an earlier phase.
> 
> Cheers,
> Brett
> 
> On 9/25/05, Tim Kettler <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I've set up a simple web-app (war) project with Maven 2. Now I need to
> > place some artifacts from my repository (a few jar's accessed by JNLP)
> > in the root of the war. Just declaring them as dependencies puts them in
> > the WEB-INF/lib directory.
> >
> > Is it possible to define a new kind of dependency scope (for example
> > 'client') and then copy the artifacts in the 'package' goal to the right
> > location?
> >
> > Thanks
> > Tim
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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

Reply via email to