Hi there,

i have a multi module project and run into following problmem.
In the root pom i defined a plugin.

<build>
  <plugin>
    <groupId>org.apache.maven.plugins</groupId
    <artifactId>maven-dependency-plugin</artifactId
    <version>2.0-alpha-4</version>
    <inherited>false</inherited>
  </plugin>
...

i set inherited to false, because when i execute a goal of the plugin ($ mvn dependency:unpack) i want not that the plugin gets executed in every sub-module. But it get executed and the inherited flag only leads to an exception because i want to execute a plugin-goal on an project where the plugin is not defined.

So is there a way to only execute the plugin-goal for the root project ?

best regards
Johannes

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101tec GmbH
Halle (Saale), Saxony-Anhalt, Germany
http://www.101tec.com

Reply via email to