ioService.move( projectDirectory, newProjectPath, makeCommentedOption( comment ) );
pomService.save( newPathToPomXML, content, null, comment );
ioService.endBatch();
final Project newProject = resolveProject( Paths.convert( newProjectPath ) );
invalidateDMOCache.fire( new InvalidateDMOProjectCacheEvent( sessionInfo, oldProject, oldProjectDir ) );
renameProjectEvent.fire( new RenameProjectEvent( oldProject, newProject ) );
return newPathToPomXML;
} catch ( final Exception e ) {
throw ExceptionUtilities.handleException( e );
}