public class DistributionManagement extends Object implements Serializable, Cloneable, InputLocationTracker
Constructor and Description |
---|
DistributionManagement() |
Modifier and Type | Method and Description |
---|---|
DistributionManagement |
clone()
Method clone.
|
String |
getDownloadUrl()
Get the URL of the project's download page.
|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
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.
|
String |
getStatus()
Get gives the status of this artifact in the remote
repository.
|
void |
setDownloadUrl(String downloadUrl)
Set the URL of the project's download page.
|
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
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(String status)
Set gives the status of this artifact in the remote
repository.
|
public DistributionManagement()
public DistributionManagement clone()
public String getDownloadUrl()
url
.
This is given to assist in locating artifacts
that are not in the repository due to
licensing restrictions.public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public Relocation getRelocation()
public DeploymentRepository getRepository()
public Site getSite()
public DeploymentRepository getSnapshotRepository()
repository
element.public 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(String downloadUrl)
url
.
This is given to assist in locating artifacts
that are not in the repository due to
licensing restrictions.downloadUrl
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- 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(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
- Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.