# Interface MavenPomLicense

public interface MavenPomLicense
A license of a Maven publication.

Since:
  4.8
See Also:
  - `MavenPom`
  - `MavenPomLicenseSpec`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Property<String>`
  `getComments()`
  The comments of this license.
  `Property<String>`
  `getDistribution()`
  The distribution of this license.
  `Property<String>`
  `getName()`
  The name of this license.
  `Property<String>`
  `getUrl()`
  The URL of this license.

- ## Method Details

  - ### getName

    Property<String> getName()
    The name of this license.
    Since:
      4.8

  - ### getUrl

    Property<String> getUrl()
    The URL of this license.
    Since:
      4.8

  - ### getDistribution

    Property<String> getDistribution()
    The distribution of this license.
    Since:
      4.8

  - ### getComments

    Property<String> getComments()
    The comments of this license.
    Since:
      4.8