How to place exclusions on a plugin directly

2010-02-08 Thread Pulkit Singhal
Hello Everyone, I want to places the exclusions tag insidea plugin to remove the dependencies that are referenced by that plugin's plugin.pom file retrieved from maven repository. I know that I can place exclusions under the dependencies tag but here I want to exclude files from the plugin and

Re: How to place exclusions on a plugin directly

2010-02-08 Thread Jo Eduardo
Hi Pulkit, AFAIK there's no way to exclude the files in the jar. ( http://maven.apache.org/guides/mini/guide-configuring-plugins.html) If you want, you could create your own version of the jar, if its allowable. Then just use that jar.\ HTH, -- Jo Eduardo Twitter: http://twitter.com/joed On

Re: How to place exclusions on a plugin directly

2010-02-08 Thread Anders Hammar
If you explain your use case and why you want to do this, we could try to find a workaround (or possibly the correct Maven way of doing things). A plugin has a dependency for a reason, and that's normally because it needs it. /Anders On Mon, Feb 8, 2010 at 14:57, Jo Eduardo