Class MavenLicense
java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenLicense
A
<license>
in a Maven pom.- Author:
- Jafer Khan Shamshad, Stephane Nicoll
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for aMavenLicense
.static enum
Describes how the project may be legally distributed. -
Method Summary
-
Method Details
-
getName
Return the name of the license.- Returns:
- the name
-
getUrl
Return the URL of the license.- Returns:
- the URL
-
getDistribution
Return the distribution mechanism of the project associated with the license.- Returns:
- the distribution mechanism
-
getComments
Return the comments associated with the license.- Returns:
- the comments
-