@Deprecated @Component(role=PluginTestTool.class) public class PluginTestTool extends java.lang.Object
WARNING: Currently, the RepositoryTool
will not
resolve parent POMs that exist only in your normal local repository, and are not reachable
using the relativePath element. This may result in failed test builds, as one or more of the
plugin's ancestor POMs cannot be resolved.
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ROLE |
Deprecated.
Plexus role
|
Constructor | Description |
---|---|
PluginTestTool() |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
java.io.File |
preparePluginForIntegrationTesting(java.io.File pomFile,
java.lang.String testVersion) |
Deprecated.
Stage the plugin, using a stable version, into a temporary local-repository directory that is
generated by this method.
|
java.io.File |
preparePluginForIntegrationTesting(java.io.File pomFile,
java.lang.String testVersion,
java.io.File localRepositoryDir) |
Deprecated.
Stage the plugin, using a stable version, into the specified local-repository directory.
|
java.io.File |
preparePluginForUnitTestingWithMavenBuilds(java.io.File pomFile,
java.lang.String testVersion) |
Deprecated.
Stage the plugin, using a stable version, into a temporary local-repository directory that is
generated by this method.
|
java.io.File |
preparePluginForUnitTestingWithMavenBuilds(java.io.File pomFile,
java.lang.String testVersion,
java.io.File localRepositoryDir) |
Deprecated.
Stage the plugin, using a stable version, into the specified local-repository directory.
|
public java.io.File preparePluginForIntegrationTesting(java.io.File pomFile, java.lang.String testVersion) throws TestToolsException
pomFile
- current POM filetestVersion
- The test version for the plugin, used for reference in test-build POMs and
fully-qualified goalsTestToolsException
- if anypublic java.io.File preparePluginForUnitTestingWithMavenBuilds(java.io.File pomFile, java.lang.String testVersion) throws TestToolsException
pomFile
- current POM filetestVersion
- The test version for the plugin, used for reference in test-build POMs and
fully-qualified goalsTestToolsException
- if anypublic java.io.File preparePluginForIntegrationTesting(java.io.File pomFile, java.lang.String testVersion, java.io.File localRepositoryDir) throws TestToolsException
pomFile
- current POM filetestVersion
- The test version for the plugin, used for reference in test-build POMs and
fully-qualified goalslocalRepositoryDir
- The base-directory location of the test local repository, into which
the plugin's test version should be staged.TestToolsException
- if anypublic java.io.File preparePluginForUnitTestingWithMavenBuilds(java.io.File pomFile, java.lang.String testVersion, java.io.File localRepositoryDir) throws TestToolsException
pomFile
- current POM filetestVersion
- The test version for the plugin, used for reference in test-build POMs and
fully-qualified goalslocalRepositoryDir
- The base-directory location of the test local repository, into which
the plugin's test version should be staged.TestToolsException
- if any