org.apache.maven.artifact.ant

Class Pom

public class Pom extends AbstractArtifactTask

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}

Version: $Id: Pom.java 357237 2005-12-16 21:27:43Z jdcasey $

Author: Brett Porter Nicola Ken Barozzi

Method Summary
protected voiddoExecute()
Registers POMPropertyHelper as a property interceptor
StringgetArtifactId()
BuildgetBuild()
CiManagementgetCiManagement()
ListgetContributors()
ListgetDependencies()
DependencyManagementgetDependencyManagement()
StringgetDescription()
ListgetDevelopers()
DistributionManagementgetDistributionManagement()
FilegetFile()
StringgetGroupId()
StringgetId()
StringgetInceptionYear()
protected PomgetInstance()
IssueManagementgetIssueManagement()
ListgetLicenses()
ListgetMailingLists()
protected MavenProjectgetMavenProject()
StringgetModelVersion()
ListgetModules()
StringgetName()
OrganizationgetOrganization()
StringgetPackaging()
ListgetPluginRepositories()
StringgetRefid()
ReportinggetReporting()
ListgetRepositories()
ScmgetScm()
StringgetUrl()
StringgetVersion()
voidsetFile(File file)
voidsetId(String id)
voidsetMavenProject(MavenProject mavenProject)
voidsetRefid(String refid)

Method Detail

doExecute

protected void doExecute()
Registers POMPropertyHelper as a property interceptor

getArtifactId

public String getArtifactId()

getBuild

public Build getBuild()

getCiManagement

public CiManagement getCiManagement()

getContributors

public List getContributors()

getDependencies

public List getDependencies()

getDependencyManagement

public DependencyManagement getDependencyManagement()

getDescription

public String getDescription()

getDevelopers

public List getDevelopers()

getDistributionManagement

public DistributionManagement getDistributionManagement()

getFile

public File getFile()

getGroupId

public String getGroupId()

getId

public String getId()

getInceptionYear

public String getInceptionYear()

getInstance

protected Pom getInstance()

getIssueManagement

public IssueManagement getIssueManagement()

getLicenses

public List getLicenses()

getMailingLists

public List getMailingLists()

getMavenProject

protected MavenProject getMavenProject()

getModelVersion

public String getModelVersion()

getModules

public List getModules()

getName

public String getName()

getOrganization

public Organization getOrganization()

getPackaging

public String getPackaging()

getPluginRepositories

public List getPluginRepositories()

getRefid

public String getRefid()

getReporting

public Reporting getReporting()

getRepositories

public List getRepositories()

getScm

public Scm getScm()

getUrl

public String getUrl()

getVersion

public String getVersion()

setFile

public void setFile(File file)

setId

public void setId(String id)

setMavenProject

public void setMavenProject(MavenProject mavenProject)

setRefid

public void setRefid(String refid)
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.