Class MavenDistributionManagement.Relocation.Builder
java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenDistributionManagement.Relocation.Builder
- Enclosing class:
- MavenDistributionManagement.Relocation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartifactId(String artifactId) Specify the new artifact ID of the dependency.build()Build aMavenDistributionManagement.Relocationwith the current state of this builder.Specify the new group ID of the dependency.Specify a message that provides more details about the relocation.Specify the new version of the dependency.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupId
Specify the new group ID of the dependency.- Parameters:
groupId- the new group ID of the dependency- Returns:
- this for method chaining
-
artifactId
Specify the new artifact ID of the dependency.- Parameters:
artifactId- the new artifact ID of the dependency- Returns:
- this for method chaining
-
version
Specify the new version of the dependency.- Parameters:
version- the new version of the dependency- Returns:
- this for method chaining
-
message
Specify a message that provides more details about the relocation.- Parameters:
message- the relocation message- Returns:
- this for method chaining
-
build
Build aMavenDistributionManagement.Relocationwith the current state of this builder.- Returns:
- a
MavenDistributionManagement.Relocation
-