[
https://issues.apache.org/jira/browse/UIMA-4300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Eckart de Castilho resolved UIMA-4300.
----------------------------------------------
Resolution: Fixed
> 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)