Package com.isomorphic.maven.mojo.reify
Class ValidateMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.isomorphic.maven.mojo.AbstractBaseMojo
com.isomorphic.maven.mojo.reify.ImportMojo
com.isomorphic.maven.mojo.reify.ValidateMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="reify-validate",
requiresProject=false)
public class ValidateMojo
extends ImportMojo
A utility class to run the
ImportMojo's
validation step
independently of the import process.
Invocation will require values for smartclientRuntimeDir, dataSourcesDir, and optionally mockDataSourcesDir parameters.
- See Also:
ImportMojo
-
Field Summary
Fields inherited from class com.isomorphic.maven.mojo.reify.ImportMojo
dataSourcesDir, drawOnWelcomeFiles, includeJs, includeTestHtml, includeTestJsp, mockDataSourcesDir, modifyWelcomeFiles, projectFileDir, projectName, serverId, serverUrl, skipValidationOnImport, smartclientRuntimeDir, testHtmlPathname, testJspPathname, uiDir, validationFailureThreshold, webappDir, workdirFields inherited from class com.isomorphic.maven.mojo.AbstractBaseMojo
artifactResolver, modelBuilder, project, remoteRepositoryManager, repositorySystem, repositorySystemSession, settings -
Constructor Summary
Constructors Constructor Description ValidateMojo() -
Method Summary
Modifier and Type Method Description voidexecute()After ensuring there are no local modifications (unless otherwise configured), downloads and installs Reify project contents to the local project environment.Methods inherited from class com.isomorphic.maven.mojo.reify.ImportMojo
setCredentials, setDataSourcesDir, setDrawOnWelcomeFiles, setHost, setIncludeJs, setIncludeTestHtml, setIncludeTestJsp, setMockDataSourcesDir, setModifyWelcomeFiles, setProjectFileDir, setProjectFileName, setProjectName, setProxy, setSkipOverwriteProtection, setSkipValidationOnImport, setSmartclientRuntimeDir, setTestHtmlPathname, setTestJspPathname, setUiDir, setValidationFailureThreshold, setWebappDir, setWorkdir, setZipFileName, validateMethods inherited from class com.isomorphic.maven.mojo.AbstractBaseMojo
getAuthentication, getCredentials
-
Constructor Details
-
ValidateMojo
public ValidateMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionDescription copied from class:ImportMojoAfter ensuring there are no local modifications (unless otherwise configured), downloads and installs Reify project contents to the local project environment.- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Overrides:
executein classImportMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-