abstract fun project(pom: Closure<Any>): MavenPom
Provides a builder for the Maven POM for adding or modifying properties of the Maven #getModel()
. The syntax is exactly the same as used by polyglot Maven. For example:
pom.project { inceptionYear '2008' licenses { license { name 'The Apache Software License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' distribution 'repo' } } }
Return
this
abstract fun project(pom: Action<in GroovyObject>): MavenPom
Provides a builder for the Maven POM for adding or modifying properties of the Maven #getModel()
. The syntax is exactly the same as used by polyglot Maven. For example:
pom.project { inceptionYear '2008' licenses { license { name 'The Apache Software License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' distribution 'repo' } } }
Return
this
Since
4.2