As far as I know, <pluginManagement> is essentially identical in
purpose to <dependencyManagement> with no additional functionality.

It specifies the plugin version to use when building the project.

/pom.xml
<pluginManagement>
<plugins>
     <plugin>
       <groupId>org.codehaus.mojo</groupId>
       <artifactId>jspc-maven-plugin</artifactId>
       <version>1.4.1</version>
     </plugin>
</plugins>
</pluginManagement>

/subA/pom.xml
<build>
<plugins>
     <plugin>
       <groupId>org.codehaus.mojo</groupId>
       <artifactId>jspc-maven-plugin</artifactId>
     </plugin>
</plugins>
</build>

Basically, this node simply guarantees that all of your modules will
use the same plugin versions during the build phase.

Wayne

On 5/16/06, David Smiley <[EMAIL PROTECTED]> wrote:
Is there documentation anywhere on how the <pluginManagement> element is
utilized?  What differentiates it from <plugins>?

~ David Smiley


---------------------------------------------------------------------
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