Class MavenDistributionManagement
java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenDistributionManagement
Maven
<distributionManagement> section.- Author:
- Joachim Pasquali, Stephane Nicoll
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classDescribe where to deploy artifacts.static classRelocation information of the artifact if it has been moved to a new groupId and/or artifactId.static classInformation needed for deploying the web site of the project. -
Method Summary
Modifier and TypeMethodDescriptionReturn the URL where this project can be downloaded from.Return the relocation information of the artifact if it has been moved to a new groupId and/or artifactId.Return the information needed to deploy the artifacts generated by the project to a remote repository.getSite()Return the information needed for deploying the web site of the project.Return the information needed to deploy the snapshot artifacts generated by the project to a remote repository.booleanisEmpty()
-
Method Details
-
isEmpty
public boolean isEmpty() -
getDownloadUrl
Return the URL where this project can be downloaded from.- Returns:
- the URL of the project's download page
-
getRepository
Return the information needed to deploy the artifacts generated by the project to a remote repository.- Returns:
- the
MavenDistributionManagement.DeploymentRepositoryfor released artifacts
-
getSnapshotRepository
Return the information needed to deploy the snapshot artifacts generated by the project to a remote repository.- Returns:
- the
MavenDistributionManagement.DeploymentRepositoryfor snapshot artifacts
-
getSite
Return the information needed for deploying the web site of the project.- Returns:
- the
MavenDistributionManagement.Site
-
getRelocation
Return the relocation information of the artifact if it has been moved to a new groupId and/or artifactId.- Returns:
- the
MavenDistributionManagement.Relocation
-