show command

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@344998 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-11-16 12:57:06 +00:00
parent 24d498554b
commit fe47030632

View File

@ -214,6 +214,9 @@ private void runMaven( File installation, File basedir, String[] args )
cli.createArgument().setValue( args[i] );
}
System.out.println( "Running Maven... " );
System.out.println( cli.toString() );
int exitCode = CommandLineUtils.executeCommandLine( cli,
new WriterStreamConsumer( new PrintWriter( System.out ) ),
new WriterStreamConsumer( new PrintWriter( System.err ) ) );