Package org.apache.maven.model
Class DistributionManagement
java.lang.Object
org.apache.maven.model.DistributionManagement
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
public class DistributionManagement
extends Object
implements Serializable, Cloneable, InputLocationTracker
This elements describes all that pertains to distribution for a
 project. It is
         primarily used for deployment of artifacts and the site
 produced by the build.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Method clone.Get the URL of the project's download page.getLocation(Object key) Gets the location of the specified field in the input source.Get relocation information of the artifact if it has been moved to a new group ID and/or artifact ID.Get information needed to deploy the artifacts generated by the project to a remote repository.getSite()Get information needed for deploying the web site of the project.Get where to deploy snapshots of artifacts to.Get gives the status of this artifact in the remote repository.voidsetDownloadUrl(String downloadUrl) Set the URL of the project's download page.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetOtherLocation(Object key, InputLocation location) voidsetRelocation(Relocation relocation) Set relocation information of the artifact if it has been moved to a new group ID and/or artifact ID.voidsetRepository(DeploymentRepository repository) Set information needed to deploy the artifacts generated by the project to a remote repository.voidSet information needed for deploying the web site of the project.voidsetSnapshotRepository(DeploymentRepository snapshotRepository) Set where to deploy snapshots of artifacts to.voidSet gives the status of this artifact in the remote repository.
- 
Constructor Details- 
DistributionManagementpublic DistributionManagement()
 
- 
- 
Method Details- 
cloneMethod clone.
- 
getDownloadUrlGet the URL of the project's download page. If not given users will be referred to the homepage given byurl. This is given to assist in locating artifacts that are not in the repository due to licensing restrictions.- Returns:
- String
 
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- Returns:
- InputLocation
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
- setLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- location- a location object.
 
- 
setOtherLocation- Parameters:
- key- a key object.
- location- a location object.
 
- 
getRelocationGet relocation information of the artifact if it has been moved to a new group ID and/or artifact ID.- Returns:
- Relocation
 
- 
getRepositoryGet information needed to deploy the artifacts generated by the project to a remote repository.- Returns:
- DeploymentRepository
 
- 
getSiteGet information needed for deploying the web site of the project.- Returns:
- Site
 
- 
getSnapshotRepositoryGet where to deploy snapshots of artifacts to. If not given, it defaults to therepositoryelement.- Returns:
- DeploymentRepository
 
- 
getStatusGet gives the status of this artifact in the remote repository. This must not be set in your local project, as it is updated by tools placing it in the repository. Valid values are:none(default),converted(repository manager converted this from a Maven 1 POM),partner(directly synced from a partner Maven repository),deployed(was deployed from a Maven instance),verified(has been hand verified as correct and final).- Returns:
- String
 
- 
setDownloadUrlSet the URL of the project's download page. If not given users will be referred to the homepage given byurl. This is given to assist in locating artifacts that are not in the repository due to licensing restrictions.- Parameters:
- downloadUrl- a downloadUrl object.
 
- 
setRelocationSet relocation information of the artifact if it has been moved to a new group ID and/or artifact ID.- Parameters:
- relocation- a relocation object.
 
- 
setRepositorySet information needed to deploy the artifacts generated by the project to a remote repository.- Parameters:
- repository- a repository object.
 
- 
setSiteSet information needed for deploying the web site of the project.- Parameters:
- site- a site object.
 
- 
setSnapshotRepositorySet where to deploy snapshots of artifacts to. If not given, it defaults to therepositoryelement.- Parameters:
- snapshotRepository- a snapshotRepository object.
 
- 
setStatusSet gives the status of this artifact in the remote repository. This must not be set in your local project, as it is updated by tools placing it in the repository. Valid values are:none(default),converted(repository manager converted this from a Maven 1 POM),partner(directly synced from a partner Maven repository),deployed(was deployed from a Maven instance),verified(has been hand verified as correct and final).- Parameters:
- status- a status object.
 
 
-