in src/main/java/org/apache/maven/plugins/site/deploy/SiteStageDeployMojo.java [202:214]
private String determineStageDeploySiteURL() throws MojoExecutionException {
if (stagingSiteURL != null) {
// the user has specified a stagingSiteURL - use it
getLog().debug("stagingSiteURL specified by the user: " + stagingSiteURL);
return stagingSiteURL;
}
// The user didn't specify a URL, use the top level site distribution URL and add "[/]staging/" to it
String defaultStagingSiteURL = appendSlash(getTopDistributionManagementSiteUrl()) + DEFAULT_STAGING_DIRECTORY;
getLog().debug("stagingSiteURL NOT specified, using the top level project: " + defaultStagingSiteURL);
return defaultStagingSiteURL;
}