Fork me on GitHub

pomchecker:check-maven-central

Full name:

org.kordamp.maven:pomchecker-maven-plugin:1.11.0:check-maven-central

Description:

Checks if a POM complies with the rules for uploading to Maven Central.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is not marked as thread-safe and thus does not support parallel builds.
  • Since version: 1.0.0.

Optional Parameters

Name Type Since Description
<failOnError> boolean - Fail the build on error.
Default value is: true.
User property is: checker.fail.on.error.
<failOnWarning> boolean - Fail the build on warning.
User property is: checker.fail.on.warning.
<release> boolean - Checks if version is -SNAPSHOT.
Default value is: true.
User property is: checker.release.
<strict> boolean - Checks if <repositories> and <pluginRepositories> are present.
Default value is: true.
User property is: checker.strict.

Parameter Details

<failOnError>

Fail the build on error.
  • Type: boolean
  • Required: No
  • User Property: checker.fail.on.error
  • Default: true

<failOnWarning>

Fail the build on warning.
  • Type: boolean
  • Required: No
  • User Property: checker.fail.on.warning

<release>

Checks if version is -SNAPSHOT.
  • Type: boolean
  • Required: No
  • User Property: checker.release
  • Default: true

<strict>

Checks if <repositories> and <pluginRepositories> are present.
  • Type: boolean
  • Required: No
  • User Property: checker.strict
  • Default: true