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.

./b build java works fine.

Submitted by Oskar van Rest on 19 May 2016 at 19:42

On 19 May 2016 at 21:48 D. Pelsmaeker commented:

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

On 19 May 2016 at 23:05 Oskar van Rest commented:

ok maybe it’s a problem with my proxy settings. I can try it at home sometime when I’m not behind a proxy.


On 26 May 2016 at 02:28 Oskar van Rest commented:

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

On 26 May 2016 at 02:29 Oskar van Rest commented:

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)


On 26 May 2016 at 02:41 Oskar van Rest commented:

ok it works now! closing the issue.


On 26 May 2016 at 02:41 Oskar van Rest closed this issue.

Log in to post comments