Author: brett
Date: Sat Jan 22 03:36:05 2005
New Revision: 126033

URL: http://svn.apache.org/viewcvs?view=rev&rev=126033
Log:
PR: MPCHANGELOG-51
Submitted By:   Paul Sundling
Improve error message when not using CVS, and changelog factory not set

Modified:
   
maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/cvslib/CvsChangeLogGenerator.java

Modified: 
maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/cvslib/CvsChangeLogGenerator.java
Url: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/cvslib/CvsChangeLogGenerator.java?view=diff&rev=126033&p1=maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/cvslib/CvsChangeLogGenerator.java&r1=126032&p2=maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/cvslib/CvsChangeLogGenerator.java&r2=126033
==============================================================================
--- 
maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/cvslib/CvsChangeLogGenerator.java
   (original)
+++ 
maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/cvslib/CvsChangeLogGenerator.java
   Sat Jan 22 03:36:05 2005
@@ -128,7 +128,13 @@
         {
             throw new IllegalArgumentException(
                 "repository connection string"
-                    + " does not specify 'cvs' as the scm");
+                    + " does not specify 'cvs' as the scm"
+                    + System.getProperty("line.separator") 
+                    + "If using another scm, maven.changelog.factory"
+                    + " must be set." 
+                    + System.getProperty("line.separator")
+                    + "See the maven changelog plugin documentation" 
+                    + " for correct settings."  );
         }
 
         Commandline command = new Commandline();

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to