Class MavenProjectBuildStub

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

public class MavenProjectBuildStub extends MavenProjectBasicStub
Stub
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.maven.model.Build
     
    protected String
     
    protected HashMap<String,String>
     
    protected ArrayList<String>
     
    static final int
     
    protected String
     
    static final int
     
    protected String
     
    protected ArrayList<String>
     
    static final int
     
    protected ArrayList<String>
     
    static final int
     
    protected ArrayList<String>
     
    protected String
     
    protected ArrayList<String>
     
    protected String
     
    protected String
     
    protected String
     
    protected String
     
    protected String
     

    Fields inherited from class org.apache.maven.plugin.resources.remote.stub.MavenProjectBasicStub

    artifact, description, file, identifier, modelStub, properties, testRootDir

    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
     
    void
    addFile(String name, int type)
     
    void
    addFile(String name, String data, int type)
     
    org.apache.maven.model.Build
     
     
     
     
     
    void
     
    void
     

    Methods inherited from class org.apache.maven.plugin.resources.remote.stub.MavenProjectBasicStub

    addProperty, getArtifact, getArtifactId, getBasedir, getDescription, getGroupId, getName, getPackaging, getProperties, getVersion, setDescription

    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, 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

    • RESOURCES_FILE

      public static final int RESOURCES_FILE
      See Also:
    • ROOT_FILE

      public static final int ROOT_FILE
      See Also:
    • OUTPUT_FILE

      public static final int OUTPUT_FILE
      See Also:
    • SOURCE_FILE

      public static final int SOURCE_FILE
      See Also:
    • build

      protected org.apache.maven.model.Build build
    • srcDirectory

      protected String srcDirectory
    • targetDirectory

      protected String targetDirectory
    • buildDirectory

      protected String buildDirectory
    • outputDirectory

      protected String outputDirectory
    • testOutputDirectory

      protected String testOutputDirectory
    • resourcesDirectory

      protected String resourcesDirectory
    • testResourcesDirectory

      protected String testResourcesDirectory
    • targetResourceDirectory

      protected String targetResourceDirectory
    • targetTestResourcesDirectory

      protected String targetTestResourcesDirectory
    • targetClassesList

      protected ArrayList<String> targetClassesList
    • sourceFileList

      protected ArrayList<String> sourceFileList
    • resourcesFileList

      protected ArrayList<String> resourcesFileList
    • rootFileList

      protected ArrayList<String> rootFileList
    • directoryList

      protected ArrayList<String> directoryList
    • dataMap

      protected HashMap<String,String> dataMap
  • Constructor Details

  • Method Details

    • addDirectory

      public void addDirectory(String name)
    • setOutputDirectory

      public void setOutputDirectory(String dir)
    • addFile

      public void addFile(String name, int type)
    • addFile

      public void addFile(String name, String data, int type)
    • getOutputDirectory

      public String getOutputDirectory()
    • getTestOutputDirectory

      public String getTestOutputDirectory()
    • getResourcesDirectory

      public String getResourcesDirectory()
    • getTestResourcesDirectory

      public String getTestResourcesDirectory()
    • getBuild

      public org.apache.maven.model.Build getBuild()
      Overrides:
      getBuild in class org.apache.maven.project.MavenProject
    • setupBuildEnvironment

      public void setupBuildEnvironment() throws Exception
      Throws:
      Exception