Maven Eclipse Plugin
  1. Maven Eclipse Plugin
  2. MECLIPSE-302

resolveVersionRanges crashes on system.bundle

    Details

    • Patch Submitted:
      Yes
    • Number of attachments :
      2

      Description

      When running eclipse:make-artifacts with -DresolveVersionRanges=true, it dies with the following error:

      [INFO] Unable to resolve version range for dependency Dependency

      {groupId=system.bundle, artifactId=system.bundle, version=[0,), type=jar}

      in project org.apache.xml.org.apache.xml.resolver

      It turns out that "system.bundle" is a keyword in OSGi that (broadly speaking) refers to the JRE itself, and thus need not/should not be included in the POM as a dependency. I've got a patch for this coming up in a moment.

        Activity

        Hide
        Matthew Beermann added a comment -

        This did the trick for me.

        Show
        Matthew Beermann added a comment - This did the trick for me.
        Hide
        Matthew Beermann added a comment -

        Updated patch, add test cases

        Show
        Matthew Beermann added a comment - Updated patch, add test cases

          People

          • Assignee:
            Unassigned
            Reporter:
            Matthew Beermann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: