B C D E F I M O P R T

B

BuildTool - Class in org.apache.maven.shared.test.plugin
Test-tool used to execute Maven builds in order to test plugin functionality.
BuildTool() - Constructor for class org.apache.maven.shared.test.plugin.BuildTool
 

C

ComponentTestTool - Class in org.apache.maven.shared.test.plugin
Test tool that provides a single point of access for staging a maven component artifact - along with its POM lineage - into a clean test-time local repository.
ComponentTestTool() - Constructor for class org.apache.maven.shared.test.plugin.ComponentTestTool
 
contextualize(Context) - Method in class org.apache.maven.shared.test.plugin.RepositoryTool
Retrieve the PlexusContainer instance used to instantiate this component.
createBasicInvocationRequest(File, Properties, List, File) - Method in class org.apache.maven.shared.test.plugin.BuildTool
Construct a standardized InvocationRequest given the test-build POM, a set of CLI properties, a list of goals to execute, and the location of a log file to which build output should be directed.
createLocalArtifactRepositoryInstance() - Method in class org.apache.maven.shared.test.plugin.RepositoryTool
Construct an ArtifactRepository instance that refers to the normal Maven local repository.
createLocalArtifactRepositoryInstance(File) - Method in class org.apache.maven.shared.test.plugin.RepositoryTool
Construct an ArtifactRepository instance that refers to the test-time Maven local repository.
createLocalRepositoryFromComponentProject(MavenProject, File, File) - Method in class org.apache.maven.shared.test.plugin.RepositoryTool
Install a test version of a plugin - along with its POM, and as many ancestor POMs as can be reached using the <relativePath/> element - to a clean local repository directory for use in test builds.

D

dispose() - Method in class org.apache.maven.shared.test.plugin.BuildTool
Not currently used; when this API switches to use the Maven Embedder, it will be used to shutdown the embedder and its associated container, to free up JVM memory.

E

executeMaven(File, Properties, List, File) - Method in class org.apache.maven.shared.test.plugin.BuildTool
Build a standard InvocationRequest using the specified test-build POM, command-line properties, goals, and output logfile.
executeMaven(InvocationRequest) - Method in class org.apache.maven.shared.test.plugin.BuildTool
Execute a test build using a customized InvocationRequest.

F

findLocalRepositoryDirectory() - Method in class org.apache.maven.shared.test.plugin.RepositoryTool
Lookup and return the location of the normal Maven local repository.

I

initialize() - Method in class org.apache.maven.shared.test.plugin.BuildTool
Initialize this tool once it's been instantiated and composed, in order to start up the MavenInvoker instance.
INTEGRATION_TEST_DEPLOYMENT_REPO_URL - Static variable in class org.apache.maven.shared.test.plugin.ProjectTool
 

M

manglePomForTesting(File, String, boolean) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Inject a special version for testing, to allow tests to unambiguously reference the plugin currently under test.

O

org.apache.maven.shared.test.plugin - package org.apache.maven.shared.test.plugin
 

P

packageProjectArtifact(File, String, boolean) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Run the plugin's Maven build up to the package phase, in order to produce a jar file for distribution to a test-time local repository.
packageProjectArtifact(File, String, boolean, File) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Run the plugin's Maven build up to the package phase, in order to produce a jar file for distribution to a test-time local repository.
PluginTestTool - Class in org.apache.maven.shared.test.plugin
Test tool that provides a single point of access for staging a plugin artifact - along with its POM lineage - into a clean test-time local repository.
PluginTestTool() - Constructor for class org.apache.maven.shared.test.plugin.PluginTestTool
 
prepareComponentForIntegrationTesting(File, String) - Method in class org.apache.maven.shared.test.plugin.ComponentTestTool
Stage the component, using a stable version, into a temporary local-repository directory that is generated by this method.
prepareComponentForIntegrationTesting(File, String, File) - Method in class org.apache.maven.shared.test.plugin.ComponentTestTool
Stage the component, using a stable version, into the specified local-repository directory.
prepareComponentForUnitTestingWithMavenBuilds(File, String) - Method in class org.apache.maven.shared.test.plugin.ComponentTestTool
Stage the component, using a stable version, into a temporary local-repository directory that is generated by this method.
prepareComponentForUnitTestingWithMavenBuilds(File, String, File) - Method in class org.apache.maven.shared.test.plugin.ComponentTestTool
Stage the component, using a stable version, into the specified local-repository directory.
preparePluginForIntegrationTesting(File, String) - Method in class org.apache.maven.shared.test.plugin.PluginTestTool
Stage the plugin, using a stable version, into a temporary local-repository directory that is generated by this method.
preparePluginForIntegrationTesting(File, String, File) - Method in class org.apache.maven.shared.test.plugin.PluginTestTool
Stage the plugin, using a stable version, into the specified local-repository directory.
preparePluginForUnitTestingWithMavenBuilds(File, String) - Method in class org.apache.maven.shared.test.plugin.PluginTestTool
Stage the plugin, using a stable version, into a temporary local-repository directory that is generated by this method.
preparePluginForUnitTestingWithMavenBuilds(File, String, File) - Method in class org.apache.maven.shared.test.plugin.PluginTestTool
Stage the plugin, using a stable version, into the specified local-repository directory.
ProjectTool - Class in org.apache.maven.shared.test.plugin
Testing tool used to read MavenProject instances from pom.xml files, and to create plugin jar files (package phase of the normal build process) for distribution to a test local repository directory.
ProjectTool() - Constructor for class org.apache.maven.shared.test.plugin.ProjectTool
 

R

readProject(File) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Construct a MavenProject instance from the specified POM file.
readProject(File, File) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Construct a MavenProject instance from the specified POM file, using the specified local repository directory to resolve ancestor POMs as needed.
readProjectWithDependencies(File) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Construct a MavenProject instance from the specified POM file with dependencies.
readProjectWithDependencies(File, File) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Construct a MavenProject instance from the specified POM file with dependencies, using the specified local repository directory to resolve ancestor POMs as needed.
RepositoryTool - Class in org.apache.maven.shared.test.plugin
Tools to access and manage Maven repositories for test builds, including construction of a local repository directory structure.
RepositoryTool() - Constructor for class org.apache.maven.shared.test.plugin.RepositoryTool
 
ROLE - Static variable in class org.apache.maven.shared.test.plugin.BuildTool
Plexus role
ROLE - Static variable in class org.apache.maven.shared.test.plugin.ComponentTestTool
Plexus role
ROLE - Static variable in class org.apache.maven.shared.test.plugin.PluginTestTool
Plexus role
ROLE - Static variable in class org.apache.maven.shared.test.plugin.ProjectTool
Plexus role
ROLE - Static variable in class org.apache.maven.shared.test.plugin.RepositoryTool
Plexus role

T

TestToolsException - Exception in org.apache.maven.shared.test.plugin
Wrap errors when Test Tools exception occurred.
TestToolsException(String, Throwable) - Constructor for exception org.apache.maven.shared.test.plugin.TestToolsException
 
TestToolsException(String) - Constructor for exception org.apache.maven.shared.test.plugin.TestToolsException
 

B C D E F I M O P R T

Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.