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]
