-
Notifications
You must be signed in to change notification settings - Fork 116
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
Discovery catalog: FileNotFoundException when downloading org.eclipse.m2e.discovery.oss-catalog-1.13.jar #184
Comments
We saw the same in an Eclipse 2020-06 installation which (because it's the last one running on Java 8) the client cannot change for another few years. |
Why one needs a IDE that runs on java 8? Anyways bintray is shutting down: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/ I don't know if there is any alternative storage for the project right now. |
It cannot explain all the details here, but if you ever worked with SOAP messages (and the majority of real big businesses, whether it's banks, insurance retail or healthcare do) and tried to migrate that to Java 11 you would understand why this is not so trivial. And yes, the greedy Frogs at JFrog (even hurting their own customers, the company affected uses Artifactory ;-) have caused this and unless maybe M2E was also allowed to use their new Artifactory Cloud (and managed to properly back-port it so EXISTING Eclipse versions that are not older than 1-3 years at the very least can also use it, https://marketplace.eclipse.org/content/eclipse-m2e-maven-support-eclipse-ide states it only supports 2020-12 but that is not acceptable for Hundred Thousands of users worldwide who have 2020-06, 2019 or 2018-x in production and won't touch those) the problem will affect a large number of users. |
Well but all this don't affects the JVM used to RUN the ide, one can still develop J8 code with a J8 JVM and run recent Eclipse with J11+ ...
If just one percent of those 'Hundred Thousands' would start contribute to Eclipse/m2e I don't see an issue to even support older releases :-) |
I have checked the link and it is already updated to the https://github.com/takari/m2e-discovery-catalog/raw/gh-pages/catalogs/org.eclipse.m2e.discovery.oss-catalog-1.13.jar which works for me. I can't tell if this was recently updated, so please retry if the problem is gone. |
I do this for all my Open Source projects most of which were also affected by the JFrog Greed, see:
How do you get the new cagalog URL: https://github.com/takari/m2e-discovery-catalog/raw/gh-pages/catalogs/org.eclipse.m2e.discovery.oss-catalog-1.13.jar If you mean, that https://download.eclipse.org/technology/m2e/discovery/directory-1.15.xml should be updated to a new version with an underlying JAR hosted on GitHub, that does not work, me and my colleagues just tried it a few moments ago and it still fails. |
I just updated the catalog jar urls You can point to another catalog by adding -Dm2e.discovery.url=... to your eclipse.ini |
With the updated discovery, it seems to work now; I get the connectors listed.
The discovery file was updated 2021-05-06 12:27:01 UTC; i.e., some 80 minutes ago. ;-) |
Great and thanks @fbricon I'll close the issue then as fixed, please open another one if you still see specific problems with the updated URLs. |
@keilw you need to restart eclipse. p2 has a tendency to aggressively cache remote metadata |
Ok it looks like in the browser the file changed. Will test it in a local Eclipse 2020-06. |
This is a fresh install of Eclipse J2EE 2021-03.
Debian 10, OpenJDK 11, Internet connection without proxy.
The m2e connector catalog discovery URL is https://download.eclipse.org/technology/m2e/discovery/directory-1.15.xml.
In this XML document, the catalog URL is declared as https://dl.bintray.com/m2e/discovery-catalog/org.eclipse.m2e.discovery.oss-catalog-1.13.jar.
When I klick on Open Catalog in Window / Preferences / Maven / Discovery, Eclipse tries to download this file.
This leads to a
FileNotFoundException
, as logged in .metadata/.log:(I discarded the rest of the stacktrace.)
Internet connection at the system works:
The wget might be missing some HTTP request header to result in a HTTP status of 403; so I wouldn't count on it telling the availability of that file.
Is the catalog jar really available at this bintray download site?
Can I download it somewhere else? I'm able to establish a fake download site for the installation; but I would need to get the content first.
Can I use
oss-catalog-1.6.jar
, which was the catalog URL up todirectory-1.10.xml
?Btw: In the end, I want to install m2e connectors for ANTLR and build-helper; in case someone can tell me another possibility to do so.
The text was updated successfully, but these errors were encountered: