You can put your plugin configuration in a pluginManagement [1] element
inside the build element
build
pluginManagement
plugins
plugin
This only configures the plugins, but don't execute them.
[1]
http://maven.apache.org/ref/current/maven-model/maven.html#class_pluginManagement
Kallin Nagelberg wrote:
I'm trying to create a multi-module project that uses the same plugin for
source generation.
To make it as simple as possible I have a parent POM that contains the
configuration of the plugin in a
<build>
<plugins>
<plugin>
tag.
My problem is that the plugin is being executed when the parent is built,
even though it is of type 'pom', and i only want to use it to aggregate the
modules and define some standard config. Is there a way to configure a
plugin and prevent it's execution?
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]