Class MavenDistributionManagement.DeploymentRepository
java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenDistributionManagement.DeploymentRepository
- Enclosing class:
- MavenDistributionManagement
Describe where to deploy artifacts.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptiongetId()Return the identifier of the repository.Return the repository layout.getName()Return the name of the repository.Return whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time.getUrl()Return the url of the repository to use to upload artifacts.booleanisEmpty()
-
Method Details
-
isEmpty
public boolean isEmpty() -
getId
Return the identifier of the repository.- Returns:
- the repository ID
-
getName
Return the name of the repository.- Returns:
- the repository name
-
getUrl
Return the url of the repository to use to upload artifacts.- Returns:
- the repository url
-
getLayout
Return the repository layout. Can bedefaultorlegacy.- Returns:
- the repository layout
-
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:
trueto assign each snapshot a unique version
-