You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2015/03/22 22:13:10 UTC

[jira] [Created] (UIMA-4300) Java 8 support in maven-uimafit-plugin

Richard Eckart de Castilho created UIMA-4300:
------------------------------------------------

             Summary: Java 8 support in maven-uimafit-plugin
                 Key: UIMA-4300
                 URL: https://issues.apache.org/jira/browse/UIMA-4300
             Project: UIMA
          Issue Type: New Feature
          Components: uimaFIT-Maven-Plugin
    Affects Versions: 2.1.0uimaFIT
            Reporter: Richard Eckart de Castilho
            Assignee: Richard Eckart de Castilho
             Fix For: 2.2.0uimaFIT


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

{noformat}
[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]
{noformat}

Upgrading to a new javassist version helps.

Workaround right now:

{noformat}
<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>
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)