return REQUIRES_AUTHORIZATION;
}
listener = new DefaultReleaseManagerListener();
ContinuumReleaseManager releaseManager = getContinuum().getReleaseManager();
Project project = getContinuum().getProject( projectId );
//todo should be configurable
File performDirectory = new File( getContinuum().getConfiguration().getWorkingDirectory(),
"releases-" + System.currentTimeMillis() );
performDirectory.mkdirs();
LocalRepository repository = project.getProjectGroup().getLocalRepository();
releaseManager.perform( releaseId, performDirectory, goals, useReleaseProfile, listener, repository );
return SUCCESS;
}