Modifier and Type | Method and Description |
---|---|
ArtifactRepository |
RepositoryTool.createLocalArtifactRepositoryInstance()
Deprecated.
Construct an ArtifactRepository instance that refers to the normal Maven local repository.
|
ArtifactRepository |
RepositoryTool.createLocalArtifactRepositoryInstance(File localRepositoryDirectory)
Deprecated.
Construct an ArtifactRepository instance that refers to the test-time Maven local repository.
|
void |
RepositoryTool.createLocalRepositoryFromComponentProject(MavenProject project,
File realPomFile,
File targetLocalRepoBasedir)
Deprecated.
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.
|
InvocationResult |
BuildTool.executeMaven(File pom,
Properties properties,
List<String> goals,
File buildLogFile)
Deprecated.
Build a standard InvocationRequest using the specified test-build POM, command-line properties,
goals, and output logfile.
|
InvocationResult |
BuildTool.executeMaven(InvocationRequest request)
Deprecated.
Execute a test build using a customized InvocationRequest.
|
File |
RepositoryTool.findLocalRepositoryDirectory()
Deprecated.
Lookup and return the location of the normal Maven local repository.
|
protected org.apache.maven.shared.test.plugin.ProjectTool.PomInfo |
ProjectTool.manglePomForTesting(File pomFile,
String testVersion,
boolean skipUnitTests)
Deprecated.
Inject a special version for testing, to allow tests to unambiguously reference the plugin
currently under test.
|
MavenProject |
ProjectTool.packageProjectArtifact(File pomFile,
String testVersion,
boolean skipUnitTests)
Deprecated.
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.
|
MavenProject |
ProjectTool.packageProjectArtifact(File pomFile,
String testVersion,
boolean skipUnitTests,
File logFile)
Deprecated.
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.
|
File |
ComponentTestTool.prepareComponentForIntegrationTesting(File pomFile,
String testVersion)
Deprecated.
Stage the component, using a stable version, into a temporary local-repository directory that is
generated by this method.
|
File |
ComponentTestTool.prepareComponentForIntegrationTesting(File pomFile,
String testVersion,
File localRepositoryDir)
Deprecated.
Stage the component, using a stable version, into the specified local-repository directory.
|
File |
ComponentTestTool.prepareComponentForUnitTestingWithMavenBuilds(File pomFile,
String testVersion)
Deprecated.
Stage the component, using a stable version, into a temporary local-repository directory that is
generated by this method.
|
File |
ComponentTestTool.prepareComponentForUnitTestingWithMavenBuilds(File pomFile,
String testVersion,
File localRepositoryDir)
Deprecated.
Stage the component, using a stable version, into the specified local-repository directory.
|
File |
PluginTestTool.preparePluginForIntegrationTesting(File pomFile,
String testVersion)
Deprecated.
Stage the plugin, using a stable version, into a temporary local-repository directory that is
generated by this method.
|
File |
PluginTestTool.preparePluginForIntegrationTesting(File pomFile,
String testVersion,
File localRepositoryDir)
Deprecated.
Stage the plugin, using a stable version, into the specified local-repository directory.
|
File |
PluginTestTool.preparePluginForUnitTestingWithMavenBuilds(File pomFile,
String testVersion)
Deprecated.
Stage the plugin, using a stable version, into a temporary local-repository directory that is
generated by this method.
|
File |
PluginTestTool.preparePluginForUnitTestingWithMavenBuilds(File pomFile,
String testVersion,
File localRepositoryDir)
Deprecated.
Stage the plugin, using a stable version, into the specified local-repository directory.
|
MavenProject |
ProjectTool.readProject(File pomFile)
Deprecated.
Construct a MavenProject instance from the specified POM file.
|
MavenProject |
ProjectTool.readProject(File pomFile,
File localRepositoryBasedir)
Deprecated.
Construct a MavenProject instance from the specified POM file, using the specified local
repository directory to resolve ancestor POMs as needed.
|
MavenProject |
ProjectTool.readProjectWithDependencies(File pomFile)
Deprecated.
Construct a MavenProject instance from the specified POM file with dependencies.
|
MavenProject |
ProjectTool.readProjectWithDependencies(File pomFile,
File localRepositoryBasedir)
Deprecated.
Construct a MavenProject instance from the specified POM file with dependencies, using the specified local
repository directory to resolve ancestor POMs as needed.
|
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.