MavenPom

interface MavenPom

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.

Functions

Link copied to clipboard
abstract fun ciManagement(action: Action<out Any>)
Configures the CI management for the publication represented by this POM.
Link copied to clipboard
abstract fun contributors(action: Action<out Any>)
Configures the contributors for the publication represented by this POM.
Link copied to clipboard
abstract fun developers(action: Action<out Any>)
Configures the developers for the publication represented by this POM.
Link copied to clipboard
abstract fun distributionManagement(action: Action<out Any>)
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
abstract fun issueManagement(action: Action<out Any>)
Configures the issue management for the publication represented by this POM.
Link copied to clipboard
abstract fun licenses(action: Action<out Any>)
Configures the licenses for the publication represented by this POM.
Link copied to clipboard
abstract fun mailingLists(action: Action<out Any>)
Configures the mailing lists for the publication represented by this POM.
Link copied to clipboard
abstract fun organization(action: Action<out Any>)
Configures the organization for the publication represented by this POM.
Link copied to clipboard
abstract fun scm(action: Action<out Any>)
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<out Any>)
Allows configuration of the POM, after it has been generated according to the input data.