[LANG] Commons Lang dependency coordinates on GitHub wrong

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[LANG] Commons Lang dependency coordinates on GitHub wrong

Benedikt Ritter-4
Hi,

GitHub recently introduced a feature where it tries to figure out how many
other projects depend on you project. This is shown in the UI with a "Used
By" drop down button. When clicking that button one can copy the dependency
declaration. In case of Commons Lang this will generate [1]:

<dependency>
  <groupId>commons-lang</groupId>
  <artifactId>commons-lang</artifactId>
  <version>[VERSION]</version>
</dependency>

This is incorrect since the coordinates for the 3.x line are
org.apache.commons:commons-lang3:3.x
I think we should find out how we can fix this. Maybe infra can fix it?
Furthermore we should check all our GitHub mirrors whether they have the
correct coordinates for our components.

Regards,
Benedikt

[1] https://github.com/apache/commons-lang
Reply | Threaded
Open this post in threaded view
|

Re: [LANG] Commons Lang dependency coordinates on GitHub wrong

garydgregory
The fact that the text GH copies to the clipboard contains "[VERSION]"
instead of the latest actual version should tell us this feature is in its
infancy. Do we know anyone at GH?

Gary

On Fri, May 31, 2019 at 2:12 PM Benedikt Ritter <[hidden email]> wrote:

> Hi,
>
> GitHub recently introduced a feature where it tries to figure out how many
> other projects depend on you project. This is shown in the UI with a "Used
> By" drop down button. When clicking that button one can copy the dependency
> declaration. In case of Commons Lang this will generate [1]:
>
> <dependency>
>   <groupId>commons-lang</groupId>
>   <artifactId>commons-lang</artifactId>
>   <version>[VERSION]</version>
> </dependency>
>
> This is incorrect since the coordinates for the 3.x line are
> org.apache.commons:commons-lang3:3.x
> I think we should find out how we can fix this. Maybe infra can fix it?
> Furthermore we should check all our GitHub mirrors whether they have the
> correct coordinates for our components.
>
> Regards,
> Benedikt
>
> [1] https://github.com/apache/commons-lang
>