Class CheckMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.qulice.maven.AbstractQuliceMojo
com.qulice.maven.CheckMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

@Mojo(name="check", defaultPhase=VERIFY, requiresDependencyResolution=TEST, threadSafe=true) public final class CheckMojo extends AbstractQuliceMojo
Check the project and find all possible violations.
Since:
0.3
  • Constructor Details

    • CheckMojo

      public CheckMojo()
      Default constructor.
  • Method Details

    • doExecute

      public String doExecute() throws org.apache.maven.plugin.MojoFailureException
      Description copied from class: AbstractQuliceMojo
      Do the real execution.
      Specified by:
      doExecute in class AbstractQuliceMojo
      Returns:
      What was done, as the middle of the final log line, e.g. "checked 42 .java files against 385 rules"
      Throws:
      org.apache.maven.plugin.MojoFailureException - If some failure inside
    • setValidatorsProvider

      public void setValidatorsProvider(com.qulice.maven.ValidatorsProvider prov)
      Set provider of validators.
      Parameters:
      prov - The provider
    • setTimeout

      public void setTimeout(String time)
      Set timeout for checks.
      Parameters:
      time - Timeout value