public static class MavenDistributionManagement.DeploymentRepository.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
MavenDistributionManagement.DeploymentRepository |
build()
Build a
MavenDistributionManagement.DeploymentRepository with the current state of this
builder. |
MavenDistributionManagement.DeploymentRepository.Builder |
id(String id)
Set the id of the repository.
|
MavenDistributionManagement.DeploymentRepository.Builder |
layout(String layout)
Set the repository layout, can be
default or legacy. |
MavenDistributionManagement.DeploymentRepository.Builder |
name(String name)
Set the name of the repository.
|
MavenDistributionManagement.DeploymentRepository.Builder |
uniqueVersion(Boolean uniqueVersion)
Set whether snapshots should be assigned a unique version comprised of the
timestamp and build number.
|
MavenDistributionManagement.DeploymentRepository.Builder |
url(String url)
Set the url of the repository to use to upload artifacts.
|
public MavenDistributionManagement.DeploymentRepository.Builder id(String id)
id - the identifierpublic MavenDistributionManagement.DeploymentRepository.Builder name(String name)
name - the namepublic MavenDistributionManagement.DeploymentRepository.Builder url(String url)
url - the urlpublic MavenDistributionManagement.DeploymentRepository.Builder layout(String layout)
default or legacy.layout - the layoutpublic MavenDistributionManagement.DeploymentRepository.Builder uniqueVersion(Boolean uniqueVersion)
uniqueVersion - true to use unique version for snapshotspublic MavenDistributionManagement.DeploymentRepository build()
MavenDistributionManagement.DeploymentRepository with the current state of this
builder.Copyright © 2022 Pivotal Software, Inc.. All rights reserved.