Hi Tamas,

While Maven4 plans to be as compatible as possible with Maven3
plugins, the topic of extensions is difficult, as they reach into
Maven internals...

In short, the extension is not compatible with Maven4 due this "trick":
https://github.com/qoomon/maven-git-versioning-extension/blob/master/src/main/java/me/qoomon/maven/gitversioning/GitVersioningModelProcessor.java

To properly support Maven4, this extension would need to be "enabled"
for Maven4, very similar like Nisse was recently:
https://github.com/maveniverse/nisse/commit/a24a8e90e39d50ae479e5e3e92b6ad643849e147#diff-eaf45ebe6b14a5aaad3400949a1a9a22c8b09f49acc9683dbb28eaf21bf93895

Thanks for your explanation.


In short: Maven4 PropertyContributor SPI should be used instead.

PS: If needed, I may try to craft a PR for this extension to make it
Maven4 friendly, just ping me.

Is there any documentation about how to write extensions for Maven 4?
Especially about what changed between Maven 3 and 4?
The website itself only covers Maven 3(.9.x), at least as far as I have
seen.


Regards

Thorsten

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to