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
Builder forMavenDistributionManagement.DeploymentRepository
. -
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.boolean
isEmpty()
Returns whether this instance is empty.
-
Method Details
-
isEmpty
public boolean isEmpty()Returns whether this instance is empty.- Returns:
- whether this instance is empty
-
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 bedefault
orlegacy
.- 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:
true
to assign each snapshot a unique version
-