public class FluentDistributionManagementBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.model.DistributionManagement |
build() |
static FluentDistributionManagementBuilder |
newDistributionManagement()
This elements describes all that pertains to distribution for a
project.
|
FluentDistributionManagementBuilder |
withDownloadUrl(java.lang.String downloadUrl)
Set the URL of the project's download page.
|
FluentDistributionManagementBuilder |
withLocation(java.lang.Object key,
FluentInputLocationBuilder location) |
FluentDistributionManagementBuilder |
withLocation(java.lang.Object key,
org.apache.maven.model.InputLocation location) |
FluentDistributionManagementBuilder |
withRelocation(FluentRelocationBuilder relocation)
Set relocation information of the artifact if it has been
moved to a new group ID and/or artifact ID.
|
FluentDistributionManagementBuilder |
withRelocation(org.apache.maven.model.Relocation relocation)
Set relocation information of the artifact if it has been
moved to a new group ID and/or artifact ID.
|
FluentDistributionManagementBuilder |
withRepository(org.apache.maven.model.DeploymentRepository repository)
Set information needed to deploy the artifacts generated by
the project to a remote repository.
|
FluentDistributionManagementBuilder |
withRepository(FluentDeploymentRepositoryBuilder repository)
Set information needed to deploy the artifacts generated by
the project to a remote repository.
|
FluentDistributionManagementBuilder |
withSite(FluentSiteBuilder site)
Set information needed for deploying the web site of the
project.
|
FluentDistributionManagementBuilder |
withSite(org.apache.maven.model.Site site)
Set information needed for deploying the web site of the
project.
|
FluentDistributionManagementBuilder |
withSnapshotRepository(org.apache.maven.model.DeploymentRepository repository)
Set where to deploy snapshots of artifacts to.
|
FluentDistributionManagementBuilder |
withSnapshotRepository(FluentDeploymentRepositoryBuilder repository)
Set where to deploy snapshots of artifacts to.
|
FluentDistributionManagementBuilder |
withStatus(java.lang.String status)
Set gives the status of this artifact in the remote
repository.
|
public static FluentDistributionManagementBuilder newDistributionManagement()
public org.apache.maven.model.DistributionManagement build()
public FluentDistributionManagementBuilder withDownloadUrl(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 FluentDistributionManagementBuilder withLocation(java.lang.Object key, FluentInputLocationBuilder location)
public FluentDistributionManagementBuilder withLocation(java.lang.Object key, org.apache.maven.model.InputLocation location)
public FluentDistributionManagementBuilder withRelocation(FluentRelocationBuilder relocation)
relocation - public FluentDistributionManagementBuilder withRelocation(org.apache.maven.model.Relocation relocation)
relocation - public FluentDistributionManagementBuilder withSite(FluentSiteBuilder site)
site - public FluentDistributionManagementBuilder withSite(org.apache.maven.model.Site site)
site - public FluentDistributionManagementBuilder withRepository(FluentDeploymentRepositoryBuilder repository)
repository - public FluentDistributionManagementBuilder withRepository(org.apache.maven.model.DeploymentRepository repository)
repository - public FluentDistributionManagementBuilder withSnapshotRepository(FluentDeploymentRepositoryBuilder repository)
repository element.repository - public FluentDistributionManagementBuilder withSnapshotRepository(org.apache.maven.model.DeploymentRepository repository)
repository element.repository - public FluentDistributionManagementBuilder withStatus(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 - Copyright © 2014 Yandex. All Rights Reserved.