Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

AbstractMojoTestCase - Class in org.apache.maven.plugin.testing
TODO: add a way to use the plugin POM for the lookup so that the user doesn't have to provide the a:g:v:goal as the role hint for the mojo lookup.
AbstractMojoTestCase() - Constructor for class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
activeProfiles - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
add(IMocksControl) - Method in class org.apache.maven.shared.tools.easymock.MockManager
Deprecated.
 
addAttachedArtifact(Artifact) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
addCompileSourceRoot(String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
addContributor(Contributor) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
addDeveloper(Developer) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
addedToClasspath - Variable in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
addGuiceModules(List<Module>) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
addLicense(License) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
addMailingList(MailingList) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
addMetadata(ArtifactMetadata) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
addPlugin(Plugin) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
addProjectReference(MavenProject) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
addResource(Resource) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
addScriptSourceRoot(String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
addTestCompileSourceRoot(String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
addTestResource(Resource) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
after() - Method in class org.apache.maven.plugin.testing.MojoRule
May be overridden in the implementation to do stuff after the current test was run.
alignToBaseDirectory(File) - Method in class org.apache.maven.plugin.testing.ResolverExpressionEvaluatorStub
appendArtifactTypeClassifierString(StringBuffer) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
apply(Statement, Description) - Method in class org.apache.maven.plugin.testing.MojoRule
 
archiverManager - Variable in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
artifact - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
artifactFactory - Variable in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
 
artifactFactory - Variable in class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
 
artifactHandlerManager - Variable in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
 
artifactId - Variable in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
artifactId - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
artifactId - Variable in class org.apache.maven.shared.test.plugin.ProjectTool.PomInfo
Deprecated.
 
artifactInstaller - Variable in class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
 
artifactMap - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
artifactRepository - Variable in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
artifactRepositoryFactory - Variable in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
 
ArtifactStub - Class in org.apache.maven.plugin.testing.stubs
Stub class for Artifact testing.
ArtifactStub() - Constructor for class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
ArtifactStubFactory - Class in org.apache.maven.plugin.testing
This class creates artifacts to be used for testing purposes.
ArtifactStubFactory() - Constructor for class org.apache.maven.plugin.testing.ArtifactStubFactory
Default constructor.
ArtifactStubFactory(File, boolean) - Constructor for class org.apache.maven.plugin.testing.ArtifactStubFactory
This constructor is to be used if files are needed and to set a working dir
assertDirectoryContents(File, String...) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
 
assertFileContents(File, String, String) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
 
assertFileContents(File, String, String) - Method in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
assertFileExistence(File, String, boolean) - Method in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
attachArtifact(String, String, File) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
attachedArtifacts - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 

B

baseDir - Variable in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
baseFilename - Variable in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
before() - Method in class org.apache.maven.plugin.testing.MojoRule
May be overridden in the implementation to do stuff after the embedded test case is set up but before the current test is actually run.
build - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
buildDirectory - Variable in class org.apache.maven.shared.test.plugin.ProjectTool.PomInfo
Deprecated.
 
buildOutputDirectory - Variable in class org.apache.maven.shared.test.plugin.ProjectTool.PomInfo
Deprecated.
 
buildOverlay - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
BuildTool - Class in org.apache.maven.shared.test.plugin
Deprecated.
BuildTool() - Constructor for class org.apache.maven.shared.test.plugin.BuildTool
Deprecated.
 
buildTool - Variable in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
 
BuildTool.LoggerHandler - Class in org.apache.maven.shared.test.plugin
Deprecated.
 

C

cachedPropertySetters - Variable in class org.apache.maven.shared.tools.test.ReflectiveSetter
 
callerInfo - Variable in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
classifier - Variable in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
classifier - Variable in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
cleanUp() - Method in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
cleanupWarning - Variable in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
clear() - Method in class org.apache.maven.shared.tools.easymock.MockManager
Deprecated.
Clear all controls from the manager
close() - Method in class org.apache.maven.shared.test.plugin.BuildTool.LoggerHandler
Deprecated.
 
closeHandlers(InvocationRequest) - Method in class org.apache.maven.shared.test.plugin.BuildTool
Deprecated.
If we're logging output to a log file using standard output handlers, make sure these are closed.
collect(Set<Artifact>, Artifact, Map<String, Artifact>, ArtifactResolutionRequest, ArtifactMetadataSource, ArtifactFilter, List<ResolutionListener>, List<ConflictResolver>) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactCollector
 
collect(Set<Artifact>, Artifact, Map<String, Artifact>, ArtifactRepository, List<ArtifactRepository>, ArtifactMetadataSource, ArtifactFilter, List<ResolutionListener>, List<ConflictResolver>) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactCollector
 
collect(Set<Artifact>, Artifact, Map<String, Artifact>, ArtifactRepository, List<ArtifactRepository>, ArtifactMetadataSource, ArtifactFilter, List<ResolutionListener>) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactCollector
 
collect(Set<Artifact>, Artifact, ArtifactRepository, List<ArtifactRepository>, ArtifactMetadataSource, ArtifactFilter, List<ResolutionListener>) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactCollector
 
collect(ArtifactResolutionRequest) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
 
collectedProjects - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
compareTo(Artifact) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, return 0
compileArtifacts - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
compileDependencies - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
compileSourceRoots - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
ComponentTestTool - Class in org.apache.maven.shared.test.plugin
Deprecated.
ComponentTestTool() - Constructor for class org.apache.maven.shared.test.plugin.ComponentTestTool
Deprecated.
 
ConfigurationException - Exception in org.apache.maven.plugin.testing
ConfigurationException
ConfigurationException(String) - Constructor for exception org.apache.maven.plugin.testing.ConfigurationException
 
ConfigurationException(Throwable) - Constructor for exception org.apache.maven.plugin.testing.ConfigurationException
 
ConfigurationException(String, Throwable) - Constructor for exception org.apache.maven.plugin.testing.ConfigurationException
 
configurator - Variable in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
configureMojo(Mojo, String, File) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Configure the mojo
configureMojo(Mojo, PlexusConfiguration) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Configure the mojo with the given plexus configuration
configureMojo(Mojo, String, File) - Method in class org.apache.maven.plugin.testing.MojoRule
 
configureMojo(Mojo, PlexusConfiguration) - Method in class org.apache.maven.plugin.testing.MojoRule
 
consumeLine(String) - Method in class org.apache.maven.shared.test.plugin.BuildTool.LoggerHandler
Deprecated.
container - Variable in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
container - Variable in class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
 
contextualize(Context) - Method in class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
Retrieve the PlexusContainer instance used to instantiate this component.
cp(File, String, String) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
 
create(File, String...) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
 
createArtifact(String, String, String) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
createArtifact(String, String, String, String) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
createArtifact(String, String, String, String, String, String) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
createArtifact(String, String, VersionRange, String, String, String, boolean) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
createArtifacts(ArtifactFactory, String, ArtifactFilter) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_SET.
createBasicInvocationRequest(File, Properties, List<String>, File) - Method in class org.apache.maven.shared.test.plugin.BuildTool
Deprecated.
Construct a standardized InvocationRequest given the test-build POM, a set of CLI properties, a list of goals to execute, and the location of a log file to which build output should be directed.
createFile(File, String, String) - Method in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
createFile(String, String) - Method in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
createFiles - Variable in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
createLocalArtifactRepositoryInstance() - Method in class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
Construct an ArtifactRepository instance that refers to the normal Maven local repository.
createLocalArtifactRepositoryInstance(File) - Method in class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
Construct an ArtifactRepository instance that refers to the test-time Maven local repository.
createLocalRepositoryFromComponentProject(MavenProject, File, File) - Method in class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
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.
createTempDir() - Method in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
createTempFile() - Method in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
createUnpackableFile - Variable in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
createUnpackableFile(Artifact, File) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 

D

debug(CharSequence) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
debug(CharSequence, Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
debug(Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
debug(String) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
debug(String, Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
DefaultArtifactHandlerStub - Class in org.apache.maven.plugin.testing.stubs
Minimal artifact handler used by the stub factory to create unpackable archives.
DefaultArtifactHandlerStub(String, String) - Constructor for class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
DefaultArtifactHandlerStub(String) - Constructor for class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
defaultGoal - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
dependencyArtifacts - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
description - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
directory - Variable in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
dispose() - Method in class org.apache.maven.shared.test.plugin.BuildTool
Deprecated.
Not currently used; when this API switches to use the Maven Embedder, it will be used to shutdown the embedder and its associated container, to free up JVM memory.

E

error(CharSequence) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
error(CharSequence, Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
error(Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
error(String) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
error(String, Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
evaluate(String) - Method in class org.apache.maven.plugin.testing.ResolverExpressionEvaluatorStub
executeMaven(File, Properties, List<String>, File) - Method in class org.apache.maven.shared.test.plugin.BuildTool
Deprecated.
Build a standard InvocationRequest using the specified test-build POM, command-line properties, goals, and output logfile.
executeMaven(InvocationRequest) - Method in class org.apache.maven.shared.test.plugin.BuildTool
Deprecated.
Execute a test build using a customized InvocationRequest.
executeMojo(File, String) - Method in class org.apache.maven.plugin.testing.MojoRule
 
executeMojo(MavenProject, String, Xpp3Dom...) - Method in class org.apache.maven.plugin.testing.MojoRule
 
executeMojo(MavenSession, MavenProject, String, Xpp3Dom...) - Method in class org.apache.maven.plugin.testing.MojoRule
 
executeMojo(MavenSession, MavenProject, MojoExecution) - Method in class org.apache.maven.plugin.testing.MojoRule
 
executionRoot - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
extension - Variable in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
extensionArtifactMap - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
extractPluginConfiguration(String, File) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
extractPluginConfiguration(String, Xpp3Dom) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
extractPluginConfiguration(String, File) - Method in class org.apache.maven.plugin.testing.MojoRule
 
extractPluginConfiguration(String, Xpp3Dom) - Method in class org.apache.maven.plugin.testing.MojoRule
 

F

factory - Variable in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
 
fatalError(String) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
fatalError(String, Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
field - Variable in class org.apache.maven.shared.tools.test.ReflectiveSetter.FieldSetter
 
FieldSetter(String, Field) - Constructor for class org.apache.maven.shared.tools.test.ReflectiveSetter.FieldSetter
 
file - Variable in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
file - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
filesToDelete - Variable in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
fileSuffix - Variable in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
finalize() - Method in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
finalizeMojoConfiguration(MojoExecution) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
finalName - Variable in class org.apache.maven.shared.test.plugin.ProjectTool.PomInfo
Deprecated.
 
find(Artifact) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
findLocalRepositoryDirectory() - Method in class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
Lookup and return the location of the normal Maven local repository.
findVersions(Artifact) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 

G

getActiveProfiles() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getArtifact() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getArtifactArtifacts() - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
getArtifactHandler() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
getArtifactId() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
getArtifactId() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getArtifactMap() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_MAP.
getArtifacts() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_SET.
getAttachedArtifacts() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getAuthentication() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
getAvailableVersions() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
getBasedir(String) - Method in class org.apache.maven.plugin.testing.resources.TestResources
Creates new clean copy of test project directory structure.
getBasedir() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getBasedir() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
getBaseVersion() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
getBuild() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getBuildDirectory() - Method in class org.apache.maven.shared.test.plugin.ProjectTool.PomInfo
Deprecated.
 
getBuildExtensions() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getBuildLogFile() - Method in class org.apache.maven.shared.test.plugin.ProjectTool.PomInfo
Deprecated.
 
getBuildOutputDirectory() - Method in class org.apache.maven.shared.test.plugin.ProjectTool.PomInfo
Deprecated.
 
getBuildPlugins() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getChildLogger(String) - Method in class org.apache.maven.plugin.testing.SilentLog
 
getCiManagement() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getClassifiedArtifacts() - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
getClassifier() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
getClassifier() - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
getCollectedProjects() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getCompileArtifacts() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getCompileClasspathElements() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getCompileDependencies() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getCompileSourceRoots() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getContainer() - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
getContainer() - Method in class org.apache.maven.plugin.testing.MojoRule
 
getContributors() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getDefaultGoal() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getDependencies() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getDependencyArtifacts() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getDependencyConflictId() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
getDependencyFilter() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
getDependencyManagement() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getDependencyTrail() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
getDescription() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getDevelopers() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getDirectory() - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
getDistributionManagement() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getDistributionManagementArtifactRepository() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getDownloadUrl() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
getExecutionProject() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getExtension() - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
getExtensionArtifactMap() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_MAP.
getExtensionArtifacts() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_SET.
getFile() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
getFile() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getFileContents(File) - Method in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
getFilters() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getFinalName() - Method in class org.apache.maven.shared.test.plugin.ProjectTool.PomInfo
Deprecated.
 
getFormattedFileName(Artifact, boolean) - Static method in class org.apache.maven.plugin.testing.ArtifactStubFactory
Builds the file name.
getGoalConfiguration(String, String, String, String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getGroupId() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
getGroupId() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getGroupIdArtifacts() - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
getId() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
getId() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return an empty String.
getId() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
getInceptionYear() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getIssueManagement() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getKey() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
getLanguage() - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
getLayout() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
getLicenses() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getMailingLists() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getMetadataList() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
getMirroredRepositories() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
getMixedArtifacts() - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
getModel() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getModelVersion() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getModulePathAdjustment(MavenProject) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
getModules() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getName() - Method in class org.apache.maven.plugin.testing.SilentLog
 
getName() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getOrganization() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getOriginalModel() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getPackaging() - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
getPackaging() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getParent() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getParentArtifact() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getPluginArtifactFile() - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Returns best-effort plugin artifact file.
getPluginArtifactMap() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_MAP.
getPluginArtifactRepositories() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getPluginArtifacts() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_SET.
getPluginDescriptorLocation() - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
getPluginDescriptorLocation() - Method in class org.apache.maven.plugin.testing.MojoRule
 
getPluginDescriptorPath() - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
getPluginDescriptorPath() - Method in class org.apache.maven.plugin.testing.MojoRule
 
getPluginManagement() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getPluginRepositories() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getPomFile() - Method in class org.apache.maven.shared.test.plugin.ProjectTool.PomInfo
Deprecated.
 
getPrerequisites() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getProjectReferences() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_MAP.
getProperties() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return a new instance of Properties.
getProperty() - Method in class org.apache.maven.shared.tools.test.ReflectiveSetter.FieldSetter
getProperty() - Method in class org.apache.maven.shared.tools.test.ReflectiveSetter.MethodSetter
getProperty() - Method in interface org.apache.maven.shared.tools.test.ReflectiveSetter.Setter
 
getProtocol() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
getProxy() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
getPublicDescriptorStream() - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
getPublicDescriptorStream() - Method in class org.apache.maven.plugin.testing.MojoRule
 
getReleaseAndSnapshotArtifacts() - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
getReleaseArtifact() - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
getReleases() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
getRemoteArtifactRepositories() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getReportArtifactMap() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_MAP.
getReportArtifacts() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_SET.
getReportConfiguration(String, String, String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getReporting() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getReportPlugins() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getRepositories() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getRepository() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
getResources() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getRuntimeArtifacts() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getRuntimeClasspathElements() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getRuntimeDependencies() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getScm() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
getScope() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
getScopedArtifacts() - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
getScriptSourceRoots() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getSelectedVersion() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
getSnapshotArtifact() - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
getSnapshots() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
getSrcFile() - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
getSystemArtifacts() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getSystemClasspathElements() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getSystemDependencies() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getTestArtifacts() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getTestClasspathElements() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getTestCompileSourceRoots() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getTestDependencies() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getTestResources() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
getThreshold() - Method in class org.apache.maven.plugin.testing.SilentLog
 
getType() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
getType() - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
getTypedArchiveArtifacts() - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
getTypedArtifacts() - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
getUnpackableFileName(Artifact) - Static method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
getUrl() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getUrl() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
getVariablesAndValuesFromObject(Object) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Convenience method to obtain all variables and values from the mojo (including its superclasses) Note: the values in the map are of type Object so the caller is responsible for casting to desired types.
getVariablesAndValuesFromObject(Class<?>, Object) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Convenience method to obtain all variables and values from the mojo (including its superclasses) Note: the values in the map are of type Object so the caller is responsible for casting to desired types.
getVariablesAndValuesFromObject(Object) - Method in class org.apache.maven.plugin.testing.MojoRule
Convenience method to obtain all variables and values from the mojo (including its superclasses) Note: the values in the map are of type Object so the caller is responsible for casting to desired types.
getVariablesAndValuesFromObject(Class<?>, Object) - Method in class org.apache.maven.plugin.testing.MojoRule
Convenience method to obtain all variables and values from the mojo (including its superclasses) Note: the values in the map are of type Object so the caller is responsible for casting to desired types.
getVariableValueFromObject(Object, String) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Convenience method to obtain the value of a variable on a mojo that might not have a getter.
getVariableValueFromObject(Object, String) - Method in class org.apache.maven.plugin.testing.MojoRule
Convenience method to obtain the value of a variable on a mojo that might not have a getter.
getVersion() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
getVersion() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getVersionRange() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
getWorkingDir() - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
groupId - Variable in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
groupId - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
groupId - Variable in class org.apache.maven.shared.test.plugin.ProjectTool.PomInfo
Deprecated.
 

H

hasClassifier() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
hasParent() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub

I

inceptionYear - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
includesDependencies - Variable in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
info(CharSequence) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
info(CharSequence, Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
info(Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
info(String) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
info(String, Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
initialize() - Method in class org.apache.maven.shared.test.plugin.BuildTool
Deprecated.
Initialize this tool once it's been instantiated and composed, in order to start up the MavenInvoker instance.
initializeCleanupMonitoring() - Method in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
injectPluginManagementInfo(Plugin) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
installLocallyReachableAncestorPoms(File, ArtifactRepository) - Method in class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
Traverse <relativePath/> links for successive POMs in the plugin's ancestry, installing each one into the test-time local repository.
INTEGRATION_TEST_DEPLOYMENT_REPO_URL - Static variable in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
 
isAddedToClasspath() - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
isBlacklisted() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
isCreateFiles() - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
isDebugEnabled() - Method in class org.apache.maven.plugin.testing.SilentLog
 
isErrorEnabled() - Method in class org.apache.maven.plugin.testing.SilentLog
 
isExecutionRoot() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
isFatalErrorEnabled() - Method in class org.apache.maven.plugin.testing.SilentLog
 
isFromAuthoritativeRepository() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
isIncludesDependencies() - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
isInfoEnabled() - Method in class org.apache.maven.plugin.testing.SilentLog
 
isOptional() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
isProjectAware() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
isRelease() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
isResolved() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
isSelectedVersionKnown() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
isSnapshot() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
isUniqueVersion() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
isWarnEnabled() - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.

L

language - Variable in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
legacySupport - Variable in class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
 
licenses - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
LoggerHandler(File) - Constructor for class org.apache.maven.shared.test.plugin.BuildTool.LoggerHandler
Deprecated.
 
lookup(Class<T>) - Method in class org.apache.maven.plugin.testing.MojoRule
 
lookupConfiguredMojo(MavenProject, String) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
lookupConfiguredMojo(MavenSession, MojoExecution) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
lookupConfiguredMojo(MavenProject, String) - Method in class org.apache.maven.plugin.testing.MojoRule
 
lookupConfiguredMojo(MavenSession, MojoExecution) - Method in class org.apache.maven.plugin.testing.MojoRule
 
lookupConfiguredMojo(File, String) - Method in class org.apache.maven.plugin.testing.MojoRule
 
lookupEmptyMojo(String, String) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Lookup an empty mojo
lookupEmptyMojo(String, File) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Lookup the mojo leveraging the actual subprojects pom
lookupEmptyMojo(String, String) - Method in class org.apache.maven.plugin.testing.MojoRule
Lookup an empty mojo
lookupEmptyMojo(String, File) - Method in class org.apache.maven.plugin.testing.MojoRule
Lookup the mojo leveraging the actual subprojects pom
lookupMojo(String, String) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Lookup the mojo leveraging the subproject pom
lookupMojo(String, File) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Lookup the mojo leveraging the actual subprojects pom
lookupMojo(String, String, String, String, PlexusConfiguration) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
lookup the mojo while we have all of the relavent information
lookupMojo(String, String) - Method in class org.apache.maven.plugin.testing.MojoRule
Lookup the mojo leveraging the subproject pom
lookupMojo(String, File) - Method in class org.apache.maven.plugin.testing.MojoRule
Lookup the mojo leveraging the actual subprojects pom
lookupMojo(String, String, String, String, PlexusConfiguration) - Method in class org.apache.maven.plugin.testing.MojoRule
 
LS - Static variable in class org.apache.maven.shared.test.plugin.BuildTool.LoggerHandler
Deprecated.
 

M

manglePomForTesting(File, String, boolean) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
Inject a special version for testing, to allow tests to unambiguously reference the plugin currently under test.
markForDeletion(File) - Method in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
MAVEN_VERSION - Static variable in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
mavenInvoker - Variable in class org.apache.maven.shared.test.plugin.BuildTool
Deprecated.
 
MavenProjectStub - Class in org.apache.maven.plugin.testing.stubs
Very simple stub of MavenProject object, going to take a lot of work to make it useful as a stub though.
MavenProjectStub() - Constructor for class org.apache.maven.plugin.testing.stubs.MavenProjectStub
Default constructor
MavenProjectStub(Model) - Constructor for class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
MavenProjectStub(MavenProject) - Constructor for class org.apache.maven.plugin.testing.stubs.MavenProjectStub
No project model is associated
maybeWarnAboutCleanUp() - Method in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
method - Variable in class org.apache.maven.shared.tools.test.ReflectiveSetter.MethodSetter
 
MethodSetter(String, Method) - Constructor for class org.apache.maven.shared.tools.test.ReflectiveSetter.MethodSetter
 
mockControls - Variable in class org.apache.maven.shared.tools.easymock.MockManager
Deprecated.
 
MockManager - Class in org.apache.maven.shared.tools.easymock
Deprecated.
MockManager() - Constructor for class org.apache.maven.shared.tools.easymock.MockManager
Deprecated.
 
model - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
modelVersion - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
mojoDescriptors - Variable in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
MojoParameters - Class in org.apache.maven.plugin.testing
Static helpers to create and manipulate mojo execution configuration parameters
MojoParameters() - Constructor for class org.apache.maven.plugin.testing.MojoParameters
 
MojoRule - Class in org.apache.maven.plugin.testing
TestRule for usage with Junit-4.10ff.
MojoRule() - Constructor for class org.apache.maven.plugin.testing.MojoRule
 
MojoRule(AbstractMojoTestCase) - Constructor for class org.apache.maven.plugin.testing.MojoRule
 

N

name - Variable in class org.apache.maven.plugin.testing.resources.TestResources
 
name - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
name - Variable in class org.apache.maven.shared.tools.test.ReflectiveSetter.FieldSetter
 
name - Variable in class org.apache.maven.shared.tools.test.ReflectiveSetter.MethodSetter
 
newMavenSession(MavenProject) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
newMavenSession(MavenProject) - Method in class org.apache.maven.plugin.testing.MojoRule
 
newMojoExecution(String) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
newMojoExecution(String) - Method in class org.apache.maven.plugin.testing.MojoRule
 
newParameter(String, String) - Static method in class org.apache.maven.plugin.testing.MojoParameters
 

O

org.apache.maven.plugin.testing - package org.apache.maven.plugin.testing
 
org.apache.maven.plugin.testing.resources - package org.apache.maven.plugin.testing.resources
 
org.apache.maven.plugin.testing.stubs - package org.apache.maven.plugin.testing.stubs
 
org.apache.maven.shared.test.plugin - package org.apache.maven.shared.test.plugin
 
org.apache.maven.shared.tools.easymock - package org.apache.maven.shared.tools.easymock
 
org.apache.maven.shared.tools.test - package org.apache.maven.shared.tools.test
 
originalModel - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
output - Variable in class org.apache.maven.shared.test.plugin.BuildTool.LoggerHandler
Deprecated.
 

P

packageProjectArtifact(File, String, boolean) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
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.
packageProjectArtifact(File, String, boolean, File) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
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.
packaging - Variable in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
packaging - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
parent - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
pathOf(Artifact) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
pathOfLocalRepositoryMetadata(ArtifactMetadata, ArtifactRepository) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
pathOfRemoteRepositoryMetadata(ArtifactMetadata) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
pluginArtifactMap - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
pluginArtifactRepositories - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
PluginTestTool - Class in org.apache.maven.shared.test.plugin
Deprecated.
PluginTestTool() - Constructor for class org.apache.maven.shared.test.plugin.PluginTestTool
Deprecated.
 
pomFile - Variable in class org.apache.maven.shared.test.plugin.ProjectTool.PomInfo
Deprecated.
 
PomInfo(File, String, String, String, String, String, String) - Constructor for class org.apache.maven.shared.test.plugin.ProjectTool.PomInfo
Deprecated.
 
prepareComponentForIntegrationTesting(File, String) - Method in class org.apache.maven.shared.test.plugin.ComponentTestTool
Deprecated.
Stage the component, using a stable version, into a temporary local-repository directory that is generated by this method.
prepareComponentForIntegrationTesting(File, String, File) - Method in class org.apache.maven.shared.test.plugin.ComponentTestTool
Deprecated.
Stage the component, using a stable version, into the specified local-repository directory.
prepareComponentForUnitTestingWithMavenBuilds(File, String) - Method in class org.apache.maven.shared.test.plugin.ComponentTestTool
Deprecated.
Stage the component, using a stable version, into a temporary local-repository directory that is generated by this method.
prepareComponentForUnitTestingWithMavenBuilds(File, String, File) - Method in class org.apache.maven.shared.test.plugin.ComponentTestTool
Deprecated.
Stage the component, using a stable version, into the specified local-repository directory.
prepareForTesting(File, String, boolean, File) - Method in class org.apache.maven.shared.test.plugin.ComponentTestTool
Deprecated.
 
prepareForTesting(File, String, boolean, File) - Method in class org.apache.maven.shared.test.plugin.PluginTestTool
Deprecated.
 
preparePluginForIntegrationTesting(File, String) - Method in class org.apache.maven.shared.test.plugin.PluginTestTool
Deprecated.
Stage the plugin, using a stable version, into a temporary local-repository directory that is generated by this method.
preparePluginForIntegrationTesting(File, String, File) - Method in class org.apache.maven.shared.test.plugin.PluginTestTool
Deprecated.
Stage the plugin, using a stable version, into the specified local-repository directory.
preparePluginForUnitTestingWithMavenBuilds(File, String) - Method in class org.apache.maven.shared.test.plugin.PluginTestTool
Deprecated.
Stage the plugin, using a stable version, into a temporary local-repository directory that is generated by this method.
preparePluginForUnitTestingWithMavenBuilds(File, String, File) - Method in class org.apache.maven.shared.test.plugin.PluginTestTool
Deprecated.
Stage the plugin, using a stable version, into the specified local-repository directory.
projectBuilder - Variable in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
 
projectReferences - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
projectsDir - Variable in class org.apache.maven.plugin.testing.resources.TestResources
 
projectTool - Variable in class org.apache.maven.shared.test.plugin.ComponentTestTool
Deprecated.
 
projectTool - Variable in class org.apache.maven.shared.test.plugin.PluginTestTool
Deprecated.
 
ProjectTool - Class in org.apache.maven.shared.test.plugin
Deprecated.
ProjectTool() - Constructor for class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
 
ProjectTool.PomInfo - Class in org.apache.maven.shared.test.plugin
Deprecated.
 

R

readFile(File) - Static method in class org.apache.maven.shared.tools.easymock.TestUtils
Deprecated.
 
readMavenProject(File) - Method in class org.apache.maven.plugin.testing.MojoRule
 
readModel(File) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
Loads the model for this stub from the specified POM.
readProject(File) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
Construct a MavenProject instance from the specified POM file.
readProject(File, File) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
Construct a MavenProject instance from the specified POM file, using the specified local repository directory to resolve ancestor POMs as needed.
readProjectWithDependencies(File) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
Construct a MavenProject instance from the specified POM file with dependencies.
readProjectWithDependencies(File, File) - Method in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
Construct a MavenProject instance from the specified POM file with dependencies, using the specified local repository directory to resolve ancestor POMs as needed.
ReflectiveSetter - Class in org.apache.maven.shared.tools.test
 
ReflectiveSetter(Class<?>) - Constructor for class org.apache.maven.shared.tools.test.ReflectiveSetter
 
ReflectiveSetter.FieldSetter - Class in org.apache.maven.shared.tools.test
 
ReflectiveSetter.MethodSetter - Class in org.apache.maven.shared.tools.test
 
ReflectiveSetter.Setter - Interface in org.apache.maven.shared.tools.test
 
releaseArtifactRepository - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
replaceWithActiveArtifact(Artifact) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
replayAll() - Method in class org.apache.maven.shared.tools.easymock.MockManager
Deprecated.
 
reportArtifactMap - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
repositoryFactory - Variable in class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
 
repositoryTool - Variable in class org.apache.maven.shared.test.plugin.ComponentTestTool
Deprecated.
 
repositoryTool - Variable in class org.apache.maven.shared.test.plugin.PluginTestTool
Deprecated.
 
repositoryTool - Variable in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
 
RepositoryTool - Class in org.apache.maven.shared.test.plugin
Deprecated.
RepositoryTool() - Constructor for class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
 
resolve(Artifact, List<ArtifactRepository>, ArtifactRepository) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
Creates dummy file and sets it in the artifact to simulate resolution
resolve(Artifact, List<ArtifactRepository>, ArtifactRepository, TransferListener) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
 
resolve(ArtifactResolutionRequest) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
 
resolveAlways(Artifact, List<ArtifactRepository>, ArtifactRepository) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
By default, do nothing.
resolveFromRootThenParent(Xpp3Dom, String) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
sometimes the parent element might contain the correct value so generalize that access TODO find out where this is probably done elsewhere
ResolverExpressionEvaluatorStub - Class in org.apache.maven.plugin.testing
Stub for ExpressionEvaluator
ResolverExpressionEvaluatorStub() - Constructor for class org.apache.maven.plugin.testing.ResolverExpressionEvaluatorStub
 
resolveTransitively(Set<Artifact>, Artifact, List<ArtifactRepository>, ArtifactRepository, ArtifactMetadataSource) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
 
resolveTransitively(Set<Artifact>, Artifact, List<ArtifactRepository>, ArtifactRepository, ArtifactMetadataSource, List<ResolutionListener>) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
 
resolveTransitively(Set<Artifact>, Artifact, ArtifactRepository, List<ArtifactRepository>, ArtifactMetadataSource, ArtifactFilter) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
 
resolveTransitively(Set<Artifact>, Artifact, Map<String, Artifact>, ArtifactRepository, List<ArtifactRepository>, ArtifactMetadataSource) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
 
resolveTransitively(Set<Artifact>, Artifact, Map<String, Artifact>, ArtifactRepository, List<ArtifactRepository>, ArtifactMetadataSource, ArtifactFilter) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
 
resolveTransitively(Set<Artifact>, Artifact, Map<String, Artifact>, ArtifactRepository, List<ArtifactRepository>, ArtifactMetadataSource, ArtifactFilter, List<ResolutionListener>) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
 
rm(File, String) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
 
ROLE - Static variable in class org.apache.maven.shared.test.plugin.BuildTool
Deprecated.
Plexus role
ROLE - Static variable in class org.apache.maven.shared.test.plugin.ComponentTestTool
Deprecated.
Plexus role
ROLE - Static variable in class org.apache.maven.shared.test.plugin.PluginTestTool
Deprecated.
Plexus role
ROLE - Static variable in class org.apache.maven.shared.test.plugin.ProjectTool
Deprecated.
Plexus role
ROLE - Static variable in class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
Plexus role
runtimeArtifacts - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
runtimeClasspathElements - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
runtimeDependencies - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 

S

scope - Variable in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
scriptSourceRoots - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
selectVersion(String) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
serialVersionUID - Static variable in exception org.apache.maven.plugin.testing.ConfigurationException
serialVersionUID
serialVersionUID - Static variable in exception org.apache.maven.shared.test.plugin.TestToolsException
Deprecated.
 
set(Object, Object) - Method in class org.apache.maven.shared.tools.test.ReflectiveSetter.FieldSetter
set(Object, Object) - Method in class org.apache.maven.shared.tools.test.ReflectiveSetter.MethodSetter
set(Object, Object) - Method in interface org.apache.maven.shared.tools.test.ReflectiveSetter.Setter
 
setActiveProfiles(List<Profile>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setAddedToClasspath(boolean) - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
setArtifact(Artifact) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setArtifactFile(Artifact, File) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
Creates a new empty file and attaches it to the artifact.
setArtifactFile(Artifact, File, File) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
Copyies the srcFile to the workingDir and then attaches it to the artifact.
setArtifactFile(Artifact, File, File, boolean) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
Creates a file that can be copied or unpacked based on the passed in artifact
setArtifactHandler(ArtifactHandler) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
setArtifactId(String) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
setArtifactId(String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setArtifactMap(Map<String, Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setArtifacts(Set<Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setAttachedArtifacts(List<Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setAuthentication(Authentication) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
setAvailableVersions(List<ArtifactVersion>) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
setBaseVersion(String) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
setBlacklisted(boolean) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
By default, do nothing.
setBuild(Build) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setBuildOverlay(Build) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setCiManagement(CiManagement) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setClassifier(String) - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
setCollectedProjects(List<MavenProject>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setCompileArtifacts(List<Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setCompileDependencies(List<Dependency>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setCompileSourceRoots(List<String>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setContributors(List<Contributor>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setCreateFiles(boolean) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
setDependencies(List<Dependency>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setDependencyArtifacts(Set<Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setDependencyFilter(ArtifactFilter) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
setDependencyTrail(List<String>) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
setDescription(String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setDevelopers(List<Developer>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setDirectory(String) - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
setDistributionManagement(DistributionManagement) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setDownloadUrl(String) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
setExecutionProject(MavenProject) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setExecutionRoot(boolean) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setExtension(String) - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
setExtensionArtifactMap(Map<String, Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setExtensionArtifacts(Set<Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setFile(File) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
setFile(File) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setFromAuthoritativeRepository(boolean) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
setGroupId(String) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
setGroupId(String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setId(String) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
setInceptionYear(String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setIncludesDependencies(boolean) - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
setIssueManagement(IssueManagement) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setLanguage(String) - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
setLayout(ArtifactRepositoryLayout) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
setLicenses(List<License>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setMailingLists(List<MailingList>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setMirroredRepositories(List<ArtifactRepository>) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
setModel(Model) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setModelVersion(String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setName(String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setOptional(boolean) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
setOrganization(Organization) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setOriginalModel(Model) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setPackaging(String) - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
setPackaging(String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setParent(MavenProject) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setParentArtifact(Artifact) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setPluginArtifactMap(Map<String, Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setPluginArtifactRepositories(List<ArtifactRepository>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setPluginArtifacts(Set<Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setProjectReferences(Map<String, MavenProject>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setProperty(String, Object, Object) - Method in class org.apache.maven.shared.tools.test.ReflectiveSetter
 
setProxy(Proxy) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
setRelease(boolean) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
setReleaseArtifactRepository(ArtifactRepository) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setReleaseUpdatePolicy(ArtifactRepositoryPolicy) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
setRemoteArtifactRepositories(List<ArtifactRepository>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setReportArtifactMap(Map<String, Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setReportArtifacts(Set<Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setReporting(Reporting) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setRepository(ArtifactRepository) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
setResolved(boolean) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
setResolvedVersion(String) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
setRuntimeArtifacts(List<Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setRuntimeClasspathElements(List<String>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setRuntimeDependencies(List<Dependency>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setScm(Scm) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
setScope(String) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
setScriptSourceRoots(List<String>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setSnapshotArtifactRepository(ArtifactRepository) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setSnapshotUpdatePolicy(ArtifactRepositoryPolicy) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
setSrcFile(File) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
setSystemArtifacts(List<Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setSystemClasspathElements(List<String>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setSystemDependencies(List<Dependency>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setTestArtifacts(List<Artifact>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setTestClasspathElements(List<String>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setTestCompileSourceRoots(List<String>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setTestDependencies(List<Dependency>) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
setThreshold(int) - Method in class org.apache.maven.plugin.testing.SilentLog
 
settingsBuilder - Variable in class org.apache.maven.shared.test.plugin.RepositoryTool
Deprecated.
 
setType(String) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
Set a new type
setType(String) - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
setUnpackableArtifactFile(Artifact, File) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
Creates an unpackable file (zip,jar etc) containing an empty file.
setUnpackableArtifactFile(Artifact, File, File) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
Creates an unpackable file (zip,jar etc) containing the srcFile.
setUnpackableFile(ArchiverManager) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
If set, the file will be created as a zip/jar/war with a file inside that can be checked to exist after unpacking.
setUp() - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
setupContainer() - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
setupContainer() - Method in class org.apache.maven.plugin.testing.MojoRule
 
setupContainerConfiguration() - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
 
setupContainerConfiguration() - Method in class org.apache.maven.plugin.testing.MojoRule
 
setUrl(String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setUrl(String) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
setVariableValueToObject(Object, String, Object) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Convenience method to set values to variables in objects that don't have setters
setVariableValueToObject(Object, String, Object) - Static method in class org.apache.maven.plugin.testing.ArtifactStubFactory
Convenience method to set values to variables in objects that don't have setters
setVariableValueToObject(Object, String, Object) - Method in class org.apache.maven.plugin.testing.MojoRule
Convenience method to set values to variables in objects that don't have setters
setVersion(String) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
setVersion(String) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
setVersionRange(VersionRange) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
setWorkingDir(File) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
SilentLog - Class in org.apache.maven.plugin.testing
This logger implements both types of logs currently in use.
SilentLog() - Constructor for class org.apache.maven.plugin.testing.SilentLog
 
snapshotArtifactRepository - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
srcFile - Variable in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
starting(Description) - Method in class org.apache.maven.plugin.testing.resources.TestResources
 
startInvoker() - Method in class org.apache.maven.shared.test.plugin.BuildTool
Deprecated.
Detect the location of the local Maven installation, and start up the MavenInvoker using that path.
stripTokens(String) - Method in class org.apache.maven.plugin.testing.ResolverExpressionEvaluatorStub
 
StubArtifactCollector - Class in org.apache.maven.plugin.testing.stubs
 
StubArtifactCollector() - Constructor for class org.apache.maven.plugin.testing.stubs.StubArtifactCollector
Default constructor
StubArtifactRepository - Class in org.apache.maven.plugin.testing.stubs
 
StubArtifactRepository(String) - Constructor for class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
Default constructor
StubArtifactResolver - Class in org.apache.maven.plugin.testing.stubs
Stub resolver.
StubArtifactResolver(ArtifactStubFactory, boolean, boolean) - Constructor for class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
Default constructor
systemArtifacts - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
systemClasspathElements - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
systemDependencies - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 

T

targetClass - Variable in class org.apache.maven.shared.tools.test.ReflectiveSetter
 
TEMP_DIR_PATH - Static variable in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
Temp dir from "java.io.tmpdir" property
testArtifacts - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
testCase - Variable in class org.apache.maven.plugin.testing.MojoRule
 
testClasspathElements - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
testCompileSourceRoots - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
testDependencies - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
TestFileManager - Class in org.apache.maven.shared.tools.easymock
Deprecated.
TestFileManager(String, String) - Constructor for class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
Default constructor
TestResources - Class in org.apache.maven.plugin.testing.resources
Junit4 test Rule to extract and assert test resources.
TestResources() - Constructor for class org.apache.maven.plugin.testing.resources.TestResources
 
TestResources(String, String) - Constructor for class org.apache.maven.plugin.testing.resources.TestResources
 
TestToolsException - Exception in org.apache.maven.shared.test.plugin
Deprecated.
TestToolsException(String, Throwable) - Constructor for exception org.apache.maven.shared.test.plugin.TestToolsException
Deprecated.
 
TestToolsException(String) - Constructor for exception org.apache.maven.shared.test.plugin.TestToolsException
Deprecated.
 
TestUtils - Class in org.apache.maven.shared.tools.easymock
Deprecated.
TestUtils() - Constructor for class org.apache.maven.shared.tools.easymock.TestUtils
Deprecated.
 
throwArtifactNotFoundException - Variable in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
 
throwArtifactResolutionException - Variable in class org.apache.maven.plugin.testing.stubs.StubArtifactResolver
 
toString(Collection<String>) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
 
toString() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
toString(Throwable) - Static method in class org.apache.maven.shared.tools.easymock.TestUtils
Deprecated.
 
touch(File, String) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
 
touch(File) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
 
type - Variable in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
type - Variable in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 

U

updateVersion(String, ArtifactRepository) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
url - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 

V

validateContainerStatus() - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
We should make sure this is called in each method that makes use of the container, otherwise we throw ugly NPE's crops up when the subclassing code defines the setUp method but doesn't call super.setUp()
verifyAll() - Method in class org.apache.maven.shared.tools.easymock.MockManager
Deprecated.
 
version - Variable in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
version - Variable in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
 
version - Variable in class org.apache.maven.shared.test.plugin.ProjectTool.PomInfo
Deprecated.
 

W

warn(CharSequence) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
warn(CharSequence, Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
warn(Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
warn(String) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
warn(String, Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
warnAboutCleanup - Variable in class org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
 
WithoutMojo - Annotation Type in org.apache.maven.plugin.testing
An annotation for test methods that do not require the MojoRule to create and tear down the instance.
workDir - Variable in class org.apache.maven.plugin.testing.resources.TestResources
 
workingDir - Variable in class org.apache.maven.plugin.testing.ArtifactStubFactory
 
writeModel(Writer) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
writeOriginalModel(Writer) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
writer - Variable in class org.apache.maven.shared.test.plugin.BuildTool.LoggerHandler
Deprecated.
 
writeToFile(File, String) - Static method in class org.apache.maven.shared.tools.easymock.TestUtils
Deprecated.
 
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links