*** empty log message ***

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163261 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-12-24 20:55:54 +00:00
parent 47798a5834
commit a8d5efcfdb
1 changed files with 4 additions and 16 deletions

View File

@ -20,39 +20,27 @@ public class MavenProjectExecutionRequestHandler
public void handle( MavenExecutionRequest request, MavenExecutionResponse response )
throws Exception
{
Date start = null;
Date finish = null;
try
{
MavenProject project = getProject( ( (MavenProjectExecutionRequest) request ).getPom(), request.getLocalRepository() );
start = new Date();
response.setStart( new Date() );
response = lifecycleManager.execute( createSession( request, project ) );
response.setFinish( new Date() );
}
catch ( Exception e )
{
finish = new Date();
response.setFinish( new Date() );
response.setException( e );
response.setStart( start );
response.setFinish( finish );
logError( response );
return;
}
finish = new Date();
response.setStart( start );
response.setFinish( finish );
if ( response.isExecutionFailure() )
{
logFailure( response );