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

Reply via email to