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
@Mojo(name="verify",
defaultPhase=VERIFY,
requiresProject=true,
requiresDependencyResolution=RUNTIME)
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.ArtifactRepository
private File
The 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) ClassLoader
void
checkAllLocales
(ch.qos.cal10n.verifier.IMessageKeyVerifier mcv) void
execute()
(package private) ch.qos.cal10n.verifier.IMessageKeyVerifier
getMessageKeyVerifierInstance
(String enumClassAsStr) (package private) URL
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
enumTypes
-
outputDirectory
@Parameter(property="project.build.outputDirectory", required=true, readonly=true) private File outputDirectoryThe directory for compiled classes. -
projectArtifacts
@Parameter(property="project.artifacts", required=true, readonly=true) private Set<org.apache.maven.artifact.Artifact> projectArtifacts -
localRepository
@Parameter(property="localRepository", required=true, readonly=true) 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.MojoExecutionException
org.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.MojoFailureException
org.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
-