|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of TestToolsException in org.apache.maven.shared.test.plugin |
|---|
| Methods in org.apache.maven.shared.test.plugin that throw TestToolsException | |
|---|---|
org.apache.maven.artifact.repository.ArtifactRepository |
RepositoryTool.createLocalArtifactRepositoryInstance()
Construct an ArtifactRepository instance that refers to the normal Maven local repository. |
org.apache.maven.artifact.repository.ArtifactRepository |
RepositoryTool.createLocalArtifactRepositoryInstance(File localRepositoryDirectory)
Construct an ArtifactRepository instance that refers to the test-time Maven local repository. |
void |
RepositoryTool.createLocalRepositoryFromComponentProject(org.apache.maven.project.MavenProject project,
File realPomFile,
File targetLocalRepoBasedir)
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. |
org.apache.maven.shared.invoker.InvocationResult |
BuildTool.executeMaven(File pom,
Properties properties,
List goals,
File buildLogFile)
Build a standard InvocationRequest using the specified test-build POM, command-line properties, goals, and output logfile. |
org.apache.maven.shared.invoker.InvocationResult |
BuildTool.executeMaven(org.apache.maven.shared.invoker.InvocationRequest request)
Execute a test build using a customized InvocationRequest. |
File |
RepositoryTool.findLocalRepositoryDirectory()
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)
Inject a special version for testing, to allow tests to unambiguously reference the plugin currently under test. |
org.apache.maven.project.MavenProject |
ProjectTool.packageProjectArtifact(File pomFile,
String testVersion,
boolean skipUnitTests)
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. |
org.apache.maven.project.MavenProject |
ProjectTool.packageProjectArtifact(File pomFile,
String testVersion,
boolean skipUnitTests,
File logFile)
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)
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)
Stage the component, using a stable version, into the specified local-repository directory. |
File |
ComponentTestTool.prepareComponentForUnitTestingWithMavenBuilds(File pomFile,
String testVersion)
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)
Stage the component, using a stable version, into the specified local-repository directory. |
File |
PluginTestTool.preparePluginForIntegrationTesting(File pomFile,
String testVersion)
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)
Stage the plugin, using a stable version, into the specified local-repository directory. |
File |
PluginTestTool.preparePluginForUnitTestingWithMavenBuilds(File pomFile,
String testVersion)
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)
Stage the plugin, using a stable version, into the specified local-repository directory. |
org.apache.maven.project.MavenProject |
ProjectTool.readProject(File pomFile)
Construct a MavenProject instance from the specified POM file. |
org.apache.maven.project.MavenProject |
ProjectTool.readProject(File pomFile,
File localRepositoryBasedir)
Construct a MavenProject instance from the specified POM file, using the specified local repository directory to resolve ancestor POMs as needed. |
org.apache.maven.project.MavenProject |
ProjectTool.readProjectWithDependencies(File pomFile)
Construct a MavenProject instance from the specified POM file with dependencies. |
org.apache.maven.project.MavenProject |
ProjectTool.readProjectWithDependencies(File pomFile,
File localRepositoryBasedir)
Construct a MavenProject instance from the specified POM file with dependencies, using the specified local repository directory to resolve ancestor POMs as needed. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||