org.apache.maven.plugins.site

Class AbstractSiteMojo

public abstract class AbstractSiteMojo extends AbstractMojo

Base class for site mojos.

Version: $Id: AbstractSiteMojo.java 358700 2005-12-23 04:40:48Z brett $

Author: Brett Porter

Field Summary
protected I18Ni18n
Internationalization.
protected FilesiteDirectory
Directory containing source for apt, fml and xdoc docs.
Method Summary
protected FilegetSiteDescriptorFile(File basedir, Locale locale)
Get the path of the site descriptor for a given locale.
protected ListinitLocalesList()
Init the localesList variable.

Field Detail

i18n

protected I18N i18n
Internationalization.

UNKNOWN:

siteDirectory

protected File siteDirectory
Directory containing source for apt, fml and xdoc docs.

UNKNOWN: expression="${basedir}/src/site"

Method Detail

getSiteDescriptorFile

protected File getSiteDescriptorFile(File basedir, Locale locale)
Get the path of the site descriptor for a given locale.

Parameters: locale the locale

Returns: the site descriptor path

initLocalesList

protected List initLocalesList()
Init the localesList variable.

If locales variable is available, the first valid token will be the defaultLocale for this instance of the Java Virtual Machine.

Returns: a list of Locale

Copyright © {inceptionYear}-2009 Apache Software Foundation. All Rights Reserved.