I have a plugin I wish to define at a parent pom so that all child projects can share the configuration.

At the parent level it is loaded as
<plugin>
 <groupId>..
 <artifactId>sample-plugin</artifactId>
 ..
 <configuration>
   <name>value</name>
 </configuration>
</plugin>

so that the child projects can invoke
mvn sample:some-goal

and refer to the parent level config.

This works fine, but if, in a child project, configure an execution
to this plugin as
  ..
  <execution>
    <goals>
      <goal>some-clean-goal</goal>
    </goals>
    <phase>clean</phase>
   </execution>

the some-clean-goal gets executed twice when I invoke

mvn clean

Any clues??

/Niels

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

Reply via email to