PomChecker
Validates if a POM complies with the rules for deploying to Maven Central using PomChecker.
Configuration
Legend:
-
required
-
optional
-
may use environment variable
-
accepts Name Templates
#
deploy:
maven:
#
pomchecker:
# Defines the tool version to use.
#
version: 1.14.0
# Fail the release if PomChecker outputs a warning.
# Defaults to `true`.
#
failOnWarning: false
# Fail the release if PomChecker outputs an error.
# Defaults to `true`.
#
failOnError: false
# Enables or disables strict mode.
# Defaults to `true`.
#
strict: false
[deploy.maven]
# Defines the tool version to use.
#
pomchecker.version = "1.14.0"
# Fail the release if PomChecker outputs a warning.
# Defaults to `true`.
#
pomchecker.failOnWarning = false
# Fail the release if PomChecker outputs an error.
# Defaults to `true`.
#
pomchecker.failOnError = false
# Enables or disables strict mode.
# Defaults to `true`.
#
pomchecker.strict = false
{
//
"deploy": {
"maven": {
//
"pomchecker": {
// Defines the tool version to use.
//
"version": "1.14.0",
// Fail the release if PomChecker outputs a warning.
// Defaults to `true`.
//
"failOnWarning": false,
// Fail the release if PomChecker outputs an error.
// Defaults to `true`.
//
"failOnError": false,
// Enables or disables strict mode.
// Defaults to `true`.
//
"strict": false
}
}
}
}
<jreleaser>
<!--
-->
<deploy>
<maven>
<!--
-->
<pomchecker>
<!--
Defines the tool version to use.
-->
<version>1.14.0</version>
<!--
Fail the release if PomChecker outputs a warning.
Defaults to `true`.
-->
<failOnWarning>false</failOnWarning>
<!--
Fail the release if PomChecker outputs an error.
Defaults to `true`.
-->
<failOnError>false</failOnError>
<!--
Enables or disables strict mode.
Defaults to `true`.
-->
<strict>false</strict>
</pomchecker>
</maven>
</deploy>
</jreleaser>
jreleaser {
//
deploy {
maven {
//
pomchecker {
// Defines the tool version to use.
//
version = '1.14.0'
// Fail the release if PomChecker outputs a warning.
// Defaults to `true`.
//
failOnWarning = false
// Fail the release if PomChecker outputs an error.
// Defaults to `true`.
//
failOnError = false
// Enables or disables strict mode.
// Defaults to `true`.
//
strict = false
}
}
}
}