Skip to content
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

Spoon references missing dependency org.eclipse.jdt.core:3.12.0.v20150913-1717 #688

Closed
stephan-gh opened this issue Jun 4, 2016 · 9 comments

Comments

@stephan-gh
Copy link

Using the latest spoon release I'm not able to build anymore because Eclipse seems to have removed the version used by spoon (org.eclipse.jdt:org.eclipse.jdt.core:3.12.0.v20150913-1717).

With this Gradle file:

apply plugin: 'java'

repositories {
    mavenCentral()
    maven {
      url 'https://repo.eclipse.org/content/repositories/eclipse-staging/'
    }
}

dependencies {
    compile 'fr.inria.gforge.spoon:spoon-core:5.1.0'
}

I get this error:

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Could not find org.eclipse.jdt:org.eclipse.jdt.core:3.12.0.v20150913-1717.
  Searched in the following locations:
      https://repo1.maven.org/maven2/org/eclipse/jdt/org.eclipse.jdt.core/3.12.0.v20150913-1717/org.eclipse.jdt.core-3.12.0.v20150913-1717.pom
      https://repo1.maven.org/maven2/org/eclipse/jdt/org.eclipse.jdt.core/3.12.0.v20150913-1717/org.eclipse.jdt.core-3.12.0.v20150913-1717.jar
      https://repo.eclipse.org/content/repositories/eclipse-staging/org/eclipse/jdt/org.eclipse.jdt.core/3.12.0.v20150913-1717/org.eclipse.jdt.core-3.12.0.v20150913-1717.pom
      https://repo.eclipse.org/content/repositories/eclipse-staging/org/eclipse/jdt/org.eclipse.jdt.core/3.12.0.v20150913-1717/org.eclipse.jdt.core-3.12.0.v20150913-1717.jar
  Required by:
      :test:unspecified > fr.inria.gforge.spoon:spoon-core:5.1.0
@GerardPaligot
Copy link
Contributor

GerardPaligot commented Jun 4, 2016

Big thanks to eclipse... I'll see that as soon as possible.

@klerisson
Copy link

Same here..
I tried to set a new JDT version, then I faced: "Tests run: 633, Failures: 11, Errors: 3, Skipped: 0"
Not sure if those erros are related to JDT.

@GerardPaligot
Copy link
Contributor

Fixed by #695

@fschrofner
Copy link

When will there be a buildable version on maven central?

@GerardPaligot
Copy link
Contributor

Hi @fschrofner,

Spoon 5.1.1 has been released on Maven Central.

@fschrofner
Copy link

Thanks for the notification!

Anyhow: the build still seems to depend on the missing library and fails on my system.

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> Could not find org.eclipse.jdt:org.eclipse.jdt.core:3.12.0.v20150913-1717.
  Searched in the following locations:
      https://repo1.maven.org/maven2/org/eclipse/jdt/org.eclipse.jdt.core/3.12.0.v20150913-1717/org.eclipse.jdt.core-3.12.0.v20150913-1717.pom
      https://repo1.maven.org/maven2/org/eclipse/jdt/org.eclipse.jdt.core/3.12.0.v20150913-1717/org.eclipse.jdt.core-3.12.0.v20150913-1717.jar
      https://repo.eclipse.org/content/repositories/eclipse-staging/org/eclipse/jdt/org.eclipse.jdt.core/3.12.0.v20150913-1717/org.eclipse.jdt.core-3.12.0.v20150913-1717.pom
      https://repo.eclipse.org/content/repositories/eclipse-staging/org/eclipse/jdt/org.eclipse.jdt.core/3.12.0.v20150913-1717/org.eclipse.jdt.core-3.12.0.v20150913-1717.jar
      file:/home/flosch/Projects/glassdoor/libs/org.eclipse.jdt.core-3.12.0.v20150913-1717.jar
      file:/home/flosch/Projects/glassdoor/libs/org.eclipse.jdt.core.jar
  Required by:
      :glassdoor:unspecified > fr.inria.gforge.spoon:spoon-core:5.1.1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

@GerardPaligot
Copy link
Contributor

GerardPaligot commented Jun 22, 2016

With Gradle, you must specify the repository in your build.gradle file:

repositories {
  maven {
    url 'http://spoon.gforge.inria.fr/repositories/releases/'
  }
}

@fschrofner
Copy link

Thank you, it works now!

I was using the https://repo.eclipse.org/content/repositories/eclipse-staging/ repository, as specified on your website , that's why it did not work.

@GerardPaligot
Copy link
Contributor

Well seen, I'll update it.

mattia-atzeni pushed a commit to codeontology/parser that referenced this issue May 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants