java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenLicense

public class MavenLicense extends Object
A <license> in a Maven pom.
Author:
Jafer Khan Shamshad, Stephane Nicoll
  • Method Details

    • getName

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

      public String getUrl()
      Return the URL of the license.
      Returns:
      the URL
    • getDistribution

      public MavenLicense.Distribution getDistribution()
      Return the distribution mechanism of the project associated with the license.
      Returns:
      the distribution mechanism
    • getComments

      public String getComments()
      Return the comments associated with the license.
      Returns:
      the comments