Class ValidateMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    ValidateRecursively

    @Mojo(name="validate",
          requiresProject=false)
    @Execute(phase=VALIDATE)
    public class ValidateMojo
    extends AbstractScmMojo
    Validate scm connection string.
    Author:
    Emmanuel Venisse, Olivier Lamy
    • Constructor Detail

      • ValidateMojo

        @Inject
        public ValidateMojo​(ScmManager manager,
                            org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter)
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Overrides:
        execute in class AbstractScmMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException