Save This Page
Home » maven-ant-tasks-2.1.0-src » org.apache » maven » artifact » ant » [javadoc | source]
org.apache.maven.artifact.ant
public class: Pom [javadoc | source]
java.lang.Object
   org.apache.tools.ant.ProjectComponent
      org.apache.tools.ant.Task
         org.apache.maven.artifact.ant.AbstractArtifactTask
            org.apache.maven.artifact.ant.AbstractArtifactWithRepositoryTask
               org.apache.maven.artifact.ant.Pom

All Implemented Interfaces:
    Cloneable

A POM typedef. Also an Ant Task that registers a handler called POMPropertyHelper that intercepts all calls to property value resolution and replies instead of Ant to properties that start with the id of the pom. Example: ${maven.project.artifactId}
Fields inherited from org.apache.maven.artifact.ant.AbstractArtifactWithRepositoryTask:
MD5_ALGO_NAME,  UTF_ENC_NAME
Fields inherited from org.apache.tools.ant.Task:
target,  taskName,  taskType,  wrapper
Fields inherited from org.apache.tools.ant.ProjectComponent:
project,  location,  description
Method from org.apache.maven.artifact.ant.Pom Summary:
addConfiguredCiManagement,   addConfiguredContributor,   addConfiguredDependency,   addConfiguredDependencyManagement,   addConfiguredDeveloper,   addConfiguredIssueManagement,   addConfiguredLicense,   addConfiguredMailingLists,   addConfiguredOrganization,   addConfiguredScm,   addProfile,   attach,   doExecute,   getAntProjectProperties,   getArtifact,   getArtifactId,   getAttachedArtifacts,   getBuild,   getCiManagement,   getContributors,   getDependencies,   getDependencyManagement,   getDescription,   getDevelopers,   getDistributionManagement,   getFile,   getGroupId,   getId,   getInceptionYear,   getIssueManagement,   getLicenses,   getMailingLists,   getMavenProject,   getModel,   getModelVersion,   getModules,   getName,   getOrganization,   getPackaging,   getPluginRepositories,   getPomFromAntProject,   getProfiles,   getRefid,   getReporting,   getRepositories,   getScm,   getUrl,   getVersion,   initialiseMavenProject,   isInheritAllProperties,   setArtifactId,   setDescription,   setFile,   setGroupId,   setId,   setInceptionYear,   setInheritAllProperties,   setMavenProject,   setName,   setPackaging,   setRefid,   setUrl,   setVersion
Methods from org.apache.maven.artifact.ant.AbstractArtifactWithRepositoryTask:
addConfiguredRemoteRepository,   createRemoteArtifactRepositories,   createRemoteArtifactRepositories,   generateDefaultRepositoryId,   getRemoteRepositories
Methods from org.apache.maven.artifact.ant.AbstractArtifactTask:
addLocalRepository,   addPom,   createAntRemoteRepository,   createAntRemoteRepositoryBase,   createDummyArtifact,   createDummyPom,   createLocalArtifactRepository,   createMinimalProject,   createRemoteArtifactRepository,   diagnoseError,   doExecute,   execute,   getArtifactRepositoryFactory,   getContainer,   getDefaultLocalRepository,   getLocalRepository,   getPom,   getPomRefId,   getProfileManager,   getSettings,   getSupportedProtocols,   getSupportedProtocolsAsString,   initializePom,   isExternalRepo,   lookup,   lookup,   matchPattern,   releaseArtifactRepositoryFactory,   setPomRefId,   setProfiles,   setSettingsFile,   showVersion,   updateRepositoryWithSettings
Methods from org.apache.tools.ant.Task:
bindToOwner,   execute,   getOwningTarget,   getRuntimeConfigurableWrapper,   getTaskName,   getTaskType,   getWrapper,   handleErrorFlush,   handleErrorOutput,   handleFlush,   handleInput,   handleOutput,   init,   isInvalid,   log,   log,   log,   log,   markInvalid,   maybeConfigure,   perform,   reconfigure,   setOwningTarget,   setRuntimeConfigurableWrapper,   setTaskName,   setTaskType
Methods from org.apache.tools.ant.ProjectComponent:
clone,   getDescription,   getLocation,   getProject,   log,   log,   setDescription,   setLocation,   setProject
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.maven.artifact.ant.Pom Detail:
 public  void addConfiguredCiManagement(CiManagement ciManagement) 
 public  void addConfiguredContributor(Contributor contributor) 
 public  void addConfiguredDependency(Dependency dependency) 
 public  void addConfiguredDependencyManagement(DependencyManagement dependencyManagement) 
 public  void addConfiguredDeveloper(Developer developer) 
 public  void addConfiguredIssueManagement(IssueManagement issueManagement) 
 public  void addConfiguredLicense(License license) 
 public  void addConfiguredMailingLists(MailingList mailingList) 
 public  void addConfiguredOrganization(Organization organization) 
 public  void addConfiguredScm(Scm scm) 
 public  void addProfile(Profile activeProfile) 
 public  void attach(AttachedArtifact attached) 
 protected  void doExecute() 
    Registers POMPropertyHelper as a property interceptor
 public Properties getAntProjectProperties() 
    Convert the Hashtable of Ant project properties to a Properties object
 public Artifact getArtifact() 
 public String getArtifactId() 
 public List getAttachedArtifacts() 
 public Build getBuild() 
 public CiManagement getCiManagement() 
 public List getContributors() 
 public List getDependencies() 
 public DependencyManagement getDependencyManagement() 
 public String getDescription() 
 public List getDevelopers() 
 public DistributionManagement getDistributionManagement() 
 public File getFile() 
 public String getGroupId() 
 public String getId() 
 public String getInceptionYear() 
 public IssueManagement getIssueManagement() 
 public List getLicenses() 
 public List getMailingLists() 
 protected MavenProject getMavenProject() 
 public Model getModel() 
 public String getModelVersion() 
 public List getModules() 
 public String getName() 
 public Organization getOrganization() 
 public String getPackaging() 
 public List getPluginRepositories() 
 protected  void getPomFromAntProject(String refid) 
    Retrieve the pom object from the current Ant project using the configured refid.
 public List getProfiles() 
 public String getRefid() 
 public Reporting getReporting() 
 public List getRepositories() 
 public Scm getScm() 
 public String getUrl() 
 public String getVersion() 
 public  void initialiseMavenProject(MavenProjectBuilder builder,
    ArtifactRepository localRepository) 
 public boolean isInheritAllProperties() 
 public  void setArtifactId(String artifactId) 
 public  void setDescription(String description) 
 public  void setFile(File file) 
 public  void setGroupId(String groupId) 
 public  void setId(String id) 
    The ID used to store this pom object in the Ant project.
 public  void setInceptionYear(String inceptionYear) 
 public  void setInheritAllProperties(boolean inheritAllProperties) 
    If set to true, all properties are passed to the maven pom. If set to false, only user properties are passed to the pom.
 public  void setMavenProject(MavenProject mavenProject) 
 public  void setName(String name) 
 public  void setPackaging(String packaging) 
 public  void setRefid(String refid) 
    The ID used to retrieve this pom object from the Ant project.
 public  void setUrl(String url) 
 public  void setVersion(String version)