Index
All Classes and Interfaces|All Packages|Serialized Form
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
- 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
- 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.api.plugin.testing.ResolverExpressionEvaluatorStub
- alignToBaseDirectory(File) - Method in class org.apache.maven.plugin.testing.ResolverExpressionEvaluatorStub
- apply(Statement, Description) - Method in class org.apache.maven.plugin.testing.MojoRule
- ArtifactStub - Class in org.apache.maven.api.plugin.testing.stubs
- ArtifactStub - Class in org.apache.maven.plugin.testing.stubs
-
Stub class for
Artifact
testing. - ArtifactStub() - Constructor for class org.apache.maven.api.plugin.testing.stubs.ArtifactStub
- ArtifactStub() - Constructor for class org.apache.maven.plugin.testing.stubs.ArtifactStub
- ArtifactStub(String, String, String, String, String) - Constructor for class org.apache.maven.api.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
- attachArtifact(String, String, File) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
-
By default, do nothing.
B
- 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.
- 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 in org.apache.maven.api.plugin.testing
-
ConfigurationException
- ConfigurationException - Exception in org.apache.maven.plugin.testing
-
ConfigurationException
- ConfigurationException(String) - Constructor for exception org.apache.maven.api.plugin.testing.ConfigurationException
- ConfigurationException(String) - Constructor for exception org.apache.maven.plugin.testing.ConfigurationException
- ConfigurationException(String, Throwable) - Constructor for exception org.apache.maven.api.plugin.testing.ConfigurationException
- ConfigurationException(String, Throwable) - Constructor for exception org.apache.maven.plugin.testing.ConfigurationException
- ConfigurationException(Throwable) - Constructor for exception org.apache.maven.api.plugin.testing.ConfigurationException
- ConfigurationException(Throwable) - Constructor for exception org.apache.maven.plugin.testing.ConfigurationException
- configureMojo(T, String, File) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
-
Configure the mojo
- configureMojo(T, String, File) - Method in class org.apache.maven.plugin.testing.MojoRule
- configureMojo(T, PlexusConfiguration) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
-
Configure the mojo with the given plexus configuration
- configureMojo(T, PlexusConfiguration) - Method in class org.apache.maven.plugin.testing.MojoRule
- 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
. - createUnpackableFile(Artifact, File) - Method in class org.apache.maven.plugin.testing.ArtifactStubFactory
D
- debug(CharSequence) - Method in class org.apache.maven.plugin.testing.MojoLogWrapper
- 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
- 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
- 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
- empty() - Element in annotation type org.apache.maven.api.plugin.testing.InjectMojo
- equals(Object) - Method in class org.apache.maven.api.plugin.testing.stubs.ArtifactStub
- error(CharSequence) - Method in class org.apache.maven.plugin.testing.MojoLogWrapper
- 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
- 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
- error(Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
-
By default, do nothing.
- evaluate(String) - Method in class org.apache.maven.api.plugin.testing.ResolverExpressionEvaluatorStub
- evaluate(String) - Method in class org.apache.maven.plugin.testing.ResolverExpressionEvaluatorStub
- evaluate(String, Class<?>) - Method in class org.apache.maven.api.plugin.testing.ResolverExpressionEvaluatorStub
- executeMojo(File, String) - 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
- executeMojo(MavenProject, String, Xpp3Dom...) - Method in class org.apache.maven.plugin.testing.MojoRule
- extractPluginConfiguration(String, File) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
- extractPluginConfiguration(String, File) - Method in class org.apache.maven.plugin.testing.MojoRule
- 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
- extractPluginConfiguration(String, Xpp3Dom) - Method in class org.apache.maven.plugin.testing.MojoRule
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.api.plugin.testing.stubs.ProjectStub
- 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.api.plugin.testing.stubs.ArtifactStub
- getArtifactId() - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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() - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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
-
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.api.plugin.testing.stubs.ArtifactStub
- 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
- getConfiguration() - Method in class org.apache.maven.api.plugin.testing.stubs.MojoExecutionStub
- 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.api.plugin.testing.stubs.ProjectStub
- 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
- getExecutionId() - Method in class org.apache.maven.api.plugin.testing.stubs.MojoExecutionStub
- getExecutionProject() - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
-
By default, return
null
. - getExtension() - Method in class org.apache.maven.api.plugin.testing.stubs.ArtifactStub
- 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.
- getGoal() - Method in class org.apache.maven.api.plugin.testing.stubs.MojoExecutionStub
- 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.api.plugin.testing.stubs.ArtifactStub
- getGroupId() - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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
. - getManagedDependencies() - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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
- getMockSession(String) - Static method in class org.apache.maven.api.plugin.testing.stubs.SessionStub
- getMockSession(LocalRepository) - Static method in class org.apache.maven.api.plugin.testing.stubs.SessionStub
- getModel() - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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.api.plugin.testing.stubs.ProjectStub
- 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.api.plugin.testing.stubs.ProjectStub
- 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.api.plugin.testing.stubs.ProjectStub
- 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
. - getPlugin() - Method in class org.apache.maven.api.plugin.testing.stubs.MojoExecutionStub
- 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
- 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
. - getPomPath() - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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
- 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
. - getRemotePluginRepositories() - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- getRemoteProjectRepositories() - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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
-
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.
- 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
-
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.
- 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
-
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.api.plugin.testing.stubs.ArtifactStub
- getVersion() - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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
- hashCode() - Method in class org.apache.maven.api.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
- 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
- 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
- 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
- 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
- isDebugEnabled() - Method in class org.apache.maven.plugin.testing.SilentLog
- isErrorEnabled() - Method in class org.apache.maven.plugin.testing.MojoLogWrapper
- isErrorEnabled() - Method in class org.apache.maven.plugin.testing.SilentLog
- isExecutionRoot() - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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
- 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.api.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
- 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
- lookupConfiguredMojo(File, String) - Method in class org.apache.maven.plugin.testing.MojoRule
- lookupConfiguredMojo(MavenSession, MojoExecution) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
- lookupConfiguredMojo(MavenSession, MojoExecution) - Method in class org.apache.maven.plugin.testing.MojoRule
- lookupConfiguredMojo(MavenProject, String) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
- lookupConfiguredMojo(MavenProject, String) - Method in class org.apache.maven.plugin.testing.MojoRule
- lookupEmptyMojo(String, File) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
-
Lookup the mojo leveraging the actual subprojects pom
- lookupEmptyMojo(String, File) - Method in class org.apache.maven.plugin.testing.MojoRule
-
Lookup the mojo leveraging the actual subprojects pom
- lookupEmptyMojo(String, String) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
-
Lookup an empty mojo
- lookupEmptyMojo(String, String) - Method in class org.apache.maven.plugin.testing.MojoRule
-
Lookup an empty mojo
- lookupMojo(String[], XmlNode, PluginDescriptor) - Method in class org.apache.maven.api.plugin.testing.MojoExtension
-
lookup the mojo while we have all of the relavent information
- lookupMojo(String, File) - Method in class org.apache.maven.plugin.testing.AbstractMojoTestCase
-
Lookup the mojo leveraging the actual subprojects pom
- lookupMojo(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, String) - Method in class org.apache.maven.plugin.testing.MojoRule
-
Lookup the mojo leveraging the subproject 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, String, String, PlexusConfiguration) - Method in class org.apache.maven.plugin.testing.MojoRule
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) - Method in class org.apache.maven.api.plugin.testing.MojoExtension
- MojoExecutionStub - Class in org.apache.maven.api.plugin.testing.stubs
-
Stub for
MojoExecution
. - MojoExecutionStub(String, String, String) - Constructor for class org.apache.maven.api.plugin.testing.stubs.MojoExecutionStub
- MojoExecutionStub(String, String, String, XmlNode) - Constructor for class org.apache.maven.api.plugin.testing.stubs.MojoExecutionStub
- MojoExtension - Class in org.apache.maven.api.plugin.testing
- MojoExtension() - Constructor for class org.apache.maven.api.plugin.testing.MojoExtension
- MojoLogWrapper - Class in org.apache.maven.plugin.testing
- MojoLogWrapper(Logger) - Constructor for class org.apache.maven.plugin.testing.MojoLogWrapper
- MojoParameter - Annotation Type in org.apache.maven.api.plugin.testing
-
Mojo parameter
- MojoParameters - Class in org.apache.maven.plugin.testing
-
Static helpers to create and manipulate mojo execution configuration parameters
- MojoParameters - Annotation Type in org.apache.maven.api.plugin.testing
-
Mojo parameters container
- 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
- MojoTest - Annotation Type in org.apache.maven.api.plugin.testing
N
- name() - Element in annotation type org.apache.maven.api.plugin.testing.MojoParameter
- 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.api.plugin.testing - package org.apache.maven.api.plugin.testing
- org.apache.maven.api.plugin.testing.stubs - package org.apache.maven.api.plugin.testing.stubs
- 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
- ProjectStub - Class in org.apache.maven.api.plugin.testing.stubs
- ProjectStub() - Constructor for class org.apache.maven.api.plugin.testing.stubs.ProjectStub
R
- 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.
- 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.api.plugin.testing
-
Stub for
ExpressionEvaluator
- ResolverExpressionEvaluatorStub - Class in org.apache.maven.plugin.testing
-
Stub for
ExpressionEvaluator
- ResolverExpressionEvaluatorStub() - Constructor for class org.apache.maven.plugin.testing.ResolverExpressionEvaluatorStub
- ResolverExpressionEvaluatorStub(Map<String, Object>) - Constructor for class org.apache.maven.api.plugin.testing.ResolverExpressionEvaluatorStub
- rm(File, String) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
S
- selectVersion(String) - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
-
By default, do nothing.
- SessionStub - Class in org.apache.maven.api.plugin.testing.stubs
- SessionStub() - Constructor for class org.apache.maven.api.plugin.testing.stubs.SessionStub
- 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.api.plugin.testing.stubs.ProjectStub
- 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.api.plugin.testing.stubs.ArtifactStub
- setArtifactId(String) - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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.
- setBasedir(Path) - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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.api.plugin.testing.stubs.ArtifactStub
- 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.api.plugin.testing.stubs.ProjectStub
- setExecutionRoot(boolean) - Method in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
- setExtension(String) - Method in class org.apache.maven.api.plugin.testing.stubs.ArtifactStub
- 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.api.plugin.testing.stubs.ArtifactStub
- setGroupId(String) - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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.
- setMavenModel(Model) - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- setMirroredRepositories(List<ArtifactRepository>) - Method in class org.apache.maven.plugin.testing.stubs.StubArtifactRepository
- setModel(Model) - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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.api.plugin.testing.stubs.ProjectStub
- 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.api.plugin.testing.stubs.ProjectStub
- 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.
- setPomPath(File) - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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
- 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) - 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
-
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
-
Convenience method to set values to variables in objects that don't have setters
- setVersion(String) - Method in class org.apache.maven.api.plugin.testing.stubs.ArtifactStub
- setVersion(String) - Method in class org.apache.maven.api.plugin.testing.stubs.ProjectStub
- 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
- 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
-
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
- toCoordinate() - Method in class org.apache.maven.api.plugin.testing.stubs.ArtifactStub
- toString() - Method in class org.apache.maven.api.plugin.testing.stubs.ArtifactStub
- toString() - Method in class org.apache.maven.plugin.testing.stubs.ArtifactStub
- touch(File) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
- touch(File, String) - Static method in class org.apache.maven.plugin.testing.resources.TestResources
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.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
- 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
- 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
- warn(Throwable) - Method in class org.apache.maven.plugin.testing.SilentLog
-
By default, do nothing.
- 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. - 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.
All Classes and Interfaces|All Packages|Serialized Form