Could not get intellij resources when building Spoofax
After freshly cloning the Spoofax repos and running
./b build all
, I get the following error:Included projects: [root project 'org.metaborg.intellij'] Parallel execution with configuration on demand is an incubating feature. Evaluating root project 'org.metaborg.intellij' using build file '/home/oskar/repos/spoofax-releng/spoofax-intellij/org.metaborg.intellij/build.gradle'. Preparing IntelliJ IDEA dependency task Adding IntelliJ IDEA repository Adding IntelliJ IDEA dependency Resource missing. [HTTP GET: https://repo1.maven.org/maven2/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-metadata.xml] Resource missing. [HTTP GET: https://repo1.maven.org/maven2/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.pom] Resource missing. [HTTP HEAD: https://repo1.maven.org/maven2/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.jar] Resource missing. [HTTP GET: http://artifacts.metaborg.org/content/repositories/releases/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-metadata.xml] Resource missing. [HTTP GET: http://artifacts.metaborg.org/content/repositories/releases/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.pom] Resource missing. [HTTP HEAD: http://artifacts.metaborg.org/content/repositories/releases/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.jar] Resource missing. [HTTP GET: http://artifacts.metaborg.org/content/repositories/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-metadata.xml] Resource missing. [HTTP GET: http://artifacts.metaborg.org/content/repositories/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.pom] Resource missing. [HTTP HEAD: http://artifacts.metaborg.org/content/repositories/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.jar] FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'org.metaborg.intellij'. > Failed to notify project evaluation listener. > Could not resolve all dependencies for configuration ':intellij'. > Could not resolve com.jetbrains.intellij.idea:ideaIC:LATEST-EAP-SNAPSHOT. Required by: org.metaborg:org.metaborg.intellij:2.0.0-SNAPSHOT > Could not resolve com.jetbrains.intellij.idea:ideaIC:LATEST-EAP-SNAPSHOT. > Unable to load Maven meta-data from https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-metadata.xml. > Could not GET 'https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-metadata.xml'. > sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target > Could not create task of type 'RunIdeaTask'. * Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
Submitted by Oskar van Rest on 19 May 2016 at 19:42
./b build java
works fine.
Issue Log
I can’t reproduce this. It looks like an issue with setting up an SSL connection to the JetBrains website, and may indicate an issue with local certificates or trusted roots. However, I suggest you try again, it may have been a hiccup of the site.
The
Resource missing
messages are expected. Normal output is like this:Adding IntelliJ IDEA repository Adding IntelliJ IDEA dependency Resource missing. [HTTP GET: https://repo1.maven.org/maven2/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-metadata.xml] Resource missing. [HTTP GET: https://repo1.maven.org/maven2/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.pom] Resource missing. [HTTP HEAD: https://repo1.maven.org/maven2/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.jar] Resource missing. [HTTP GET: http://artifacts.metaborg.org/content/repositories/releases/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-metadata.xml] Resource missing. [HTTP GET: http://artifacts.metaborg.org/content/repositories/releases/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.pom] Resource missing. [HTTP HEAD: http://artifacts.metaborg.org/content/repositories/releases/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.jar] Resource missing. [HTTP GET: http://artifacts.metaborg.org/content/repositories/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-metadata.xml] Resource missing. [HTTP GET: http://artifacts.metaborg.org/content/repositories/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.pom] Resource missing. [HTTP HEAD: http://artifacts.metaborg.org/content/repositories/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.jar] Resource missing. [HTTP GET: https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-metadata.xml] Download https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.pom Download https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/ideaIC-LATEST-EAP-SNAPSHOT.zip IDEA zip: /home/user/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/LATEST-EAP-SNAPSHOT/3df78562abd02d5123a2019aa57d8dd36e23912/ideaIC-LATEST-EAP-SNAPSHOT.zip Unzipping idea Unzipped
ok maybe it’s a problem with my proxy settings. I can try it at home sometime when I’m not behind a proxy.
ok it was indeed the proxy. our vulnerability scanner doesn’t seem to like the server that JetBrains is using for one of its artifacts:
Access to this site is not permitted by the Acceptable Use Policy. This website has been explicitly blocked for possible reasons outlined below. • It is against Global Information Security Corporate Policies to access this site. • Security research indicates that this is a known site for malicious software distribution with malicious intent. If you believe this site does not fit the criteria above, please submit an MyHelp Ticket to have the site reviewed. Include the information from the Compliance Alert below. URL: https://s3-eu-west-1.amazonaws.com/intellij-snapshots/com/jetbrains/intellij/idea/ideaIC/LATEST-EAP-SNAPSHOT/maven-metadata.xml URL Categories: Internet Services Reputation: Minimal Risk Media Type: Code: Global URL Domain BlockList
Just getting another error now. I’ll try again tomorrow
- What went wrong:
Failed to capture snapshot of input files for task ‘compileJava’ during up-to-date check.Could not open cache fileHashes.bin (/home/oskar/repos/spoofax-releng/spoofax-intellij/org.metaborg.intellij/.gradle/2.11/taskArtifacts/fileHashes.bin)
ok it works now! closing the issue.
Log in to post comments