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 <joanneedua...@gmail.com> wrote:

> 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 Sat, Feb 6, 2010 at 3:55 AM, Pulkit Singhal <pulkitsing...@gmail.com
> >wrote:
>
> > 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 not a dependency
> > nested under it.
> >
> > Anyone know how to do this or if it can be done at all?
> >
> > - Pulkit
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
> >
>

Reply via email to