On 20/03/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> The easiest way to achieve this is to just add the dependency to your
> pom with <scope>provided</scope>

I've tried this in both the plugin dependency and main dependency
blocks, but it doesn't exclude the dependency.

> 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

I'm afraid I don't see the connection with my problem and the above
issues - I'm trying to remove dependencies from the m2 runtime
classpath, not from a generated artifact.

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

I did search but couldn't find a thread detailing a similar problem. 
Has anyone got any further ideas?

Cheers,

Mark

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

Reply via email to