api / org.gradle.api.plugins / MavenPluginConvention / pom

pom

open fun pom(): MavenPom

Creates a new MavenPom.

Return
The POM instance.

open fun pom(configureClosure: Closure<Any>): MavenPom

Creates and configures a new MavenPom. The given closure is executed to configure the new POM instance.

Parameters

configureClosure - The closure to use to configure the POM instance.

Return
The POM instance.

open fun pom(configureAction: Action<in MavenPom>): MavenPom

Creates and configures a new MavenPom. The given action is executed to configure the new POM instance.

Parameters

configureAction - The action to use to configure the POM instance.

Return
The POM instance.

Since
4.2