From ae6517b17bbe8409946ae04f66b12a8d0bdaad52 Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Wed, 11 Feb 2015 15:48:10 +0000
Subject: [PATCH] OPENDJ-1769 Adds copyrights in pom.xml plugins

---
 opendj-logref-doc-maven-plugin/src/main/java/org/forgerock/maven/package-info.java                 |    2 
 opendj-manifest-classpath-maven-plugin/pom.xml                                                     |   26 ++++++++
 opendj-svn-property-check-maven-plugin/src/main/java/org/forgerock/maven/CheckSVNPropertyMojo.java |    1 
 opendj-concat-schema-maven-plugin/pom.xml                                                          |   26 ++++++++
 opendj-logref-doc-maven-plugin/pom.xml                                                             |   26 ++++++++
 opendj-config/pom.xml                                                                              |   38 ++++++++----
 opendj-config-maven-plugin/pom.xml                                                                 |   26 ++++++++
 7 files changed, 131 insertions(+), 14 deletions(-)

diff --git a/opendj-concat-schema-maven-plugin/pom.xml b/opendj-concat-schema-maven-plugin/pom.xml
index f636080..b59f150 100644
--- a/opendj-concat-schema-maven-plugin/pom.xml
+++ b/opendj-concat-schema-maven-plugin/pom.xml
@@ -1,4 +1,30 @@
 <?xml version="1.0"?>
+<!--
+  ! CDDL HEADER START
+  !
+  ! The contents of this file are subject to the terms of the
+  ! Common Development and Distribution License, Version 1.0 only
+  ! (the "License").  You may not use this file except in compliance
+  ! with the License.
+  !
+  ! You can obtain a copy of the license at
+  ! trunk/opendj3/legal-notices/CDDLv1_0.txt
+  ! or http://forgerock.org/license/CDDLv1.0.html.
+  ! See the License for the specific language governing permissions
+  ! and limitations under the License.
+  !
+  ! When distributing Covered Code, include this CDDL HEADER in each
+  ! file and include the License file at
+  ! trunk/opendj3/legal-notices/CDDLv1_0.txt.  If applicable,
+  ! add the following below this CDDL HEADER, with the fields enclosed
+  ! by brackets "[]" replaced with your own identifying information:
+  !      Portions Copyright [yyyy] [name of copyright owner]
+  !
+  ! CDDL HEADER END
+  !
+  !      Copyright 2015 ForgeRock AS.
+  !
+-->
 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
   xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <modelVersion>4.0.0</modelVersion>
diff --git a/opendj-config-maven-plugin/pom.xml b/opendj-config-maven-plugin/pom.xml
index d459dbf..32cc9a7 100644
--- a/opendj-config-maven-plugin/pom.xml
+++ b/opendj-config-maven-plugin/pom.xml
@@ -1,4 +1,30 @@
 <?xml version="1.0"?>
+<!--
+  ! CDDL HEADER START
+  !
+  ! The contents of this file are subject to the terms of the
+  ! Common Development and Distribution License, Version 1.0 only
+  ! (the "License").  You may not use this file except in compliance
+  ! with the License.
+  !
+  ! You can obtain a copy of the license at
+  ! trunk/opendj3/legal-notices/CDDLv1_0.txt
+  ! or http://forgerock.org/license/CDDLv1.0.html.
+  ! See the License for the specific language governing permissions
+  ! and limitations under the License.
+  !
+  ! When distributing Covered Code, include this CDDL HEADER in each
+  ! file and include the License file at
+  ! trunk/opendj3/legal-notices/CDDLv1_0.txt.  If applicable,
+  ! add the following below this CDDL HEADER, with the fields enclosed
+  ! by brackets "[]" replaced with your own identifying information:
+  !      Portions Copyright [yyyy] [name of copyright owner]
+  !
+  ! CDDL HEADER END
+  !
+  !      Copyright 2014-2015 ForgeRock AS.
+  !
+-->
 <project
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
   xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
diff --git a/opendj-config/pom.xml b/opendj-config/pom.xml
index 797a9af..3ab4ca4 100644
--- a/opendj-config/pom.xml
+++ b/opendj-config/pom.xml
@@ -1,16 +1,30 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- ! CDDL HEADER START ! ! The contents of this file are subject to the
-  terms of the ! Common Development and Distribution License, Version 1.0 only
-  ! (the "License"). You may not use this file except in compliance ! with
-  the License. ! ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
-  ! or http://forgerock.org/license/CDDLv1.0.html. ! See the License for the
-  specific language governing permissions ! and limitations under the License.
-  ! ! When distributing Covered Code, include this CDDL HEADER in each ! file
-  and include the License file at legal-notices/CDDLv1_0.txt. ! If applicable,
-  add the following below this CDDL HEADER, with the ! fields enclosed by brackets
-  "[]" replaced with your own identifying ! information: ! Portions Copyright
-  [yyyy] [name of copyright owner] ! ! CDDL HEADER END ! ! Copyright 2013 ForgeRock
-  AS ! -->
+<!--
+  ! CDDL HEADER START
+  !
+  ! The contents of this file are subject to the terms of the
+  ! Common Development and Distribution License, Version 1.0 only
+  ! (the "License").  You may not use this file except in compliance
+  ! with the License.
+  !
+  ! You can obtain a copy of the license at
+  ! trunk/opendj3/legal-notices/CDDLv1_0.txt
+  ! or http://forgerock.org/license/CDDLv1.0.html.
+  ! See the License for the specific language governing permissions
+  ! and limitations under the License.
+  !
+  ! When distributing Covered Code, include this CDDL HEADER in each
+  ! file and include the License file at
+  ! trunk/opendj3/legal-notices/CDDLv1_0.txt.  If applicable,
+  ! add the following below this CDDL HEADER, with the fields enclosed
+  ! by brackets "[]" replaced with your own identifying information:
+  !      Portions Copyright [yyyy] [name of copyright owner]
+  !
+  ! CDDL HEADER END
+  !
+  !      Copyright 2013 ForgeRock AS.
+  !
+-->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
diff --git a/opendj-logref-doc-maven-plugin/pom.xml b/opendj-logref-doc-maven-plugin/pom.xml
index e885e41..4a74c29 100644
--- a/opendj-logref-doc-maven-plugin/pom.xml
+++ b/opendj-logref-doc-maven-plugin/pom.xml
@@ -1,4 +1,30 @@
 <?xml version="1.0"?>
