Skip to content

Duplicate artifacts at maven central (FYI) #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
suraj-mathew opened this issue Dec 20, 2024 · 6 comments
Open

Duplicate artifacts at maven central (FYI) #25

suraj-mathew opened this issue Dec 20, 2024 · 6 comments

Comments

@suraj-mathew
Copy link

@tkohegyi,

The maven central repository contains duplicate misleading artifact entries for this project, which seems to have got created during the initial phases of the project.

It will be great, if you can remove the old one from maven central to avoid confusion for future users.

NOTE:
I didn't find any other means to convey this message to you. That's why raised this ticket.

@tkohegyi
Copy link
Owner

@suraj-mathew
Thank you for contacting to me this way - it is perfect for this purpose.

Indeed, I know about this status and wanted to delete the old repo, just was unable to find the method - afaik, mvnrepository.com does not allow deleting. In case you know how to do it, pls let me know.

@suraj-mathew
Copy link
Author

suraj-mathew commented Dec 23, 2024

@tkohegyi - That was a new piece of information to me, that mvn artifacts cant be deleted.. Hmm.. really strange...
At least the owner account that pushes the binaries should have been given permission to remove... But, they might have their own rules...

When i searched some links in internet, one of them mentions to try the luck by dropping a detailed email to SonaType support via the email - central-support@sonatype.com

This is a genuine reason, so you can give a try (if not done already).

@tkohegyi
Copy link
Owner

Hi @suraj-mathew - thank you for the suggestion, I will give a try -> mail sent to SonaType support to remove the unused repo.
We will see...

@tkohegyi
Copy link
Owner

Hi @suraj-mathew

No luck - quote from Sonatype response:

Sonatype policy prevents the deletion or any other modification of artifacts after they are published to Central. If you already have a newer version released, you could inform your users about avoiding the incorrect ones.

@suraj-mathew
Copy link
Author

suraj-mathew commented Jan 20, 2025

@tkohegyi - :-(

I think you can ask them on how the red boxed entry can be added to this mitm's old link ?

That way, even if someone access the old link - they will get notified to redirect.

Look at this sample: https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api

Image

@tkohegyi
Copy link
Owner

Yes, this is a helping KB - https://maven.apache.org/guides/mini/guide-relocation.html
Will do it as soon as I have time.

@tkohegyi tkohegyi reopened this Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants