Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-3510

get uimaj-ep-cas-editor to build after deleting .m2 org.eclipse

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.2SDK
    • Fix Version/s: 2.5.0SDK
    • Component/s: Eclipse plugins
    • Labels:
      None

      Description

      After deleting the .m2 repo node org/eclipse, tried to build eclipse plugins and found the cas-editor was failing because it was trying to download a dependency on org.eclipse.equinox:app version 1.0.0. The one in the repo is at version 1.0.0-v20070606.

      I vaguely recall some slight upgrade in more recent Maven impls that slightly changed the matching rules for these kinds of things. Anyways, it now doesn't match or work.

      This wasn't noticed by me because I had never deleted the org/eclipse directory in my local maven repo before.

      The fix seems to be simple: I added an explicit dependency in the POM for this using a version range which got that version with the -v20070606 suffix. Because it was there in the .m2 repo, some other part of maven dependency was successful in resolving it.

        Attachments

          Activity

            People

            • Assignee:
              schor Marshall Schor
              Reporter:
              schor Marshall Schor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: