api / org.gradle.api.artifacts.maven / MavenPom / getModel

getModel

abstract fun getModel(): Any

Returns the underlying native Maven org.apache.maven.model.Model object. The MavenPom object delegates all the configuration information to this object. There Gradle MavenPom objects provides delegation methods just for setting the groupId, artifactId, version and packaging. For all other elements, either use the model object or #project(groovy.lang.Closure).

Return
the underlying native Maven object