pomchecker complains that in order to upload to Maven Central, the versionproperty can't be a -SNAPSHOT version, which is technically correct, but wrong in this case
cannot be uploaded to Maven Central due to the following reasons:
* <version> can not be -SNAPSHOT.
Maybe I should clarify that this happens in the context of a JReleaser Maven Central release. Here's the build log
Not sure if this is really a bug, but:
In my
pom.xml
file I'm using a (CI friendly) version placeholder which I set at build time.In order for the build to work locally, I've defined a fallback/dummy value for
revision
.pomchecker
complains that in order to upload to Maven Central, theversion
property can't be a-SNAPSHOT
version, which is technically correct, but wrong in this caseMaybe I should clarify that this happens in the context of a JReleaser Maven Central release. Here's the build log
https://github.com/helpermethod/zip-forge/actions/runs/5787413210/job/15684279597#step:4:152