Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractMojoTestCase - Class in org.apache.maven.plugin.testing
Deprecated.
As of version 3.4.0, it is advised to work with JUnit5 tests which do not use this class but MojoTest instead.
AbstractMojoTestCase() - Constructor for class org.apache.maven.plugin.testing.AbstractMojoTestCase
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.
addGuiceModules(List<Module>) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
 
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
Deprecated.
May be overridden in the implementation to do stuff after the current test was run.
afterEach(ExtensionContext) - Method in class org.apache.maven.api.plugin.testing.MojoExtension
 
alignToBaseDirectory(File) - Method in class org.apache.maven.plugin.testing.ResolverExpressionEvaluatorStub
Deprecated.
apply(Statement, Description) - Method in class org.apache.maven.plugin.testing.MojoRule
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
Deprecated.
 
assertFileContents(File, String, String) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
Deprecated.
 
attachArtifact(String, String, File) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.

B

Basedir - Annotation Type in org.apache.maven.api.plugin.testing
Specifies the base directory for test resources in Maven plugin tests.
BASEDIR_IS_SET_KEY - Static variable in class org.apache.maven.api.plugin.testing.MojoExtension
 
before() - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
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.
beforeEach(ExtensionContext) - Method in class org.apache.maven.api.plugin.testing.MojoExtension
 

C

compareTo(Artifact) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, return 0
ConfigurationException - Exception Class in org.apache.maven.plugin.testing
ConfigurationException
ConfigurationException(String) - Constructor for exception class org.apache.maven.plugin.testing.ConfigurationException
 
ConfigurationException(String, Throwable) - Constructor for exception class org.apache.maven.plugin.testing.ConfigurationException
 
ConfigurationException(Throwable) - Constructor for exception class org.apache.maven.plugin.testing.ConfigurationException
 
configureMojo(T, String, File) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
Configure the mojo
configureMojo(T, String, File) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
configureMojo(T, PlexusConfiguration) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
Configure the mojo with the given plexus configuration
configureMojo(T, PlexusConfiguration) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
cp(File, String, String) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
Deprecated.
 
create(File, String...) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
Deprecated.
 
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.
createUnpackableFile(Artifact, File) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
 

D

debug(CharSequence) - Method in class org.apache.maven.plugin.testing.MojoLogWrapper
Deprecated.
 
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.MojoLogWrapper
Deprecated.
 
