From 84208109b893f7d174ec19e839a97c7312e3f83d Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Thu, 26 Feb 2015 17:49:52 +0000
Subject: [PATCH] OPENDJ-1769: Improve copyright maven plugin code
---
pom.xml | 30 +++++++++++++++++++++++++++++-
1 files changed, 29 insertions(+), 1 deletions(-)
diff --git a/pom.xml b/pom.xml
index 45d9d12..13f8f4e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -502,7 +502,7 @@
<version>1.0.0-SNAPSHOT</version>
<executions>
<execution>
- <id>check-copyrights</id>
+ <id>check-copyright</id>
<goals>
<goal>check-copyright</goal>
</goals>
@@ -512,5 +512,33 @@
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>copyrights-update</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.forgerock.opendj</groupId>
+ <artifactId>opendj-copyright-maven-plugin</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>check-copyright</id>
+ <phase>none</phase>
+ <goals>
+ <goal>check-copyright</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>update-copyright</id>
+ <goals>
+ <goal>update-copyright</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
--
Gitblit v1.10.0