From 515160ef757c5e731f0db94cfea55ced467e0fc0 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Tue, 11 Oct 2005 04:26:15 +0000 Subject: [PATCH] PR: MNG-1163 locale must come first on command line git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312806 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/maven/plugin/javadoc/JavadocReport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-plugins/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java b/maven-plugins/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java index b0d9840579..92ea239fc3 100644 --- a/maven-plugins/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java +++ b/maven-plugins/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java @@ -672,6 +672,7 @@ public class JavadocReport cmd.setExecutable( getJavadocPath() ); // General javadoc arguments + addArgIfNotEmpty( arguments, "-locale", quotedArgument( this.locale ) ); addArgIf( arguments, breakiterator, "-breakiterator", 1.4f ); if ( !StringUtils.isEmpty( doclet ) ) { @@ -681,7 +682,6 @@ public class JavadocReport addArgIfNotEmpty( arguments, "-encoding", quotedArgument( encoding ) ); addArgIfNotEmpty( arguments, "-extdirs", quotedPathArgument( extdirs ) ); addArgIfNotEmpty( arguments, "-exclude", quotedArgument( excludePackageNames ), 1.4f ); - addArgIfNotEmpty( arguments, "-locale", quotedArgument( this.locale ) ); if ( !StringUtils.isEmpty( maxmemory ) ) { // Allow '128' or '128m'