On Wed, Nov 5, 2025 at 3:09 PM Piotr P. Karwasz
<[email protected]> wrote:
>
> Hi Gary,
>
> On 2.11.2025 22:52, Gary Gregory wrote:
> > On Sun, Nov 2, 2025 at 3:47 PM Piotr P. Karwasz
> > <[email protected]> wrote:
> >> Unlike other releases you've prepared, the `scm/tag` element in the POM
> >> is set to `HEAD` instead of the release tag that will be used to mark
> >> this version.
> >
> > I'm not even sure we should be using this element: Most components
> > don't use it, and I don't use the Maven SCM plugin to create the tags
> > (I use git). I'm inclined to remove this element. WDYT?
>
>
> I was looking at this element to address a specific problem I’m
> currently facing: given a Maven artifact, I want to locate its
> corresponding source code in order to perform some static analysis.
>
> In the Logging project, we don’t update the `scm/tag` element, which
> makes the data effectively useless. However, I’ve noticed that in
> previous Commons releases, the tag is often set correctly.
>
> It might therefore be a good idea to establish a consistent policy:
>
> - either remove the `tag` element entirely (it’s not required by Maven
>   Central [1]),
> - or ensure it’s set to the correct release tag.

I'm OK with not using the tag. It's one less thing to fiddle with,
check, and possibly get wrong.

Gary

>
> Piotr
>
> References:
> [1] https://central.sonatype.org/publish/requirements/#developer-information
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to