From 96aefe5003c7bf88b64d9ab343cc5d9d267b04ab Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 27 Feb 2015 00:18:46 +0000
Subject: [PATCH] Minor build fixes:

---
 opendj-copyright-maven-plugin/src/main/java/org/forgerock/maven/CheckCopyrightMojo.java |    4 ++--
 pom.xml                                                                                 |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-copyright-maven-plugin/src/main/java/org/forgerock/maven/CheckCopyrightMojo.java b/opendj-copyright-maven-plugin/src/main/java/org/forgerock/maven/CheckCopyrightMojo.java
index 74952fa..dff6714 100644
--- a/opendj-copyright-maven-plugin/src/main/java/org/forgerock/maven/CheckCopyrightMojo.java
+++ b/opendj-copyright-maven-plugin/src/main/java/org/forgerock/maven/CheckCopyrightMojo.java
@@ -46,7 +46,7 @@
     @Parameter(required = true, property = "ignoreCopyrightErrors", defaultValue = "false")
     private boolean ignoreCopyrightErrors;
 
-    @Parameter(required = true, property = "skipCoyprightCheck", defaultValue = "false")
+    @Parameter(required = true, property = "skipCopyrightCheck", defaultValue = "false")
     private boolean checkDisabled;
 
     /**
@@ -74,7 +74,7 @@
             if (!ignoreCopyrightErrors) {
                 getLog().warn("Fix copyright date problems before proceeding, "
                                 + "or use '-DignoreCopyrightErrors=true' to ignore copyright errors.");
-                getLog().warn("You can use copyrights-update profile (mvn -Pprecommit -Pcopyriths-update) "
+                getLog().warn("You can use update-copyrights profile (mvn -Pprecommit -Pupdate-copyrights) "
                         + "to automatically update copyrights.");
                 throw new MojoExecutionException("Found files with potential copyright year updates needed");
             }
diff --git a/pom.xml b/pom.xml
index 13f8f4e..f5ef381 100644
--- a/pom.xml
+++ b/pom.xml
@@ -514,7 +514,7 @@
     </profile>
     
     <profile>
-      <id>copyrights-update</id>
+      <id>update-copyrights</id>
         <build>
           <plugins>
             <plugin>

--
Gitblit v1.10.0