PR: MPCHANGELOG-51

Submitted By:	Paul Sundling
Improve error message when not using CVS, and changelog factory not set


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@126033 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett
2005-01-22 11:36:05 +00:00
parent 4b284843a0
commit 3a8cfab201

View File

@@ -128,7 +128,13 @@ class CvsChangeLogGenerator extends AbstractChangeLogGenerator
{
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();