From 3ff322c971394ab9f6925fa3b94126326ece92d9 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

---
 pom.xml |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/pom.xml b/pom.xml
index 97e8f24..991c18f 100644
--- a/pom.xml
+++ b/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