Hi Hervé,

As far as I understood the docs, the _buildinfo_ goal has 2 purposes:
1. generate the .buildinfo file
2. optionally check it against some reference

Shouldn't these two use cases be provided by two different goals?
By having them in the same goal the "reference.repo" property "pollutes"
the "generation" goal and it's available configuration properties as its
purpose is to be passed only via the command line.
Moreover, generally speaking, in such situations often maven plugins
provide 2 goals, one that executes/generates something during one of the
build/package phases and one during the verification phase.

Otherwise the doc was clear enough to me and I can understand we stick to
one goal only.

Only a precision regarding the id is missing for me. It should probably be
explicit that the expected id is a "repository" or "pluginRepository" id
from the settings, aren't they?

Regards,

Matthieu


On Thu, Jan 14, 2021 at 8:10 PM Hervé BOUTEMY <herve.bout...@free.fr> wrote:

> I want to release Maven Artifact Plugin soon, version 0.1
>
> I did a first documentation:
> https://maven.apache.org/plugins-archives/maven-artifact-plugin-LATEST/
>
> review, feedback, PRs welcome
>
>
> Regards,
>
> Hervé
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to