debug(CharSequence, 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.
debug(Throwable) - Method in class org.apache.maven.plugin.testing.MojoLogWrapper
Deprecated.
 
debug(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) - Constructor for class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 
DefaultArtifactHandlerStub(String, String) - Constructor for class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
 

E

error(CharSequence) - Method in class org.apache.maven.plugin.testing.MojoLogWrapper
Deprecated.
 
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.MojoLogWrapper
Deprecated.
 
error(CharSequence, 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.
error(Throwable) - Method in class org.apache.maven.plugin.testing.MojoLogWrapper
Deprecated.
 
error(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
Deprecated.
executeMojo(File, String) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
executeMojo(MavenSession, MavenProject, String, Xpp3Dom...) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
executeMojo(MavenSession, MavenProject, MojoExecution) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
executeMojo(MavenProject, String, Xpp3Dom...) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
extractPluginConfiguration(String, File) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
 
extractPluginConfiguration(String, File) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
extractPluginConfiguration(String, Xpp3Dom) - Static method in class org.apache.maven.api.plugin.testing.MojoExtension
 
extractPluginConfiguration(String, Xpp3Dom) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
 
extractPluginConfiguration(String, Xpp3Dom) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 

F

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.
find(Artifact) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
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() - Static method in class org.apache.maven.api.plugin.testing.MojoExtension
Gets the base directory for test resources.
getBasedir() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getBasedir() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
getBasedir(String) - Method in class org.apache.maven.plugin.testing.resources.TestResources
Deprecated.
Creates new clean copy of test project directory structure.
getBaseVersion() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
getBuild() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
getBuildExtensions() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
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
Deprecated.
 
getContainer() - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
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
getFilters() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return Collections.EMPTY_LIST.
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.
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.api.plugin.testing.MojoExtension
 
getPluginDescriptorLocation() - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
 
getPluginDescriptorLocation() - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
getPluginDescriptorPath() - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
 
getPluginDescriptorPath() - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
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.
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.
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
Deprecated.
 
getPublicDescriptorStream() - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
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(Class<?>, Object) - Static method in class org.apache.maven.api.plugin.testing.MojoExtension
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
Deprecated.
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
Deprecated.
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) - Static method in class org.apache.maven.api.plugin.testing.MojoExtension
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.AbstractMojoTestCase
Deprecated.
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
Deprecated.
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) - Static method in class org.apache.maven.api.plugin.testing.MojoExtension
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.AbstractMojoTestCase
Deprecated.
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
Deprecated.
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
 
goal() - Element in annotation type org.apache.maven.api.plugin.testing.InjectMojo
 

H

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

I

info(CharSequence) - Method in class org.apache.maven.plugin.testing.MojoLogWrapper
Deprecated.
 
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.MojoLogWrapper
Deprecated.
 
info(CharSequence, 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.
info(Throwable) - Method in class org.apache.maven.plugin.testing.MojoLogWrapper
Deprecated.
 
info(Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
InjectMojo - Annotation Type in org.apache.maven.api.plugin.testing
Annotation used in Maven plugin tests to inject and configure a Mojo instance.
injectPluginManagementInfo(Plugin) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, do nothing.
isAddedToClasspath() - Method in class org.apache.maven.plugin.testing.stubs.DefaultArtifactHandlerStub
isBlacklisted() - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
isBlocked() - 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.MojoLogWrapper
Deprecated.
 
isDebugEnabled() - Method in class org.apache.maven.plugin.testing.SilentLog
 
isErrorEnabled() - Method in class org.apache.maven.plugin.testing.MojoLogWrapper
Deprecated.
 
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.MojoLogWrapper
Deprecated.
 
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.MojoLogWrapper
Deprecated.
 
isWarnEnabled() - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.

L

lookup(Class<T>) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
lookupConfiguredMojo(File, String) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
lookupConfiguredMojo(MavenSession, MojoExecution) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
 
lookupConfiguredMojo(MavenSession, MojoExecution) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
lookupConfiguredMojo(MavenProject, String) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
 
lookupConfiguredMojo(MavenProject, String) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
lookupEmptyMojo(String, File) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
Lookup the mojo leveraging the actual subprojects pom
lookupEmptyMojo(String, File) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
Lookup the mojo leveraging the actual subprojects pom
lookupEmptyMojo(String, String) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
Lookup an empty mojo
lookupEmptyMojo(String, String) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
Lookup an empty mojo
lookupMojo(String, File) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
Lookup the mojo leveraging the actual subprojects pom
lookupMojo(String, File) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
Lookup the mojo leveraging the actual subprojects pom
lookupMojo(String, String) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
Lookup the mojo leveraging the subproject pom
lookupMojo(String, String) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
Lookup the mojo leveraging the subproject pom
lookupMojo(String, String, String, String, PlexusConfiguration) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
lookup the mojo while we have all of the relavent information
lookupMojo(String, String, String, String, PlexusConfiguration) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
lookupMojo(ExtensionContext, String[], Xpp3Dom, PluginDescriptor) - Method in class org.apache.maven.api.plugin.testing.MojoExtension
lookup the mojo while we have all the relevent information

M

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
mojoCoordinates(String, PluginDescriptor) - Method in class org.apache.maven.api.plugin.testing.MojoExtension
 
MojoExtension - Class in org.apache.maven.api.plugin.testing
JUnit Jupiter extension that provides support for testing Maven plugins (Mojos).
MojoExtension() - Constructor for class org.apache.maven.api.plugin.testing.MojoExtension
 
MojoLogWrapper - Class in org.apache.maven.plugin.testing
Deprecated.
As of version 3.4.0, it is advised to work with JUnit5 tests which do not use this class but Inject to inject a Log instance instead.
MojoLogWrapper(Logger) - Constructor for class org.apache.maven.plugin.testing.MojoLogWrapper
Deprecated.
 
MojoParameter - Annotation Type in org.apache.maven.api.plugin.testing
Specifies a parameter value for a Mojo in a Maven plugin test.
MojoParameters - Class in org.apache.maven.plugin.testing
Deprecated.
As of version 3.4.0, it is advised to work with JUnit5 tests which do not use this class but MojoParameters instead.
MojoParameters - Annotation Type in org.apache.maven.api.plugin.testing
Container annotation for multiple MojoParameter annotations.
MojoParameters() - Constructor for class org.apache.maven.plugin.testing.MojoParameters
Deprecated.
 
MojoRule - Class in org.apache.maven.plugin.testing
Deprecated.
As of version 3.4.0, it is advised to work with JUnit5 tests which do not use rules but extensions MojoExtension instead.
MojoRule() - Constructor for class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
MojoRule(AbstractMojoTestCase) - Constructor for class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
MojoTest - Annotation Type in org.apache.maven.api.plugin.testing
Annotation that enables Maven plugin (Mojo) testing support in JUnit tests.

N

name() - Element in annotation type org.apache.maven.api.plugin.testing.MojoParameter
 
newMavenSession(MavenProject) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
 
newMavenSession(MavenProject) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
newMojoExecution(String) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
 
newMojoExecution(String) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
newParameter(String, String) - Static method in class org.apache.maven.plugin.testing.MojoParameters
Deprecated.
 

O

org.apache.maven.api.di - package org.apache.maven.api.di
 
org.apache.maven.api.plugin.testing - package org.apache.maven.api.plugin.testing
 
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
 

P

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
 
pom() - Element in annotation type org.apache.maven.api.plugin.testing.InjectMojo
 
Provides - Annotation Type in org.apache.maven.api.di
Marks a method as a provider of beans for dependency injection.

R

readMavenProject(File) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
readModel(File) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
Loads the model for this stub from the specified POM.
replaceWithActiveArtifact(Artifact) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
By default, return null.
resolveParameter(ParameterContext, ExtensionContext) - Method in class org.apache.maven.api.plugin.testing.MojoExtension
 
ResolverExpressionEvaluatorStub - Class in org.apache.maven.plugin.testing
Deprecated.
This stub is for deprecated JUnit 4 style tests.
ResolverExpressionEvaluatorStub() - Constructor for class org.apache.maven.plugin.testing.ResolverExpressionEvaluatorStub
Deprecated.
 
rm(File, String) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
Deprecated.
 

S

selectVersion(String) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
By default, do nothing.
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.
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.
setBlocked(boolean) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
 
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
 
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
 
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
Deprecated.
 
setupContainer() - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
 
setupContainer() - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
setupContainerConfiguration() - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
 
setupContainerConfiguration() - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
 
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) - Static method in class org.apache.maven.api.plugin.testing.MojoExtension
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, T) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Deprecated.
Convenience method to set values to variables in objects that don't have setters
setVariableValueToObject(Object, String, T) - Method in class org.apache.maven.plugin.testing.MojoRule
Deprecated.
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
 
starting(Description) - Method in class org.apache.maven.plugin.testing.resources.TestResources
Deprecated.
 
StubArtifactRepository - Class in org.apache.maven.plugin.testing.stubs
 
StubArtifactRepository(String) - Constructor for class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
Default constructor
supportsParameter(ParameterContext, ExtensionContext) - Method in class org.apache.maven.api.plugin.testing.MojoExtension
 

T

TestResources - Class in org.apache.maven.plugin.testing.resources
Deprecated.
As of version 3.4.0, it is advised to work with JUnit5 tests which do not use rules but extensions MojoExtension instead.
TestResources() - Constructor for class org.apache.maven.plugin.testing.resources.TestResources
Deprecated.
 
TestResources(String, String) - Constructor for class org.apache.maven.plugin.testing.resources.TestResources
Deprecated.
 
toString() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
 
touch(File) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
Deprecated.
 
touch(File, String) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
Deprecated.
 

U

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

V

value() - Element in annotation type org.apache.maven.api.plugin.testing.Basedir
 
value() - Element in annotation type org.apache.maven.api.plugin.testing.MojoParameter
 
value() - Element in annotation type org.apache.maven.api.plugin.testing.MojoParameters
 

W

warn(CharSequence) - Method in class org.apache.maven.plugin.testing.MojoLogWrapper
Deprecated.
 
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.MojoLogWrapper
Deprecated.
 
warn(CharSequence, 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.
warn(Throwable) - Method in class org.apache.maven.plugin.testing.MojoLogWrapper
Deprecated.
 
warn(Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
By default, do nothing.
WithoutMojo - Annotation Type in org.apache.maven.plugin.testing
Deprecated.
As of version 3.4.0, it is advised to work with JUnit5 tests which do not use rules but extensions MojoExtension instead.
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.
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form