In the submodule where you don't want the plugin to run, add a <plugin>
element with the following elements within:
<executions>
  <execution>
    <id>some-id</id>
    <phase>none</phase>
  </execution>
</executions>

On Fri, Sep 5, 2008 at 08:40, youhaodeyi <[EMAIL PROTECTED]> wrote:

>
> In the parent pom, it includes copy-dependency plugin which I want to
> disable
> in the child pom. I use this configuration:
>
> <plugin>
>                                <groupId>org.apache.maven.plugins</groupId>
>
>  <artifactId>maven-dependency-plugin</artifactId>
>                                <inherited>false</inherited>
> </plugin>
>
> But every time running 'mvn package', it will copy all the dependencies to
> the child module. How can I disable this?
> --
> View this message in context:
> http://www.nabble.com/How-to-disable-a-plugin--tp19325716p19325716.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to