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

Java 8 support in maven-uimafit-plugin

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0uimaFIT
    • Fix Version/s: 2.2.0uimaFIT
    • Component/s: uimaFIT-Maven-Plugin
    • Labels:
      None

      Description

      uimafit-maven-plugin chokes on some Java 8 constructions:

      [ERROR] Failed to execute goal
      org.apache.uima:uimafit-maven-plugin:2.1.0:enhance (default) on project
      de.tudarmstadt.ukp.dkpro.core.mallet-asl: Execution default of goal
      org.apache.uima:uimafit-maven-plugin:2.1.0:enhance failed:
      java.io.IOException: invalid constant type: 18 at 291 -> [Help 1]
      

      Upgrading to a new javassist version helps.

      Workaround right now:

      <plugin>
        <groupId>org.apache.uima</groupId>
        <artifactId>uimafit-maven-plugin</artifactId>
        <version>2.1.0</version>
        <dependencies>
          <dependency>
            <groupId>org.javassist</groupId>
            <artifactId>javassist</artifactId>
            <version>3.19.0-GA</version>
          </dependency>
        </dependencies>
      </plugin>
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: