Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8735409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:03:05+00:00 2026-06-13T10:03:05+00:00

I’ve noticed many projects put the org.jdt.core jar in a lib folder because it’s

  • 0

I’ve noticed many projects put the org.jdt.core jar in a lib folder because it’s not available in a maven repository.
sbt, the build tool I’m using, can pull a dependency straight from a URL. However, I can’t find any direct links to the jar on the eclipse downloads page. The closes I can find is a link to the entire jdt zip which includes many jar files. I don’t believe sbt can extract a jar from a zip dependency.
Is there a direct link, or some other workaround?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T10:03:07+00:00Added an answer on June 13, 2026 at 10:03 am

    Depends whether the version you want is already in a repository or not.

    For org.eclipse.jdt.core:

    The tycho project seems to deploy some versions of org.eclipse.jdt.core to central. See:

    http://central.maven.org/maven2/org/eclipse/tycho/org.eclipse.jdt.core/
    

    I found that using search.maven.org. One of those might be good enough for your needs. But they don’t seem to have the ‘official’ binaries, just rebuilds of them.

    (Note that there’s also a maven.eclipse.org, which might be useful for some artifacts. But if doesn’t seem to have anything to suit your particular problem.)

    For the general case:

    In general, though you can’t find all the eclipse artifacts in maven repositories. So if you can’t find what you want in a maven repo, you’ll need to find it in the Eclipse p2 repositories yourself. Let’s say you want the org.eclipse.jdt.core for Eclipse 3.8.1…

    The Eclipse Project Update Sites wiki page says the update site for 3.8.x is

    http://download.eclipse.org/eclipse/updates/3.8
    

    That’s actually a ‘composite’ p2 repository for 3.8, 3.8.1, … So next we need to figure out the name of the 3.8.1 repository. The following fetches a jar file containing compositeArtifacts.xml, which lists the child repositories, and greps for 3.8.1:

    curl -s http://download.eclipse.org/eclipse/updates/3.8/compositeArtifacts.jar | \
      gunzip -c | \
      grep '3\.8\.1'
    

    The result?

    <child location='R-3.8.1-201209141540'/>
    

    That location is a relative path. It tells us the 3.8.1 repository is at

    http://download.eclipse.org/eclipse/updates/3.8/R-3.8.1-201209141540/
    

    Now to fetch the artifact index for that repository. Again, a single XML file in a jar. But this time, it’s not a composite repository, so we just ask for artifacts.jar:

    curl -s http://download.eclipse.org/eclipse/updates/3.8/R-3.8.1-201209141540/artifacts.jar | \
      gunzip -c | \
      grep org.eclipse.jdt.core[\'\"] | \
      sort -u
    

    Result:

    <artifact classifier='osgi.bundle' id='org.eclipse.jdt.core' version='3.8.2.v20120814-155456'>
    

    (I’m not sure why org.eclipse.jdt.core in 3.8.1 has a version beginning 3.8.2, but that’s the way it is. Let’s press on…)

    So now we can stitch together the URL according to the <mappings> element in the artifacts.xml we just fetched. Add ‘plugins/’ to the repository path; add the version to the plugin name, and then we can fetch it:

    curl -Os http://download.eclipse.org/eclipse/updates/3.8/R-3.8.1-201209141540/plugins/org.eclipse.jdt.core_3.8.2.v20120814-155456.jar
    

    If you find yourself needing more than just one or two jars, you might look into using Tycho, or the Eclipse p2 Ant tasks to resolve the artifacts you need into a lib folder before you run your sbt build.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I need a function that will clean a strings' special characters. I do NOT
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on
I am trying to loop through a bunch of documents I have to put
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I am trying to understand how to use SyndicationItem to display feed which is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.