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 4321300
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T08:43:43+00:00 2026-05-21T08:43:43+00:00

I’m working on Project Dash, specifically on a set of tools to import Eclipse

  • 0

I’m working on Project Dash, specifically on a set of tools to import Eclipse bundles (like org.eclipse.swt.gtk.linux.x86_64_3.6.2.v3659b.jar) into a Maven 2 repository. We ran the tools over the weekend and here is the result: A testing Maven 2 repository containing most of Eclipse 3.6.2.

During the conversion, we faced a problem without a simple solution: Most Eclipse bundles either don’t request a specific version or they request a version range. So we have both:

Require-Bundle: org.eclipse.core.runtime

and

Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)"

During the transformation, the tools collect all versions of all bundles, and if we need to write a POM for the upper example, we write out the version that we have collected (that would be 3.6.2 in this example). In the lower case, we leave the version range alone. No problem so far.

Now a new version comes out, say 3.7. When we convert that, a new version 3.7.0 of the first POM is created and it gets a dependency to org.eclipse.core:org.eclipse.core.runtime:3.7.0 while the second is created with the same version range as before.

Note: We have now four POMs (two for 3.6.2 and two for 3.7). One depends on core.runtime 3.6.2, one on 3.7.0 and two have the version range [3.2.0,4.0.0)

This is published and you don’t change anything on your side. You don’t update to 3.7.0!

Now we have a problem: If you use those two artifacts with version 3.6.2 in your build, then the first one will still use core runtime 3.6.2 since it’s version is locked.

But the second one will update the Maven metadata and see “oh, we have 3.7 for that, too”, download it and bang, you end up with org.eclipse.core:org.eclipse.core.runtime:3.7 and org.eclipse.core:org.eclipse.core.runtime:3.6.2 in your classpath without changing anything on your side.

That’s bad. How should we solve that?

  • 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-05-21T08:43:44+00:00Added an answer on May 21, 2026 at 8:43 am

    Well, you’re not going to have both 3.7 and 3.6.2 in your classpath – Maven will take the highest version so you’d upgrade to 3.7 (which is probably not what the user of the Eclipse Maven artifacts wants or desires).

    Given that (as far as I know) Eclipse releases all of it’s components at the same time can’t you just ignore the bundle version range (from the second example) and hardcode the version dependency to the current release (like you’re doing for the first example)?

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
I've got a string that has curly quotes in it. I'd like to replace
Specifically, suppose I start with the string string =hello \'i am \' me And
I am trying to render a haml file in a javascript response like so:
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

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.