You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "Richard Eckart de Castilho (JIRA)" <ji...@apache.org> on 2014/01/26 19:43:37 UTC
[jira] [Created] (CTAKES-283) Avoid duplicate generation of JCas
classes
Richard Eckart de Castilho created CTAKES-283:
-------------------------------------------------
Summary: Avoid duplicate generation of JCas classes
Key: CTAKES-283
URL: https://issues.apache.org/jira/browse/CTAKES-283
Project: cTAKES
Issue Type: Improvement
Reporter: Richard Eckart de Castilho
Various cTAKES modules run the jcasgen-maven-plugin to automatically generate JCas classes. Because the type system definitions in these modules tend to import type system definitions from the ctakes-type-system module and because currently cTAKES uses the old jcasgen-maven-plugin from ClearTK, this leads to duplicate JCas classes being generated for the imported types.
This could be fixed by upgrading to the Apache UIMA jcasgen-maven-plugin:
{noformat}
<plugin>
<groupId>org.apache.uima</groupId>
<artifactId>jcasgen-maven-plugin</artifactId>
<version>2.5.0</version>
<executions>
<execution>
<goals><goal>generate</goal></goals>
<configuration>
<typeSystemIncludes>
<typeSystemInclude>src/main/resources/org/apache/ctakes/padtermspotter/types/TypeSystem.xml</typeSystemInclude>
</typeSystemIncludes>
<limitToProject>true</limitToProject>
</configuration>
</execution>
</executions>
</plugin>
{noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)