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 Details

    • enumTypes

      private String[] enumTypes
    • outputDirectory

      private File outputDirectory
      The directory for compiled classes.
    • projectArtifacts

      private Set<org.apache.maven.artifact.Artifact> 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.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

      List<URL> getDirectDependencies()
    • toURL

      URL toURL(File file)