+<!--
+  ! CDDL HEADER START
+  !
+  ! The contents of this file are subject to the terms of the
+  ! Common Development and Distribution License, Version 1.0 only
+  ! (the "License").  You may not use this file except in compliance
+  ! with the License.
+  !
+  ! You can obtain a copy of the license at
+  ! trunk/opendj3/legal-notices/CDDLv1_0.txt
+  ! or http://forgerock.org/license/CDDLv1.0.html.
+  ! See the License for the specific language governing permissions
+  ! and limitations under the License.
+  !
+  ! When distributing Covered Code, include this CDDL HEADER in each
+  ! file and include the License file at
+  ! trunk/opendj3/legal-notices/CDDLv1_0.txt.  If applicable,
+  ! add the following below this CDDL HEADER, with the fields enclosed
+  ! by brackets "[]" replaced with your own identifying information:
+  !      Portions Copyright [yyyy] [name of copyright owner]
+  !
+  ! CDDL HEADER END
+  !
+  !      Copyright 2015 ForgeRock AS.
+  !
+-->
 <project
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
 	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
diff --git a/opendj-logref-doc-maven-plugin/src/main/java/org/forgerock/maven/package-info.java b/opendj-logref-doc-maven-plugin/src/main/java/org/forgerock/maven/package-info.java
index 7840667..8596f30 100644
--- a/opendj-logref-doc-maven-plugin/src/main/java/org/forgerock/maven/package-info.java
+++ b/opendj-logref-doc-maven-plugin/src/main/java/org/forgerock/maven/package-info.java
@@ -24,6 +24,6 @@
  *      Copyright 2015 ForgeRock AS.
  */
 
-/** Classes implementing the maven plugin to create a base schema that may be used during the upgrade process. */
+/** Classes implementing the maven plugin to create xml files from messages for documentation guides generation. */
 package org.forgerock.maven;
 
diff --git a/opendj-manifest-classpath-maven-plugin/pom.xml b/opendj-manifest-classpath-maven-plugin/pom.xml
index 1e9b7e7..3dfae52 100644
--- a/opendj-manifest-classpath-maven-plugin/pom.xml
+++ b/opendj-manifest-classpath-maven-plugin/pom.xml
@@ -1,4 +1,30 @@
 <?xml version="1.0"?>
+<!--
+  ! CDDL HEADER START
+  !
+  ! The contents of this file are subject to the terms of the
+  ! Common Development and Distribution License, Version 1.0 only
+  ! (the "License").  You may not use this file except in compliance
+  ! with the License.
+  !
+  ! You can obtain a copy of the license at
+  ! trunk/opendj3/legal-notices/CDDLv1_0.txt
+  ! or http://forgerock.org/license/CDDLv1.0.html.
+  ! See the License for the specific language governing permissions
+  ! and limitations under the License.
+  !
+  ! When distributing Covered Code, include this CDDL HEADER in each
+  ! file and include the License file at
+  ! trunk/opendj3/legal-notices/CDDLv1_0.txt.  If applicable,
+  ! add the following below this CDDL HEADER, with the fields enclosed
+  ! by brackets "[]" replaced with your own identifying information:
+  !      Portions Copyright [yyyy] [name of copyright owner]
+  !
+  ! CDDL HEADER END
+  !
+  !      Copyright 2015 ForgeRock AS.
+  !
+-->
 <project
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
 	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
diff --git a/opendj-svn-property-check-maven-plugin/src/main/java/org/forgerock/maven/CheckSVNPropertyMojo.java b/opendj-svn-property-check-maven-plugin/src/main/java/org/forgerock/maven/CheckSVNPropertyMojo.java
index b29a90a..ad0d2ae 100644
--- a/opendj-svn-property-check-maven-plugin/src/main/java/org/forgerock/maven/CheckSVNPropertyMojo.java
+++ b/opendj-svn-property-check-maven-plugin/src/main/java/org/forgerock/maven/CheckSVNPropertyMojo.java
@@ -107,7 +107,6 @@
      */
     public void handleStatus(org.tmatesoft.svn.core.wc.SVNStatus status) throws SVNException {
         File changedFile = status.getFile();
-        ;
         if (!changedFile.exists() || !changedFile.isFile()) {
             return;
         }

--
Gitblit v1.10.0