|
|||||||||
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(java.io.File localRepositoryDirectory)
Construct an ArtifactRepository instance that refers to the test-time Maven local repository. |
void |
RepositoryTool.createLocalRepositoryFromComponentProject(org.apache.maven.project.MavenProject project,
java.io.File realPomFile,
java.io.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. |
InvocationResult |
BuildTool.executeMaven(java.io.File pom,
java.util.Properties properties,
java.util.List goals,
java.io.File buildLogFile)
Build a standard InvocationRequest using the specified test-build POM, command-line properties, goals, and output logfile. |
InvocationResult |
BuildTool.executeMaven(InvocationRequest request)
Execute a test build using a customized InvocationRequest. |
java.io.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(java.io.File pomFile,
java.lang.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(java.io.File pomFile,
java.lang.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(java.io.File pomFile,
java.lang.String testVersion,
boolean skipUnitTests,
java.io.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. |
java.io.File |
ComponentTestTool.prepareComponentForIntegrationTesting(java.io.File pomFile,
java.lang.String testVersion)
Stage the component, using a stable version, into a temporary local-repository directory that is generated by this method. |
java.io.File |
ComponentTestTool.prepareComponentForIntegrationTesting(java.io.File pomFile,
java.lang.String testVersion,
java.io.File localRepositoryDir)
Stage the component, using a stable version, into the specified local-repository directory. |
java.io.File |
ComponentTestTool.prepareComponentForUnitTestingWithMavenBuilds(java.io.File pomFile,
java.lang.String testVersion)
Stage the component, using a stable version, into a temporary local-repository directory that is generated by this method. |
java.io.File |
ComponentTestTool.prepareComponentForUnitTestingWithMavenBuilds(java.io.File pomFile,
java.lang.String testVersion,
java.io.File localRepositoryDir)
Stage the component, using a stable version, into the specified local-repository directory. |
java.io.File |
PluginTestTool.preparePluginForIntegrationTesting(java.io.File pomFile,
java.lang.String testVersion)
Stage the plugin, using a stable version, into a temporary local-repository directory that is generated by this method. |
java.io.File |
PluginTestTool.preparePluginForIntegrationTesting(java.io.File pomFile,
java.lang.String testVersion,
java.io.File localRepositoryDir)
Stage the plugin, using a stable version, into the specified local-repository directory. |
java.io.File |
PluginTestTool.preparePluginForUnitTestingWithMavenBuilds(java.io.File pomFile,
java.lang.String testVersion)
Stage the plugin, using a stable version, into a temporary local-repository directory that is generated by this method. |
java.io.File |
PluginTestTool.preparePluginForUnitTestingWithMavenBuilds(java.io.File pomFile,
java.lang.String testVersion,
java.io.File localRepositoryDir)
Stage the plugin, using a stable version, into the specified local-repository directory. |
org.apache.maven.project.MavenProject |
ProjectTool.readProject(java.io.File pomFile)
Construct a MavenProject instance from the specified POM file. |
org.apache.maven.project.MavenProject |
ProjectTool.readProject(java.io.File pomFile,
java.io.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(java.io.File pomFile)
Construct a MavenProject instance from the specified POM file with dependencies. |
org.apache.maven.project.MavenProject |
ProjectTool.readProjectWithDependencies(java.io.File pomFile,
java.io.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 |