| Package | Description |
|---|---|
| io.spring.initializr.generator.buildsystem |
Build systems abstraction.
|
| Modifier and Type | Method and Description |
|---|---|
MavenRepository.Builder |
MavenRepository.Builder.id(String id)
Set the id of the repository.
|
MavenRepository.Builder |
MavenRepository.Builder.name(String name)
Set the name of the repository.
|
MavenRepository.Builder |
MavenRepository.Builder.onlyReleases()
Specify that the repository should only be used for releases.
|
MavenRepository.Builder |
MavenRepository.Builder.onlySnapshots()
Specify that the repository should only be used for snapshots.
|
MavenRepository.Builder |
MavenRepository.Builder.releasesEnabled(boolean releasesEnabled)
Specify whether releases are enabled.
|
MavenRepository.Builder |
MavenRepository.Builder.snapshotsEnabled(boolean snapshotsEnabled)
Specify whether snapshots are enabled.
|
MavenRepository.Builder |
MavenRepository.Builder.url(String url)
Set the url of the repository.
|
static MavenRepository.Builder |
MavenRepository.withIdAndUrl(String id,
String url)
Initialize a new repository
MavenRepository.Builder with the specified id and url. |
| Modifier and Type | Method and Description |
|---|---|
void |
MavenRepositoryContainer.add(MavenRepository.Builder builder)
Register a
repository with the specified
state. |
| Constructor and Description |
|---|
MavenRepository(MavenRepository.Builder builder) |
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.