From bc47ff1680b43c8579bf37965ca7c4ce90fd3d7f Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Tue, 10 Mar 2015 15:41:37 +0000
Subject: [PATCH] OPENDJ-1769: Fix copyright plugin documentation message

---
 opendj-copyright-maven-plugin/src/main/java/org/forgerock/maven/CheckCopyrightMojo.java |    4 ++--
 1 files changed, 2 insertions(+), 2 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 dff6714..cc90e70 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
@@ -74,8 +74,8 @@
             if (!ignoreCopyrightErrors) {
                 getLog().warn("Fix copyright date problems before proceeding, "
                                 + "or use '-DignoreCopyrightErrors=true' to ignore copyright errors.");
-                getLog().warn("You can use update-copyrights profile (mvn -Pprecommit -Pupdate-copyrights) "
-                        + "to automatically update copyrights.");
+                getLog().warn("You can use update-copyrights maven profile "
+                        + "(mvn clean install -Pprecommit -Pupdate-copyrights) to automatically update copyrights.");
                 throw new MojoExecutionException("Found files with potential copyright year updates needed");
             }
         } else {

--
Gitblit v1.10.0