jreleaser / jreleaser

:rocket: Release projects quickly and easily with JReleaser
https://jreleaser.org
Apache License 2.0
944 stars 109 forks source link

[deploy] Skip build poms from maven central rule checks #1653

Closed aalmiray closed 5 months ago

aalmiray commented 5 months ago

Is your feature request related to a problem? Please describe. Maven 4 publishes consumer and build poms for a given project. Build poms are a verbatim copy of the source pom.xml and thus they do not evaluate their properties. This causes pomchecker to trigger in some cases.

Describe the solution you'd like Skip processing build poms with pomchecker. Maven Central applies laxer rules to this kind of files at the moment.

Describe alternatives you've considered Either removing build poms from publication or manually editing them before remote staging.

Additional context https://github.com/jreleaser/jreleaser/discussions/1631

aalmiray commented 3 months ago

🎉 This issue has been resolved in v1.13.0 (Release Notes)