public class DistributionManagement extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
downloadUrl
The URL of the project's download page.
|
private InputLocation |
downloadUrlLocation
Field downloadUrlLocation.
|
private InputLocation |
location
Field location.
|
private java.util.Map<java.lang.Object,InputLocation> |
locations
Field locations.
|
private Relocation |
relocation
Relocation information of the artifact if it has been moved
to a new group ID
and/or artifact ID.
|
private InputLocation |
relocationLocation
Field relocationLocation.
|
private DeploymentRepository |
repository
Information needed to deploy the artifacts generated by the
project to a
remote repository.
|
private InputLocation |
repositoryLocation
Field repositoryLocation.
|
private Site |
site
Information needed for deploying the web site of the project.
|
private InputLocation |
siteLocation
Field siteLocation.
|
private DeploymentRepository |
snapshotRepository
Where to deploy snapshots of artifacts to.
|
private InputLocation |
snapshotRepositoryLocation
Field snapshotRepositoryLocation.
|
private java.lang.String |
status
Gives the status of this artifact in the remote
repository.
|
private InputLocation |
statusLocation
Field statusLocation.
|
Constructor and Description |
---|
DistributionManagement() |
Modifier and Type | Method and Description |
---|---|
DistributionManagement |
clone()
Method clone.
|
java.lang.String |
getDownloadUrl()
Get the URL of the project's download page.
|
InputLocation |
getLocation(java.lang.Object key)
Gets the location of the specified field in the input
source.
|
private InputLocation |
getOtherLocation(java.lang.Object key) |
Relocation |
getRelocation()
Get relocation information of the artifact if it has been
moved to a new group ID
and/or artifact ID.
|
DeploymentRepository |
getRepository()
Get information needed to deploy the artifacts generated by
the project to a
remote repository.
|
Site |
getSite()
Get information needed for deploying the web site 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 |
setLocation(java.lang.Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setOtherLocation(java.lang.Object key,
InputLocation location) |
void |
setRelocation(Relocation relocation)
Set relocation information of the artifact if it has been
moved to a new group ID
and/or artifact ID.
|
void |
setRepository(DeploymentRepository repository)
Set information needed to deploy the artifacts generated by
the project to a
remote repository.
|
void |
setSite(Site site)
Set information needed for deploying the web site 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.
|
private DeploymentRepository repository
private DeploymentRepository snapshotRepository
repository
element.private Site site
private java.lang.String downloadUrl
url
.
This is given to assist in locating artifacts
that are not in the repository due to
licensing restrictions.private Relocation relocation
private java.lang.String status
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).private java.util.Map<java.lang.Object,InputLocation> locations
private InputLocation location
private InputLocation repositoryLocation
private InputLocation snapshotRepositoryLocation
private InputLocation siteLocation
private InputLocation downloadUrlLocation
private InputLocation relocationLocation
private InputLocation statusLocation
public DistributionManagement clone()
clone
in class java.lang.Object
public java.lang.String getDownloadUrl()
url
.
This is given to assist in locating artifacts
that are not in the repository due to
licensing restrictions.public InputLocation getLocation(java.lang.Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public void setLocation(java.lang.Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOtherLocation(java.lang.Object key, InputLocation location)
key
- location
- private InputLocation getOtherLocation(java.lang.Object key)
key
- public Relocation getRelocation()
public DeploymentRepository getRepository()
public Site getSite()
public DeploymentRepository getSnapshotRepository()
repository
element.public java.lang.String getStatus()
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).public void setDownloadUrl(java.lang.String downloadUrl)
url
.
This is given to assist in locating artifacts
that are not in the repository due to
licensing restrictions.downloadUrl
- public void setRelocation(Relocation relocation)
relocation
- public void setRepository(DeploymentRepository repository)
repository
- public void setSite(Site site)
site
- public void setSnapshotRepository(DeploymentRepository snapshotRepository)
repository
element.snapshotRepository
- public void setStatus(java.lang.String status)
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).status
-