Class MavenProjectBasicStub

java.lang.Object
org.apache.maven.project.MavenProject
org.apache.maven.plugin.resources.remote.stub.MavenProjectBasicStub
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
MavenProjectBuildStub

public class MavenProjectBasicStub extends org.apache.maven.project.MavenProject
Stub
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected ArtifactStub
     
    protected String
     
    protected File
     
    protected String
     
    protected ModelStub
     
    protected Properties
     
    protected String
     

    Fields inherited from class org.apache.maven.project.MavenProject

    EMPTY_PROJECT_ARTIFACT_ID, EMPTY_PROJECT_GROUP_ID, EMPTY_PROJECT_VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addProperty(String key, String value)
     
    org.apache.maven.artifact.Artifact
     
     
     
     
     
     
     
     
     
    void
     

    Methods inherited from class org.apache.maven.project.MavenProject

    addAttachedArtifact, addCompileSourceRoot, addContributor, addDeveloper, addLicense, addLifecyclePhase, addMailingList, addProjectReference, addResource, addScriptSourceRoot, addTestCompileSourceRoot, addTestResource, attachArtifact, clone, createArtifacts, equals, getActiveProfiles, getArtifactMap, getArtifacts, getAttachedArtifacts, getBuild, getBuildExtensions, getBuildPlugins, getCiManagement, getClassRealm, getCollectedProjects, getCompileArtifacts, getCompileClasspathElements, getCompileDependencies, getCompileSourceRoots, getContextValue, getContributors, getDefaultGoal, getDependencies, getDependencyArtifacts, getDependencyManagement, getDevelopers, getDistributionManagement, getDistributionManagementArtifactRepository, getExecutionProject, getExtensionArtifactMap, getExtensionArtifacts, getExtensionDependencyFilter, getFile, getFilters, getGoalConfiguration, getId, getInceptionYear, getInjectedProfileIds, getIssueManagement, getLicenses, getMailingLists, getManagedVersionMap, getModel, getModelVersion, getModulePathAdjustment, getModules, getOrganization, getOriginalModel, getParent, getParentArtifact, getParentFile, getPlugin, getPluginArtifactMap, getPluginArtifactRepositories, getPluginArtifacts, getPluginManagement, getPluginRepositories, getPrerequisites, getProjectBuildingRequest, getProjectReferences, getReleaseArtifactRepository, getRemoteArtifactRepositories, getRemotePluginRepositories, getRemoteProjectRepositories, getReportArtifactMap, getReportArtifacts, getReportConfiguration, getReporting, getReportPlugins, getRepositories, getResources, getRuntimeArtifacts, getRuntimeClasspathElements, getRuntimeDependencies, getScm, getScriptSourceRoots, getSnapshotArtifactRepository, getSystemArtifacts, getSystemClasspathElements, getSystemDependencies, getTestArtifacts, getTestClasspathElements, getTestCompileSourceRoots, getTestDependencies, getTestResources, getUrl, hashCode, hasLifecyclePhase, hasParent, isExecutionRoot, replaceWithActiveArtifact, setActiveProfiles, setArtifact, setArtifactFilter, setArtifactId, setArtifacts, setAttachedArtifacts, setBuild, setCiManagement, setClassRealm, setCollectedProjects, setCompileSourceRoots, setContextValue, setContributors, setDependencies, setDependencyArtifacts, setDevelopers, setDistributionManagement, setExecutionProject, setExecutionRoot, setExtensionArtifacts, setExtensionDependencyFilter, setFile, setGroupId, setInceptionYear, setInjectedProfileIds, setIssueManagement, setLicenses, setMailingLists, setManagedVersionMap, setModel, setModelVersion, setName, setOrganization, setOriginalModel, setPackaging, setParent, setParentArtifact, setParentFile, setPluginArtifactRepositories, setPluginArtifacts, setPomFile, setProjectBuildingRequest, setReleaseArtifactRepository, setRemoteArtifactRepositories, setReportArtifacts, setReporting, setResolvedArtifacts, setScm, setScriptSourceRoots, setSnapshotArtifactRepository, setTestCompileSourceRoots, setUrl, setVersion, toString, writeModel, writeOriginalModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • identifier

      protected String identifier
    • testRootDir

      protected String testRootDir
    • properties

      protected Properties properties
    • description

      protected String description
    • modelStub

      protected ModelStub modelStub
    • file

      protected File file
    • artifact

      protected ArtifactStub artifact
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Overrides:
      getName in class org.apache.maven.project.MavenProject
    • setDescription

      public void setDescription(String desc)
      Overrides:
      setDescription in class org.apache.maven.project.MavenProject
    • getDescription

      public String getDescription()
      Overrides:
      getDescription in class org.apache.maven.project.MavenProject
    • getBasedir

      public File getBasedir()
      Overrides:
      getBasedir in class org.apache.maven.project.MavenProject
    • getArtifact

      public org.apache.maven.artifact.Artifact getArtifact()
      Overrides:
      getArtifact in class org.apache.maven.project.MavenProject
    • getGroupId

      public String getGroupId()
      Overrides:
      getGroupId in class org.apache.maven.project.MavenProject
    • getArtifactId

      public String getArtifactId()
      Overrides:
      getArtifactId in class org.apache.maven.project.MavenProject
    • getPackaging

      public String getPackaging()
      Overrides:
      getPackaging in class org.apache.maven.project.MavenProject
    • getVersion

      public String getVersion()
      Overrides:
      getVersion in class org.apache.maven.project.MavenProject
    • addProperty

      public void addProperty(String key, String value)
    • getProperties

      public Properties getProperties()
      Overrides:
      getProperties in class org.apache.maven.project.MavenProject