download.java.net maven repository

Aleksey Shipilev shade at redhat.com
Tue Apr 5 05:44:21 UTC 2022


On 4/4/22 14:49, Daniel Jeliński wrote:
> Hi all,
> Is the http://download.java.net/maven/2 repository URL still needed?
> 
> https://github.com/openjdk/jmh/blob/99e9c19c80a0133c28f6532ef2b5776d5b8bd023/jmh-core/pom.xml#L146
> 
> Maven is complaining that it doesn't support http repositories
> anymore, and the link returns 404 even after changing http to https.
> All the required dependencies and plugins are downloaded from maven
> central. Can we remove this configuration?

Yes, the whole "<repositories>" seems redundant there?

I suspected it has to do with Central deployment requirements, but I see that neither jcstress or 
jol has "<repositories>" in their POMs. So this does not seem to be a requirement.

Feel free to suggest a PR.

-- 
Thanks,
-Aleksey



More information about the jmh-dev mailing list