in src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java [241:252]
private void deployTo(final Repository repository) throws MojoExecutionException {
if (!inputDirectory.exists()) {
throw new MojoExecutionException("The site does not exist, please run site:site first");
}
if (getLog().isDebugEnabled()) {
getLog().debug("Deploying to '" + repository.getUrl() + "',\n Using credentials from server id '"
+ repository.getId() + "'");
}
deploy(inputDirectory, repository);
}