org.apache.maven.plugin.testing.stubs
public class MavenProjectStub extends MavenProject
Constructor Summary | |
---|---|
MavenProjectStub() | |
MavenProjectStub(Model model) | |
MavenProjectStub(MavenProject project) |
Method Summary | |
---|---|
void | addAttachedArtifact(Artifact artifact) |
void | addCompileSourceRoot(String string) |
void | addContributor(Contributor contributor) |
void | addDeveloper(Developer developer) |
void | addLicense(License license) |
void | addMailingList(MailingList mailingList) |
void | addPlugin(Plugin plugin) |
void | addProjectReference(MavenProject mavenProject) |
void | addResource(Resource resource) |
void | addScriptSourceRoot(String string) |
void | addTestCompileSourceRoot(String string) |
void | addTestResource(Resource resource) |
void | attachArtifact(String string, String string1, File file) |
Set | createArtifacts(ArtifactFactory artifactFactory, String string, ArtifactFilter artifactFilter) |
List | getActiveProfiles() |
Artifact | getArtifact() |
String | getArtifactId() |
Map | getArtifactMap() |
Set | getArtifacts() |
List | getAttachedArtifacts() |
File | getBasedir() |
Build | getBuild() |
List | getBuildExtensions() |
List | getBuildPlugins() |
CiManagement | getCiManagement() |
List | getCollectedProjects() |
List | getCompileArtifacts() |
List | getCompileClasspathElements() |
List | getCompileDependencies() |
List | getCompileSourceRoots() |
List | getContributors() |
String | getDefaultGoal() |
List | getDependencies() |
Set | getDependencyArtifacts() |
DependencyManagement | getDependencyManagement() |
String | getDescription() |
List | getDevelopers() |
DistributionManagement | getDistributionManagement() |
ArtifactRepository | getDistributionManagementArtifactRepository() |
MavenProject | getExecutionProject() |
Map | getExtensionArtifactMap() |
Set | getExtensionArtifacts() |
File | getFile() |
List | getFilters() |
Xpp3Dom | getGoalConfiguration(String string, String string1, String string2, String string3) |
String | getGroupId() |
String | getId() |
String | getInceptionYear() |
IssueManagement | getIssueManagement() |
List | getLicenses() |
List | getMailingLists() |
Model | getModel() |
String | getModelVersion() |
String | getModulePathAdjustment(MavenProject mavenProject) |
List | getModules() |
String | getName() |
Organization | getOrganization() |
Model | getOriginalModel() |
String | getPackaging() |
MavenProject | getParent() |
Artifact | getParentArtifact() |
Map | getPluginArtifactMap() |
List | getPluginArtifactRepositories() |
Set | getPluginArtifacts() |
PluginManagement | getPluginManagement() |
List | getPluginRepositories() |
Prerequisites | getPrerequisites() |
Map | getProjectReferences() |
Properties | getProperties() |
List | getRemoteArtifactRepositories() |
Map | getReportArtifactMap() |
Set | getReportArtifacts() |
Xpp3Dom | getReportConfiguration(String string, String string1, String string2) |
Reporting | getReporting() |
List | getReportPlugins() |
List | getRepositories() |
List | getResources() |
List | getRuntimeArtifacts() |
List | getRuntimeClasspathElements() |
List | getRuntimeDependencies() |
Scm | getScm() |
List | getScriptSourceRoots() |
List | getSystemArtifacts() |
List | getSystemClasspathElements() |
List | getSystemDependencies() |
List | getTestArtifacts() |
List | getTestClasspathElements() |
List | getTestCompileSourceRoots() |
List | getTestDependencies() |
List | getTestResources() |
String | getUrl() |
String | getVersion() |
boolean | hasParent() |
void | injectPluginManagementInfo(Plugin plugin) |
boolean | isExecutionRoot() |
Artifact | replaceWithActiveArtifact(Artifact artifact) |
void | setActiveProfiles(List list) |
void | setArtifact(Artifact artifact) |
void | setArtifactId(String string) |
void | setArtifactMap(Map artifactMap) |
void | setArtifacts(Set set) |
void | setAttachedArtifacts(List attachedArtifacts) |
void | setBuild(Build build) |
void | setBuildOverlay(Build buildOverlay) |
void | setCiManagement(CiManagement ciManagement) |
void | setCollectedProjects(List list) |
void | setCompileArtifacts(List compileArtifacts) |
void | setCompileDependencies(List compileDependencies) |
void | setCompileSourceRoots(List compileSourceRoots) |
void | setContributors(List list) |
void | setDependencies(List list) |
void | setDependencyArtifacts(Set set) |
void | setDescription(String string) |
void | setDevelopers(List list) |
void | setDistributionManagement(DistributionManagement distributionManagement) |
void | setExecutionProject(MavenProject mavenProject) |
void | setExecutionRoot(boolean b) |
void | setExtensionArtifactMap(Map extensionArtifactMap) |
void | setExtensionArtifacts(Set set) |
void | setFile(File file) |
void | setGroupId(String string) |
void | setInceptionYear(String string) |
void | setIssueManagement(IssueManagement issueManagement) |
void | setLicenses(List list) |
void | setMailingLists(List list) |
void | setModel(Model model) |
void | setModelVersion(String string) |
void | setName(String string) |
void | setOrganization(Organization organization) |
void | setOriginalModel(Model model) |
void | setPackaging(String string) |
void | setParent(MavenProject mavenProject) |
void | setParentArtifact(Artifact artifact) |
void | setPluginArtifactMap(Map pluginArtifactMap) |
void | setPluginArtifactRepositories(List list) |
void | setPluginArtifacts(Set set) |
void | setProjectReferences(Map projectReferences) |
void | setReleaseArtifactRepository(ArtifactRepository artifactRepository) |
void | setRemoteArtifactRepositories(List list) |
void | setReportArtifactMap(Map reportArtifactMap) |
void | setReportArtifacts(Set set) |
void | setReporting(Reporting reporting) |
void | setRuntimeArtifacts(List runtimeArtifacts) |
void | setRuntimeClasspathElements(List runtimeClasspathElements) |
void | setRuntimeDependencies(List runtimeDependencies) |
void | setScm(Scm scm) |
void | setScriptSourceRoots(List scriptSourceRoots) |
void | setSnapshotArtifactRepository(ArtifactRepository artifactRepository) |
void | setSystemArtifacts(List systemArtifacts) |
void | setSystemClasspathElements(List systemClasspathElements) |
void | setSystemDependencies(List systemDependencies) |
void | setTestArtifacts(List testArtifacts) |
void | setTestClasspathElements(List testClasspathElements) |
void | setTestCompileSourceRoots(List testCompileSourceRoots) |
void | setTestDependencies(List testDependencies) |
void | setUrl(String string) |
void | setVersion(String string) |
void | writeModel(Writer writer) |
void | writeOriginalModel(Writer writer) |