Owner:
Gradle
Adds a Maven-style META-INF/maven/<groupId>/<artifactId>/pom.properties to the main jar, wired by convention from the project's group, name and version so Maven-aware tooling (SBOM generators, classpath inspectors, security scanners) can identify the artifact a jar belongs to. The generated file is deterministic with no timestamp, keeping archives reproducible.
Version 0.1.0 (latest)
Created 03 July 2026.
Adds a Maven-style META-INF/maven/<groupId>/<artifactId>/pom.properties to the main jar, wired by convention from the project's group, name and version so Maven-aware tooling (SBOM generators, classpath inspectors, security scanners) can identify the artifact a jar belongs to. The generated file is deterministic with no timestamp, keeping archives reproducible.
Add this plugin to your build using the plugins DSL:
plugins {
id("org.gradle.pom-properties") version "0.1.0"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("org.gradle.pom-properties:org.gradle.pom-properties.gradle.plugin:0.1.0") }It can then be applied in the precompiled script plugin:plugins { id("org.gradle.pom-properties") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("org.gradle.pom-properties:org.gradle.pom-properties.gradle.plugin:0.1.0") } } apply(plugin = "org.gradle.pom-properties") - Applying plugins to all subprojects .