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 AbstractRunMojoAlfresco 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, useCustomShareLog4jConfig
-
-
Constructor Summary
Constructors Constructor Description IntegrationTestMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()-
Methods inherited from class org.alfresco.maven.plugin.AbstractRunMojo
buildCustomWarInDir, buildPlatformWar, buildShareWar, copyAlfrescoGlobalProperties, copyAlfrescoLicense, copyHotswapAgentProperties, copyShareConfigCustom, copyShareLog4jConfig, getPort, packageAndInstallCustomWar, startTomcat, tomcatIsRunning
-
-