@Deprecated @Component(role=ComponentTestTool.class) public class ComponentTestTool 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
component's ancestor POMs cannot be resolved.
Modifier and Type | Field and Description |
---|---|
static String |
ROLE
Deprecated.
Plexus role
|
Constructor and Description |
---|
ComponentTestTool()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
File |
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 |
prepareComponentForIntegrationTesting(File pomFile,
String testVersion,
File localRepositoryDir)
Deprecated.
Stage the component, using a stable version, into the specified local-repository directory.
|
File |
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 |
prepareComponentForUnitTestingWithMavenBuilds(File pomFile,
String testVersion,
File localRepositoryDir)
Deprecated.
Stage the component, using a stable version, into the specified local-repository directory.
|
public static final String ROLE
public File prepareComponentForIntegrationTesting(File pomFile, String testVersion) throws TestToolsException
pomFile
- current POM filetestVersion
- The test version for the component, used for reference in test-build POMs and
fully-qualified goalsTestToolsException
- if anypublic File prepareComponentForUnitTestingWithMavenBuilds(File pomFile, String testVersion) throws TestToolsException
pomFile
- current POM filetestVersion
- The test version for the component, used for reference in test-build POMs and
fully-qualified goalsTestToolsException
- if anypublic File prepareComponentForIntegrationTesting(File pomFile, String testVersion, File localRepositoryDir) throws TestToolsException
pomFile
- current POM filetestVersion
- The test version for the component, used for reference in test-build POMs and
fully-qualified goalslocalRepositoryDir
- The base-directory location of the test local repository, into which
the component's test version should be staged.TestToolsException
- if anypublic File prepareComponentForUnitTestingWithMavenBuilds(File pomFile, String testVersion, File localRepositoryDir) throws TestToolsException
pomFile
- current POM filetestVersion
- The test version for the component, used for reference in test-build POMs and
fully-qualified goalslocalRepositoryDir
- The base-directory location of the test local repository, into which
the component's test version should be staged.TestToolsException
- if anyCopyright © 2008–2014 The Apache Software Foundation. All rights reserved.