Class MavenScm.Builder

java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenScm.Builder
Enclosing class:
MavenScm

public static class MavenScm.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • connection

      public MavenScm.Builder connection(String 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

      public MavenScm.Builder developerConnection(String 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

      public MavenScm.Builder tag(String 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

      public MavenScm.Builder url(String 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

      public MavenScm build()