Class MavenScm.Builder
java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenScm.Builder
- Enclosing class:
- MavenScm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
connection
(String connection) Specify the source control management system URL that describes the repository and how to connect to the repository.developerConnection
(String developerConnection) Specify the source control management system URL for developers that describes the repository and how to connect to the repository.Specify the tag of current code.Specify the URL to the project's browsable SCM repository.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connection
Specify the source control management system URL that describes the repository and how to connect to the repository.- Parameters:
connection
- the source control management system URL- Returns:
- this for method chaining
-
developerConnection
Specify the source control management system URL for developers that describes the repository and how to connect to the repository.- Parameters:
developerConnection
- the source control management system URL for developers- Returns:
- this for method chaining
-
tag
Specify the tag of current code. By default, it's set to HEAD during development.- Parameters:
tag
- the tag of current code- Returns:
- this for method chaining
-
url
Specify the URL to the project's browsable SCM repository.- Parameters:
url
- the URL to the project's browsable SCM repository- Returns:
- this for method chaining
-
build
-