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

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.
createLocalRepositoryFromPlugin(MavenProject, 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.

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
 
preparePluginForIntegrationTesting(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(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(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(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.
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
 
ROLE - Static variable in class org.apache.maven.shared.test.plugin.PluginTestTool
 
ROLE - Static variable in class org.apache.maven.shared.test.plugin.ProjectTool
 
ROLE - Static variable in class org.apache.maven.shared.test.plugin.RepositoryTool
 

T

TestToolsException - Exception in org.apache.maven.shared.test.plugin
 
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 © 2002-2006 Apache Software Foundation. All Rights Reserved.