* @throws MojoExecutionException if any of the site info is missing.
*/
protected static Site getSite( final MavenProject project )
throws MojoExecutionException
{
final DistributionManagement distributionManagement = project.getDistributionManagement();
if ( distributionManagement == null )
{
throw new MojoExecutionException( "Missing distribution management in project " + getFullName( project ) );
}
final Site site = distributionManagement.getSite();
if ( site == null )
{
throw new MojoExecutionException( "Missing site information in the distribution management of the project "
+ getFullName( project ) );