@Deprecated @Component(role=PluginTestTool.class) public class PluginTestTool extends 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 and Description |
---|---|
static String |
ROLE
Deprecated.
Plexus role
|
Constructor and Description |
---|
PluginTestTool()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
File |
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 |
preparePluginForIntegrationTesting(File pomFile,
String testVersion,
File localRepositoryDir)
Deprecated.
Stage the plugin, using a stable version, into the specified local-repository directory.
|
File |
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 |
preparePluginForUnitTestingWithMavenBuilds(File pomFile,
String testVersion,
File localRepositoryDir)
Deprecated.
Stage the plugin, using a stable version, into the specified local-repository directory.
|
public static final String ROLE
public File preparePluginForIntegrationTesting(File pomFile, 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 File preparePluginForUnitTestingWithMavenBuilds(File pomFile, 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 File preparePluginForIntegrationTesting(File pomFile, String testVersion, 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 File preparePluginForUnitTestingWithMavenBuilds(File pomFile, String testVersion, 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 anyCopyright © 2008–2014 The Apache Software Foundation. All rights reserved.