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

resolveVersionRanges crashes on system.bundle

    Details

    • Flags:
      Patch

      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.

      1. MECLIPSE-302-maven-eclipse-plugin.patch
        2 kB
        Matthew Beermann
      2. MECLIPSE-302-maven-eclipse-plugin.patch
        0.9 kB
        Matthew Beermann

        Activity

        Matthew Beermann created issue -
        Matthew Beermann made changes -
        Field Original Value New Value
        Attachment MECLIPSE-302-maven-eclipse-plugin.patch [ 28377 ]
        Matthew Beermann made changes -
        Attachment MECLIPSE-302-maven-eclipse-plugin.patch [ 28960 ]
        Arnaud HERITIER made changes -
        Fix Version/s 2.5 [ 13593 ]
        Arnaud HERITIER made changes -
        Patch attached Yes
        Arnaud HERITIER made changes -
        Component/s Dependencies resolution and build path [ 12262 ]
        Michael Osipov made changes -
        Resolution Won't Fix [ 2 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 10:00:37 UTC 2015 [ 1428228037919 ]
        Mark Thomas made changes -
        Workflow jira [ 12720710 ] Default workflow, editable Closed status [ 12750799 ]
        Mark Thomas made changes -
        Flags Patch [ 10430 ]
        Patch attached Yes [ 10860 ]
        Mark Thomas made changes -
        Patch Submitted Yes [ 10763 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 23:47:18 UTC 2015 [ 1428277638729 ]
        Mark Thomas made changes -
        Workflow jira [ 12957954 ] Default workflow, editable Closed status [ 12994726 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development