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

Make meta data discovery compatible with fat jars

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0uimaFIT
    • Fix Version/s: 2.1.0uimaFIT
    • Component/s: uimaFIT
    • Labels:
      None

      Description

      Most fat jar approaches, e.g. Maven assembly, have problems with resources at the same location in the classpath in multiple JARs. E.g. if two JARs being bundled into a fat jar have a types.txt file, only one survives.

      One option to fix this would be to change the pattern that uimaFIT uses to search for these files, e.g. from classpath*:META-INF/org.apache.uima.fit/types.txt to classpath*:META-INF/org.apache.uima.fit/**/types.txt

        Attachments

          Activity

            People

            • Assignee:
              rec Richard Eckart de Castilho
              Reporter:
              rec Richard Eckart de Castilho
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: