Package org.alfresco.maven.plugin
Class IntegrationTestMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.alfresco.maven.plugin.AbstractRunMojo
org.alfresco.maven.plugin.IntegrationTestMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="it",
defaultPhase=PRE_INTEGRATION_TEST,
aggregator=true,
requiresDependencyResolution=TEST)
public class IntegrationTestMojo
extends AbstractRunMojo
Alfresco Plugin mojo that are used when you want to run Integration Tests. It will package up all the Integration Test classes and execute contained tests with the Maven Failsafe plugin. The test classes will be added to the platform war so they can be executed remotely via the AlfrescoTestRunner.
The Alfresco RAD module is also added to the Platform WAR so the Alfresco Test runner classes are available.- Since:
- 3.0
- Author:
- martin.bergljung@alfresco.com
-
Field Summary
Fields inherited from class org.alfresco.maven.plugin.AbstractRunMojo
alfrescoApiExplorerArtifactId, alfrescoApiExplorerVersion, alfrescoGroupId, alfrescoPlatformVersion, alfrescoPlatformWarArtifactId, alfrescoShareVersion, alfrescoShareWarArtifactId, copyHotswapAgentConfig, enableApiExplorer, enablePlatform, enableShare, enableTestProperties, execEnv, MAVEN_DEPENDENCY_PLUGIN_VERSION, MAVEN_INSTALL_PLUGIN_VERSION, MAVEN_REPLACER_PLUGIN_VERSION, MAVEN_RESOURCE_PLUGIN_VERSION, MAVEN_TOMCAT7_PLUGIN_VERSION, mavenTomcatPort, PLATFORM_WAR_PREFIX_NAME, platformModules, pluginManager, project, session, SHARE_WAR_PREFIX_NAME, shareContextPath, shareModules, startTomcat, testFolder, testInclude, tomcatCustomWebapps, tomcatDependencies, tomcatPort, tomcatSystemProperties, useCustomShareLog4jConfigFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.alfresco.maven.plugin.AbstractRunMojo
buildCustomWarInDir, buildPlatformWar, buildShareWar, copyAlfrescoGlobalProperties, copyAlfrescoLicense, copyHotswapAgentProperties, copyShareConfigCustom, copyShareLog4jConfig, getPort, packageAndInstallCustomWar, startTomcat, tomcatIsRunningMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
IntegrationTestMojo
public IntegrationTestMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-