Package ch.qos.cal10n.plugins
Class VerifyMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ch.qos.cal10n.plugins.VerifyMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
public class VerifyMojo
extends org.apache.maven.plugin.AbstractMojo
Verifies resources bundles in various locales against an enumType
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String[]private org.apache.maven.artifact.repository.ArtifactRepositoryprivate FileThe directory for compiled classes.private Set<org.apache.maven.artifact.Artifact> Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) ClassLoadervoidcheckAllLocales(ch.qos.cal10n.verifier.IMessageKeyVerifier mcv) voidexecute()(package private) ch.qos.cal10n.verifier.IMessageKeyVerifiergetMessageKeyVerifierInstance(String enumClassAsStr) (package private) URLMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
enumTypes
-
outputDirectory
The directory for compiled classes. -
projectArtifacts
-
localRepository
private org.apache.maven.artifact.repository.ArtifactRepository localRepository- Since:
- 1.0
-
-
Constructor Details
-
VerifyMojo
public VerifyMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
checkAllLocales
public void checkAllLocales(ch.qos.cal10n.verifier.IMessageKeyVerifier mcv) throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionException
-
getMessageKeyVerifierInstance
ch.qos.cal10n.verifier.IMessageKeyVerifier getMessageKeyVerifierInstance(String enumClassAsStr) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
buildClassLoader
ClassLoader buildClassLoader() -
getDirectDependencies
-
toURL
-