Class MavenDistributionManagement.DeploymentRepository

java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenDistributionManagement.DeploymentRepository
Enclosing class:
MavenDistributionManagement

public static class MavenDistributionManagement.DeploymentRepository extends Object
Describe where to deploy artifacts.
  • Method Details

    • isEmpty

      public boolean isEmpty()
    • getId

      public String getId()
      Return the identifier of the repository.
      Returns:
      the repository ID
    • getName

      public String getName()
      Return the name of the repository.
      Returns:
      the repository name
    • getUrl

      public String getUrl()
      Return the url of the repository to use to upload artifacts.
      Returns:
      the repository url
    • getLayout

      public String getLayout()
      Return the repository layout. Can be default or legacy.
      Returns:
      the repository layout
    • getUniqueVersion

      public Boolean getUniqueVersion()
      Return whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time.
      Returns:
      true to assign each snapshot a unique version