org.apache.maven.model.DistributionManagement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
/*
=================== DO NOT EDIT THIS FILE ====================
Generated by Modello 1.0.1 on 2009-08-06 15:13:09,
any modifications will be overwritten.
==============================================================
*/
package org.apache.maven.model;
/**
* This elements describes all that pertains to distribution for a
* project. It is
* primarily used for deployment of artifacts and the site
* produced by the build.
*
* @version $Revision$ $Date$
*/
public class DistributionManagement
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Information needed to deploy the artifacts generated by the
* project to a
* remote repository.
*/
private DeploymentRepository repository;
/**
*
*
* Where to deploy snapshots of artifacts to. If
* not given, it defaults to the
* repository
element.
*
*
*/
private DeploymentRepository snapshotRepository;
/**
* Information needed for deploying the web site of the project.
*/
private Site site;
/**
*
*
* The URL of the project's download page. If not
* given users will be
* referred to the homepage given by
* url
.
* This is given to assist in locating artifacts
* that are not in the repository due to
* licensing restrictions.
*
*
*/
private String downloadUrl;
/**
* Relocation information of the artifact if it has been moved
* to a new group ID
* and/or artifact ID.
*/
private Relocation relocation;
/**
*
*
* 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).
*
*
*/
private String status;
//-----------/
//- Methods -/
//-----------/
/**
* Get the URL of the project's download page. If not given
* users will be
* referred to the homepage given by
* url
.
* This is given to assist in locating artifacts
* that are not in the repository due to
* licensing restrictions.
*
* @return String
*/
public String getDownloadUrl()
{
return this.downloadUrl;
} //-- String getDownloadUrl()
/**
* Get relocation information of the artifact if it has been
* moved to a new group ID
* and/or artifact ID.
*
* @return Relocation
*/
public Relocation getRelocation()
{
return this.relocation;
} //-- Relocation getRelocation()
/**
* Get information needed to deploy the artifacts generated by
* the project to a
* remote repository.
*
* @return DeploymentRepository
*/
public DeploymentRepository getRepository()
{
return this.repository;
} //-- DeploymentRepository getRepository()
/**
* Get information needed for deploying the web site of the
* project.
*
* @return Site
*/
public Site getSite()
{
return this.site;
} //-- Site getSite()
/**
* Get where to deploy snapshots of artifacts to. If not given,
* it defaults to the
* repository
element.
*
* @return DeploymentRepository
*/
public DeploymentRepository getSnapshotRepository()
{
return this.snapshotRepository;
} //-- DeploymentRepository getSnapshotRepository()
/**
* 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).
*
* @return String
*/
public String getStatus()
{
return this.status;
} //-- String getStatus()
/**
* Set the URL of the project's download page. If not given
* users will be
* referred to the homepage given by
* url
.
* This is given to assist in locating artifacts
* that are not in the repository due to
* licensing restrictions.
*
* @param downloadUrl
*/
public void setDownloadUrl( String downloadUrl )
{
this.downloadUrl = downloadUrl;
} //-- void setDownloadUrl( String )
/**
* Set relocation information of the artifact if it has been
* moved to a new group ID
* and/or artifact ID.
*
* @param relocation
*/
public void setRelocation( Relocation relocation )
{
this.relocation = relocation;
} //-- void setRelocation( Relocation )
/**
* Set information needed to deploy the artifacts generated by
* the project to a
* remote repository.
*
* @param repository
*/
public void setRepository( DeploymentRepository repository )
{
this.repository = repository;
} //-- void setRepository( DeploymentRepository )
/**
* Set information needed for deploying the web site of the
* project.
*
* @param site
*/
public void setSite( Site site )
{
this.site = site;
} //-- void setSite( Site )
/**
* Set where to deploy snapshots of artifacts to. If not given,
* it defaults to the
* repository
element.
*
* @param snapshotRepository
*/
public void setSnapshotRepository( DeploymentRepository snapshotRepository )
{
this.snapshotRepository = snapshotRepository;
} //-- void setSnapshotRepository( DeploymentRepository )
/**
* 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).
*
* @param status
*/
public void setStatus( String status )
{
this.status = status;
} //-- void setStatus( String )
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy