From 927484535725c5c04401f06f05138e9354dc5744 Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Mon, 27 Apr 2015 16:51:07 +0000
Subject: [PATCH] The following submodules support the update-copyrights profile * opendj-legacy * opendj-rest2ldap * opendj-rest2ldapservlet
---
opendj-sdk/pom.xml | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/pom.xml b/opendj-sdk/pom.xml
index 97e8f24..991c18f 100644
--- a/opendj-sdk/pom.xml
+++ b/opendj-sdk/pom.xml
@@ -546,7 +546,7 @@
</plugins>
</build>
</profile>
-
+
<profile>
<id>update-copyrights</id>
<build>
@@ -568,6 +568,17 @@
<goals>
<goal>update-copyright</goal>
</goals>
+ <configuration>
+ <!-- We need to accept the second part of the following regular expression for submodules:
+ ! * opendj-rest2ldap
+ ! * opendj-rest2ldap-servlet
+ ! * opendj-legacy
+ !
+ ! Please note that the regexp '\"Portions Copyright \[year\] \[name of copyright owner\]\"'
+ ! must never be found before 'CDDL HEADER END' in other submodules, otherwise the plugin will fail.
+ -->
+ <lineBeforeCopyrightRegExp>(CDDL HEADER END|\"Portions Copyright \[year\] \[name of copyright owner\]\")</lineBeforeCopyrightRegExp>
+ </configuration>
</execution>
</executions>
</plugin>
--
Gitblit v1.10.0