org.apache.maven.model
Class DistributionManagement

java.lang.Object
  extended byorg.apache.maven.model.DistributionManagement
All Implemented Interfaces:
java.io.Serializable

public class DistributionManagement
extends java.lang.Object
implements java.io.Serializable

This elements describes all that pertains to distribution for a project. It is primarily used for deployment of artifacts and distributions produced by the build.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
DistributionManagement()
           
 
Method Summary
 java.lang.String getDownloadUrl()
          Get The URL of the project's download page.
 java.lang.String getModelEncoding()
           
 Relocation getRelocation()
          Get Relocation information if the artifact has been moved to a new group/artifactId
 DeploymentRepository getRepository()
          Get Information needed for deploying to remote repository artifacts generated by the project
 Site getSite()
          Get Information needed for deploying website files of the project.
 DeploymentRepository getSnapshotRepository()
          Get Where to deploy snapshots of artifacts to.
 java.lang.String getStatus()
          Get Gives the status of this artifact in the remote repository.
 void setDownloadUrl(java.lang.String downloadUrl)
          Set The URL of the project's download page.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setRelocation(Relocation relocation)
          Set Relocation information if the artifact has been moved to a new group/artifactId
 void setRepository(DeploymentRepository repository)
          Set Information needed for deploying to remote repository artifacts generated by the project
 void setSite(Site site)
          Set Information needed for deploying website files of the project.
 void setSnapshotRepository(DeploymentRepository snapshotRepository)
          Set Where to deploy snapshots of artifacts to.
 void setStatus(java.lang.String status)
          Set Gives the status of this artifact in the remote repository.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributionManagement

public DistributionManagement()
Method Detail

getDownloadUrl

public java.lang.String getDownloadUrl()
Get The URL of the project's download page. If not given users will be referred to the homepage given by url.


getRelocation

public Relocation getRelocation()
Get Relocation information if the artifact has been moved to a new group/artifactId


getRepository

public DeploymentRepository getRepository()
Get Information needed for deploying to remote repository artifacts generated by the project


getSite

public Site getSite()
Get Information needed for deploying website files of the project.


getSnapshotRepository

public DeploymentRepository getSnapshotRepository()
Get Where to deploy snapshots of artifacts to. If not given, it defaults to the repository.


getStatus

public java.lang.String getStatus()
Get 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 reposiory. Valid values are: none (default), converted (repository manager converted this from an Maven 1 POM), partner (directly synced from a partner Maven 2 repository), deployed (was deployed from a Maven 2 instance), verified (has been hand verified as correct and final).


setDownloadUrl

public void setDownloadUrl(java.lang.String downloadUrl)
Set The URL of the project's download page. If not given users will be referred to the homepage given by url.

Parameters:
downloadUrl -

setRelocation

public void setRelocation(Relocation relocation)
Set Relocation information if the artifact has been moved to a new group/artifactId

Parameters:
relocation -

setRepository

public void setRepository(DeploymentRepository repository)
Set Information needed for deploying to remote repository artifacts generated by the project

Parameters:
repository -

setSite

public void setSite(Site site)
Set Information needed for deploying website files of the project.

Parameters:
site -

setSnapshotRepository

public void setSnapshotRepository(DeploymentRepository snapshotRepository)
Set Where to deploy snapshots of artifacts to. If not given, it defaults to the repository.

Parameters:
snapshotRepository -

setStatus

public void setStatus(java.lang.String status)
Set 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 reposiory. Valid values are: none (default), converted (repository manager converted this from an Maven 1 POM), partner (directly synced from a partner Maven 2 repository), deployed (was deployed from a Maven 2 instance), verified (has been hand verified as correct and final).

Parameters:
status -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright 2006 Apache Software Foundation. All Rights Reserved.