Package org.apache.maven.model
Class DeploymentRepository
java.lang.Object
org.apache.maven.model.RepositoryBase
org.apache.maven.model.DeploymentRepository
- All Implemented Interfaces:
Serializable
Repository contains the information needed for deploying to the
remote
repository.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
Whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Get whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time.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.
-
Field Details
-
uniqueVersion
private boolean uniqueVersionWhether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time.
-
-
Constructor Details
-
DeploymentRepository
public DeploymentRepository()
-
-
Method Details
-
isUniqueVersion
public 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
-
setUniqueVersion
public 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
-
-
equals
- Overrides:
equals
in classRepositoryBase
- See Also:
-