@Mojo(name="check-bundles-integrity",
defaultPhase=PREPARE_PACKAGE)
public class CheckBundlesIntegrityMojo
extends AbstractI18nGenerateMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
failsIfWarning
A flag to make the build fails if there is some warnings while generating
bundle, says when it misses some translations.
|
protected boolean |
showEmpty
A flag to show empty i18n translation.
|
protected boolean |
showMissing
A flag to show missing i18n translation.
|
protected File |
src
Directory where to find project i18n files.
|
artifactId, outbundles, encoding, locales, mavenSession, project, silent, verbose| Constructor and Description |
|---|
CheckBundlesIntegrityMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAction() |
addGetter, getGetterFile, needGenerationbackupFile, checkBundle, checkPackaging, failsIfAnyKeyMissingInBundle, failsIfAnyKeyMissingValue, getBackupFile, getEncoding, getProject, init, isSilent, isVerbose, setEncoding, setProject, setVerboseacceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, afterExecute, checkEncoding, checkResource, checkRunOnceDone, checkSkip, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getRootProject, getTemplate, hasClassPath, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, needInvoke, needInvoke, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFilegetLog, getPluginContext, setLog, setPluginContext@Parameter(property="i18n.src",
defaultValue="${basedir}/src/main/resources/i18n",
required=true)
protected File src
@Parameter(property="i18n.showEmpty",
defaultValue="false",
required=true)
protected boolean showEmpty
AbstractI18nMojo.checkBundle(java.util.Locale, java.util.Properties, boolean, org.nuiton.i18n.plugin.bundle.BundleValidation) to be activated).@Parameter(property="i18n.showMissing",
defaultValue="false",
required=true)
protected boolean showMissing
@Parameter(property="i18n.failsIfWarning",
defaultValue="false")
protected boolean failsIfWarning
Copyright © 2007–2017 CodeLutin. All rights reserved.