public static class MavenDistributionManagement.Builder extends Object
Constructor and Description |
---|
Builder() |
public MavenDistributionManagement.Builder downloadUrl(String downloadUrl)
downloadUrl
- the URL of the project's download pagepublic MavenDistributionManagement.Builder repository(Consumer<MavenDistributionManagement.DeploymentRepository.Builder> repository)
repository
using the specified consumer.repository
- a consumer of the current repositorypublic MavenDistributionManagement.Builder snapshotRepository(Consumer<MavenDistributionManagement.DeploymentRepository.Builder> snapshotRepository)
snapshotRepository
using the specified consumer.snapshotRepository
- a consumer of the current snapshot repositorypublic MavenDistributionManagement.Builder site(Consumer<MavenDistributionManagement.Site.Builder> site)
site
using the specified consumer.site
- a consumer of the current sitepublic MavenDistributionManagement.Builder relocation(Consumer<MavenDistributionManagement.Relocation.Builder> relocation)
relocation
using the specified consumer.relocation
- a consumer of the current relocationpublic MavenDistributionManagement build()
MavenDistributionManagement
with the current state of this
builder.MavenDistributionManagement
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.