Package org.apache.maven.model
Class DeploymentRepository
java.lang.Object
org.apache.maven.model.RepositoryBase
org.apache.maven.model.Repository
org.apache.maven.model.DeploymentRepository
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
Deployment repository contains the information needed for
 deploying to the remote
         repository, which adds uniqueVersion property to usual
 repositories for download.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Method clone.booleanGet whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time.voidsetUniqueVersion(boolean uniqueVersion) Set whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time.Methods inherited from class org.apache.maven.model.RepositorygetReleases, getSnapshots, setReleases, setSnapshotsMethods inherited from class org.apache.maven.model.RepositoryBaseequals, getId, getLayout, getLocation, getName, getUrl, hashCode, setId, setLayout, setLocation, setName, setOtherLocation, setUrl, toString
- 
Constructor Details- 
DeploymentRepositorypublic DeploymentRepository()
 
- 
- 
Method Details- 
cloneMethod clone.- Overrides:
- clonein class- Repository
- Returns:
- DeploymentRepository
 
- 
isUniqueVersionpublic boolean isUniqueVersion()Get whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time.- Returns:
- boolean
 
- 
setUniqueVersionpublic void setUniqueVersion(boolean uniqueVersion) Set whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time.- Parameters:
- uniqueVersion- a uniqueVersion object.
 
 
-