Class ValidationMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="validate",
          defaultPhase=PROCESS_RESOURCES)
    public class ValidationMojo
    extends org.apache.maven.plugin.AbstractMojo
    Validate all JSON files of a project. It only ensures they are well-formed but not that they are valid against a certain schema.
    • Constructor Detail

      • ValidationMojo

        public ValidationMojo()
    • Method Detail

      • 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
        See Also:
        Mojo.execute()