Package org.exoplatform.crowdin.mojo
Class DownloadTranslationsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
org.exoplatform.crowdin.mojo.DownloadTranslationsMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="download-translations")
public class DownloadTranslationsMojo
extends AbstractCrowdinMojo
Downloads all translations from CrowdIn
-
Field Summary
Fields inherited from class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
crowdInArchive, DEFAULT_TRANSLATIONS_REGISTRY_FILE_PATHFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.exoplatform.crowdin.mojo.AbstractCrowdinMojo
execGit, execGit, execute, getApplyApprovedOnlyOption, getFactory, getHelper, getLanguages, getMavenSession, getPluginManager, getProject, getProjectId, getProjectKey, getProperties, getTranslationsArchivePath, getTranslationsRegistryFilePath, getWorkingDir, initDir, initTranslations, isAllPropertyFilesExisted, isDryRun, isForce, loadProperties, prepareAndUploadTranslation, printFileContent, setTranslationsArchivePath, setTranslationsRegistryFilePathMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
DownloadTranslationsMojo
public DownloadTranslationsMojo()
-
-
Method Details
-
crowdInMojoExecute
public void crowdInMojoExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionDescription copied from class:AbstractCrowdinMojoThe core method of the Mojo. Has to be overriden in each concrete Mojo.- Specified by:
crowdInMojoExecutein classAbstractCrowdinMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-