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

Java 8 support in maven-uimafit-plugin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0uimaFIT
    • 2.2.0uimaFIT
    • uimaFIT-Maven-Plugin
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: