mirror of https://github.com/apache/maven.git
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
This commit is contained in:
parent
c3af7a3bc5
commit
515160ef75
|
@ -672,6 +672,7 @@ public class JavadocReport
|
||||||
cmd.setExecutable( getJavadocPath() );
|
cmd.setExecutable( getJavadocPath() );
|
||||||
|
|
||||||
// General javadoc arguments
|
// General javadoc arguments
|
||||||
|
addArgIfNotEmpty( arguments, "-locale", quotedArgument( this.locale ) );
|
||||||
addArgIf( arguments, breakiterator, "-breakiterator", 1.4f );
|
addArgIf( arguments, breakiterator, "-breakiterator", 1.4f );
|
||||||
if ( !StringUtils.isEmpty( doclet ) )
|
if ( !StringUtils.isEmpty( doclet ) )
|
||||||
{
|
{
|
||||||
|
@ -681,7 +682,6 @@ public class JavadocReport
|
||||||
addArgIfNotEmpty( arguments, "-encoding", quotedArgument( encoding ) );
|
addArgIfNotEmpty( arguments, "-encoding", quotedArgument( encoding ) );
|
||||||
addArgIfNotEmpty( arguments, "-extdirs", quotedPathArgument( extdirs ) );
|
addArgIfNotEmpty( arguments, "-extdirs", quotedPathArgument( extdirs ) );
|
||||||
addArgIfNotEmpty( arguments, "-exclude", quotedArgument( excludePackageNames ), 1.4f );
|
addArgIfNotEmpty( arguments, "-exclude", quotedArgument( excludePackageNames ), 1.4f );
|
||||||
addArgIfNotEmpty( arguments, "-locale", quotedArgument( this.locale ) );
|
|
||||||
if ( !StringUtils.isEmpty( maxmemory ) )
|
if ( !StringUtils.isEmpty( maxmemory ) )
|
||||||
{
|
{
|
||||||
// Allow '128' or '128m'
|
// Allow '128' or '128m'
|
||||||
|
|
Loading…
Reference in New Issue