-
Notifications
You must be signed in to change notification settings - Fork 30
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
eclipse.mavencentral with underspecified releases #121
Comments
com.diffplug.eclipse.mavencentral
Any chance you're behind a proxy? |
Just FYI, I tried this example project on my machine, and it worked fine (I don't have Java 11, so the compile failed, but the SWT jars downloaded fine). I bet this is a firewall/proxy issue. This is where we download the "artifacts.jar" from the official eclipse p2 repository, which is what we use to determine version numbers for SWT, JFace, etc.
And this is how the download happens: goomph/src/main/java/com/diffplug/gradle/FileMisc.java Lines 54 to 72 in a5849dd
Happy to take a PR which fixes your issue, but it's very hard to debug proxy issues from outside the proxy. |
Unfortunately I am not behind any proxy. What is perplexing is that the URL printed in the error report ( Going to
|
I have just noticed that the URL of the
i.e. one level below 4.14. This happens also in more recent versions. The actual file is in the directory with the release number and the timestamp. |
Aha! In that case, in your build, try changing |
Thanks @nedtwigg ! It worked after adding the third number to the version. Sorry for not testing this before. Maybe a note in the documentation could be helpful to avoid the same mistake in the future. |
I think it's a bug that we allow you to try at all. Next version will give a warning "You have to be specific, instead of |
Fixed in |
com.diffplug.eclipse.mavencentral
fails immediately when gradle is invoked.The error happens when the plugin tries to download the
https://download.eclipse.org/eclipse/updates/xx.xx/artifacts.jar
archive from eclipse.org:Steps to reproduce
./gradlew clean
Environment
The text was updated successfully, but these errors were encountered: