Hi all.
I've got a question for how to best configure plugins in a corporate parent
pom. One way is to configure the plug in the pluginManagement section, the
other is to use the properties that the plugin uses.
eg.
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<wtpmanifest>true</wtpmanifest>
<wtpapplicationxml>true</wtpapplicationxml>
<wtpversion>2.0</wtpversion>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
vs
<properties>
<!-- WTP properties used by the maven-eclipse-plugin -->
<eclipse.wtpmanifest>true</eclipse.wtpmanifest>
<eclipse.wtpapplicationxml>true</eclipse.wtpapplicationxml>
<wtpversion>2.0</wtpversion>
</properties>
Is there any advantage of one over the other?
Thanks for your time,
Jim