The inherited flag in the plugin block is broken, but in 2.0.9 we made
sure the inherited flag inside the execution block does work.

-----Original Message-----
From: youhaodeyi [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2008 2:40 AM
To: [email protected]
Subject: How to disable a plugin?


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]


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

Reply via email to