Owner:
Lars Grefer
Verify that your generated POM's fullfill the requirements for maven central
Version 3.8.1
Created 24 July 2019.
Verify that your generated POM's fullfill the requirements for maven central
Add this plugin to your build using the plugins DSL:
plugins {
id("io.freefair.maven-central.validate-poms") version "3.8.1"
}
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("io.freefair.maven-central.validate-poms:io.freefair.maven-central.validate-poms.gradle.plugin:3.8.1") }It can then be applied in the precompiled script plugin:plugins { id("io.freefair.maven-central.validate-poms") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.freefair.maven-central.validate-poms:io.freefair.maven-central.validate-poms.gradle.plugin:3.8.1") } } apply(plugin = "io.freefair.maven-central.validate-poms") - Applying plugins to all subprojects .