MavenPom

interface MavenPom(source)

The POM for a Maven publication.

The withXml method can be used to modify the descriptor after it has been generated according to the publication data. However, the preferred way to customize the project information to be published is to use the dedicated properties exposed by this class, e.g. getDescription. Please refer to the official POM Reference for detailed information about the individual properties.

Since

1.4

Functions

Link copied to clipboard
abstract fun ciManagement(action: Action<in MavenPomCiManagement>)
Configures the CI management for the publication represented by this POM.
Link copied to clipboard
abstract fun contributors(action: Action<in MavenPomContributorSpec>)
Configures the contributors for the publication represented by this POM.
Link copied to clipboard
abstract fun developers(action: Action<in MavenPomDeveloperSpec>)
Configures the developers for the publication represented by this POM.
Link copied to clipboard
Configures the distribution management for the publication represented by this POM.
Link copied to clipboard
abstract fun getDescription(): Property<String>
A short, human-readable description for the publication represented by this POM.
Link copied to clipboard
The year the project producing the publication represented by this POM was first created.
Link copied to clipboard
abstract fun getName(): Property<String>
The name for the publication represented by this POM.
Link copied to clipboard
abstract fun getPackaging(): String
Returns the packaging (for example: jar, war) for the publication represented by this POM.
Link copied to clipboard
Returns the properties for the publication represented by this POM.
Link copied to clipboard
abstract fun getUrl(): Property<String>
The URL of the home page for the project producing the publication represented by this POM.
Link copied to clipboard
Configures the issue management for the publication represented by this POM.
Link copied to clipboard
abstract fun licenses(action: Action<in MavenPomLicenseSpec>)
Configures the licenses for the publication represented by this POM.
Link copied to clipboard
abstract fun mailingLists(action: Action<in MavenPomMailingListSpec>)
Configures the mailing lists for the publication represented by this POM.
Link copied to clipboard
abstract fun organization(action: Action<in MavenPomOrganization>)
Configures the organization for the publication represented by this POM.
Link copied to clipboard
abstract fun scm(action: Action<in MavenPomScm>)
Configures the SCM (source control management) for the publication represented by this POM.
Link copied to clipboard
abstract fun setPackaging(packaging: String)
Sets the packaging for the publication represented by this POM.
Link copied to clipboard
abstract fun withXml(action: Action<in XmlProvider>)
Allows configuration of the POM, after it has been generated according to the input data.