Author: nickboldt
Date: 2010-11-23 14:19:51 -0500 (Tue, 23 Nov 2010)
New Revision: 26852
Modified:
trunk/build/parent/pom.xml
Log:
add GAV plugin profile to parent pom for cross-component reuse
Modified: trunk/build/parent/pom.xml
===================================================================
--- trunk/build/parent/pom.xml 2010-11-23 18:43:02 UTC (rev 26851)
+++ trunk/build/parent/pom.xml 2010-11-23 19:19:51 UTC (rev 26852)
@@ -827,6 +827,35 @@
</repository>
</repositories>
</profile>
+ <profile>
+ <!-- this plugin is available from
https://github.com/nickboldt/maven-plugins/tree/master/unique-GAV-plugin/ -->
+ <id>GAV</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugin</groupId>
+ <artifactId>unique-GAV-plugin</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <verbose>true</verbose>
+ <doInfo>true</doInfo>
+ <doWarn>true</doWarn>
+ <doError>true</doError>
+ <sourceDirectory>.</sourceDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
</profiles>
<repositories>